public void Dispose() { EnableUpdate = false; EnableFixedUpdate = false; GameplayKit.UnregisterGameplayKitObject(this); }
protected virtual void UnregisterFixedUpdate() { GameplayKit.UnregisterOnFixedUpdateEvent(OnFixedUpdate); }
protected virtual void RegisterUpdate() { GameplayKit.RegisterOnUpdateEvent(OnUpdate); }
public GameplayKitObject() { GameplayKit.RegisterGameplayKitObject(this); }