internal FFEngine() { s_instance = this; _gameManager = new RpgGameManager(); _uiManager = new UIManager(); _eventManager = new EventManager(); _inputManager = new InputManager(); }
public void Awake() { if (GameManager.instance == null) { instance = this; } else if (this != instance) { Destroy(this.gameObject); } }