// Use this for initialization void Start() { mProcessBattle = GetComponentInChildren <ProcessBattle>(); mProcessCardDetail = GetComponentInChildren <ProcessCardDetail>(); mProcessCardSelect = GetComponentInChildren <ProcessCardSelect>(); mProcessLoading = GetComponentInChildren <ProcessLoading>(); mProcessDump = GetComponentInChildren <ProcessDump>(); mCurrentProcess = mProcessLoading; //mCurrentProcess = mProcessLoading; mCurrentProcess.SceneStart(); }
void Awake() { processBattle = GetComponentInParent <ProcessBattle>(); }