 | GameEventBehaviourOnGameChanged Method |
Removes all listeners from the old game, and adds them for the new game.
Namespace: Slash.Unity.Common.ECSAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntaxprotected void OnGameChanged(
Game newGame,
Game oldGame
)
Protected Sub OnGameChanged (
newGame As Game,
oldGame As Game
)
protected:
void OnGameChanged(
Game^ newGame,
Game^ oldGame
)
member OnGameChanged :
newGame : Game *
oldGame : Game -> unit
Parameters
- newGame
- Type: Slash.Application.GamesGame
Game to register as listeners for. - oldGame
- Type: Slash.Application.GamesGame
Game to remove listeners from.
See Also