コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     if (b.getDead())
     {
         CancelInvoke("spawnPlatforms");
     }
 }
コード例 #2
0
 // Update is called once per frame
 void Update()
 {
     if (ball.getDead() == true && !played)
     {
         nope.Play();
         played = true;
     }
 }