Ejemplo n.º 1
0
        public void ActionCleanTrash(Table table)
        {
            ActionCleanTrash action = actionManager.AddAction <ActionCleanTrash>();

            if (action)
            {
                action.table = table;
            }
        }
Ejemplo n.º 2
0
        private void OnMouseUpAsButton()
        {
            ActionCleanTrash playerAction = GameManager.instance.localPlayer.GetComponent <ActionCleanTrash>();

            if (!playerAction)
            {
                return;
            }

            playerAction.SetWasher(this);
        }