private void Awake() { if (instance == this) { Destroy(this); } else { instance = this; } DontDestroyOnLoad(this); }
private void Start() { GameInitializer = GameInitializer.instance; IdController = IdController.instance; TypeController = TypeController.instance; }