コード例 #1
0
 void Start()
 {
     if (CompareTag("TargetBlock"))
     {
         Lives++;
         UI.ChangeLives(Lives);
     }
     else
     {
         NumberOfBlocks++;
     }
 }