void Awake() { if (viewController == null) viewController = this; else if (viewController != this) Destroy(gameObject); DontDestroyOnLoad(this); }
void Awake() { if (viewController == null) viewController = this; else if (viewController != this) Destroy(gameObject); DontDestroyOnLoad(this); }