コード例 #1
0
ファイル: ButtonScript.cs プロジェクト: ilhaeYe/RITS
 public void ButtonClicked()
 {
     if (!used)
     {
         used = true;
         foreach (GameObject obj in targets)
         {
             BlockScript bs = obj.GetComponent <BlockScript>();
             bs.DoButtonLogic();
         }
     }
 }