} //Singleton private void Awake() { if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(gameObject); } }
public MainPageController() { _mainM = new MainPageManager(); }