void Start() { if (!gameController) { gameController = GameController_Basket.Instance; } }
// main event void Awake() { // activate instance if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(gameObject); } }