コード例 #1
0
ファイル: Target.cs プロジェクト: ZidaneDC/CPSC245_Project1
 //When clicked on, targets will register as being hit and send information to LevelLogic
 private void OnMouseDown()
 {
     isHit = true;
     Debug.Log("Target Hit!");
     levelLogic.Hit(this.gameObject);
 }