public void ActionCleanTrash(Table table) { ActionCleanTrash action = actionManager.AddAction <ActionCleanTrash>(); if (action) { action.table = table; } }
private void OnMouseUpAsButton() { ActionCleanTrash playerAction = GameManager.instance.localPlayer.GetComponent <ActionCleanTrash>(); if (!playerAction) { return; } playerAction.SetWasher(this); }