Пример #1
0
 // 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;
 }
Пример #2
0
    void Start()
    {
        cLoader       = GetComponent <PE_PlayLoader>();
        cSaver        = GetComponent <PE_PlaySaver>();
        cJobDisplayer = GetComponent <PE_DisplayPlayJobs>();

        mState = EDITOR_STATE.SNOTHINGSELECTED;
    }
Пример #3
0
 public void OnPlayerDeselected()
 {
     mState = EDITOR_STATE.SNOTHINGSELECTED;
     rJobAssigner.mState = PE_JobAssigner.ASSIGNER_STATE.SNONE_SELECTED;
     rJobAssigner.gameObject.SetActive(false);
 }