Esempio n. 1
0
    private void InputDropActionCalled(GameObject obj)
    {
        if (ActiveActor == null)
        {
            return;
        }

        if (ActiveActor.GetComponentInChildren <SmallRobot>() is SmallRobot robi)
        {
            robi.BiteOrSteal(ActiveActor, obj);
        }
        else
        {
            ActiveActor.ActivateTertiaryAbility(ActiveActor, ActiveActor.PositionTile.gameObject);
        }
    }