public void InitializeGame() { isPlaying = true; leftDebrisNum = debriMax; shootNum = 0; playTime = 0.0f; DebrisMaker.GetInstance().DebrisMake(); }
void Start() { if (_instance == null) { _instance = this; } else { Destroy (gameObject); } }
void Start() { if (_instance == null) { _instance = this; } else { Destroy(gameObject); } }