void OnMouseDown() { Debug.Log("Clicked"); if (currentRecruit != null) { recruitDoorObject = this; RecruitManager.instance.OpenRecruitMenuWithText(currentRecruit, recruitDoorObject); } }
public void OpenRecruitMenuWithText(Recruit recruit, RecruitDoorManager recruitObject) { recruitMenu.SetActive(true); currentRecruit = recruit; PopulateMenu(recruit); }