Start() public method

public Start ( ) : void
return void
Beispiel #1
0
 void Update()
 {
     if (mov.inGame)
     {
         return;
     }
     if (Input.GetKey(KeyCode.Space))
     {
         player.isKinematic = false;
         mov.inGame         = true;
         tapText.gameObject.SetActive(false);
         mov.Start();
     }
 }