Пример #1
0
    void GotSlapped(GameObject target, PlayerEvents.AttackEvent e)
    {
        Roboter thisRoboter = target.GetComponent <Roboter>();

        if (thisRoboter == this)
        {
            print(robotName + " got slapped with the force of " + e.Dmg);
            TakeDamage(e.Dmg);
        }
    }
Пример #2
0
 public Builder(Welt w)
 {
     robo = new Roboter(w);
 }