Пример #1
0
    public void Take(GameObject item)
    {
        IPickable pickable = item.GetComponent(typeof(IPickable)) as IPickable;

        pickable.Grab(_itemPosition);

        _grabing = item;
    }