Beispiel #1
0
    public void InitializeGame()
    {
        isPlaying     = true;
        leftDebrisNum = debriMax;
        shootNum      = 0;
        playTime      = 0.0f;

        DebrisMaker.GetInstance().DebrisMake();
    }
Beispiel #2
0
 void Start()
 {
     if (_instance == null)
     {
         _instance = this;
     }
     else
     {
         Destroy (gameObject);
     }
 }
 void Start()
 {
     if (_instance == null)
     {
         _instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }