Пример #1
0
    bool HandleCarryActions(IInteractive interact, Dictionary <string, string> actions)
    {
        bool   executed  = false;
        string actionKey = FindActionKeyDown(actions);

        if (actionKey != null)
        {
            interact.ExecuteCarryAction(actions[actionKey], gameObject);
            executed = true;
        }

        return(executed);
    }