Exemplo n.º 1
0
 //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);
 }