Beispiel #1
0
 public void setObject(Trap trapObject)
 {
     trap = trapObject;
     cannot.GetComponent <SpriteRenderer> ().sprite = can.GetComponent <SpriteRenderer> ().sprite = trap.GetComponent <SpriteRenderer> ().sprite;
 }