//gets the manager to spawn the button's associated prefab
 public void Hit(Vector3 clickposition)
 {
     manager.SpawnPrefab(prefab, ScaleHand.Left);
     Reaction();
 }
Exemplo n.º 2
0
 //gets the manager to spawn the button's associated prefab
 protected override void Click(Vector3 clickposition)
 {
     manager.SpawnPrefab(prefab, ScaleHand.Left);
     Reaction();
 }