Пример #1
0
    void MouseClickDown(GameObject reciver)
    {
        IClickable item = (IClickable)reciver.GetComponent(typeof(IClickable));

        if (item != null)
        {
            item.OnClickDown();
            RegisterClick(reciver);
            mouseDownScreenPos = Input.mousePosition;
        }
    }