Exemple #1
0
        public void Dispose()
        {
            EnableUpdate = false;

            EnableFixedUpdate = false;

            GameplayKit.UnregisterGameplayKitObject(this);
        }
Exemple #2
0
 protected virtual void UnregisterFixedUpdate()
 {
     GameplayKit.UnregisterOnFixedUpdateEvent(OnFixedUpdate);
 }
Exemple #3
0
 protected virtual void RegisterUpdate()
 {
     GameplayKit.RegisterOnUpdateEvent(OnUpdate);
 }
Exemple #4
0
 public GameplayKitObject()
 {
     GameplayKit.RegisterGameplayKitObject(this);
 }