Пример #1
0
        private void Awake()
        {
            instance = this;

            //TODO
            m_game = new CFTGame();
        }
Пример #2
0
 private void OnDestroy()
 {
     CFTGame.UnregisterEntity(this);
     OnOnDestroy();
 }
Пример #3
0
 private void Start()
 {
     CFTGame.RegisterEntity(this);
     OnStart();
 }