// Note, we should be greying out the job assigner screen. public void OnPlayerSelected() { mState = EDITOR_STATE.SPLAYERSELECTED; rJobAssigner.gameObject.SetActive(true); rJobAssigner.FSetDropdownValues(); rJobAssigner.mState = PE_JobAssigner.ASSIGNER_STATE.SNEW_PLAYER_SELECTED; }
void Start() { cLoader = GetComponent <PE_PlayLoader>(); cSaver = GetComponent <PE_PlaySaver>(); cJobDisplayer = GetComponent <PE_DisplayPlayJobs>(); mState = EDITOR_STATE.SNOTHINGSELECTED; }
public void OnPlayerDeselected() { mState = EDITOR_STATE.SNOTHINGSELECTED; rJobAssigner.mState = PE_JobAssigner.ASSIGNER_STATE.SNONE_SELECTED; rJobAssigner.gameObject.SetActive(false); }