Click or drag to resize
GameEventBehaviourOnGameChanged Method
Removes all listeners from the old game, and adds them for the new game.

Namespace: Slash.Unity.Common.ECS
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
protected void OnGameChanged(
	Game newGame,
	Game oldGame
)

Parameters

newGame
Type: Slash.Application.GamesGame
Game to register as listeners for.
oldGame
Type: Slash.Application.GamesGame
Game to remove listeners from.
See Also