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

            EnableFixedUpdate = false;

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