Ejemplo n.º 1
0
        protected void OnMouseDown()
        {
            if (worker != null)
            {
                return;
            }

            // Get the next worker from the Family Manager
            worker = familyManager.GetNextFamilyMember();

            if (worker != null)
            {
                StartCoroutine(AssignWorker());
            }
        }