Click or drag to resize
GameEventBehaviour Class
Mono behaviour that registers as listener for specific game logic events.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Slash.Unity.Common.ECSGameEventBehaviour

Namespace: Slash.Unity.Common.ECS
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public class GameEventBehaviour : MonoBehaviour

The GameEventBehaviour type exposes the following members.

Constructors
  NameDescription
Public methodGameEventBehaviour
Initializes a new instance of the GameEventBehaviour class
Top
Properties
  NameDescription
Protected propertyGame
Current game instance.
Top
Methods
  NameDescription
Protected methodAwake
Allows registering as listener for specific game logic events.
Protected methodOnDestroy
Removes all listeners.
Protected methodOnGameChanged
Removes all listeners from the old game, and adds them for the new game.
Protected methodRegisterListener
Registers for the specified event at any future FreudBot games that might start.
Protected methodRegisterListeners
Method to register for the required events in derived behaviours.
Top
See Also