public void MoveTo(eGameStep eStep) { if (false == IsExistStep(eStep)) { Debug.LogWarningFormat("SHGameStep:MoveStep() - Not Register Step : {0}", eStep); return; } m_eMoveTo = eStep; m_dicSteps[m_eMoveTo].m_eStep = m_eMoveTo; m_dicSteps[m_eMoveTo].Awake(); }
private void ChangeStep() { if (eGameStep.None == m_eMoveTo) { return; } if (false == IsExistStep(m_eMoveTo)) { return; } if (true == IsExistStep(m_eCurrentStep)) { m_dicSteps[m_eCurrentStep].FinalStep(); } m_iCallCnt = 0; m_eBeforeStep = m_eCurrentStep; m_eCurrentStep = m_eMoveTo; m_eMoveTo = eGameStep.None; m_dicSteps[m_eCurrentStep].InitialStep(); }
public void DirectMoveTo(eGameStep eMoveStep) { Single.GameStep.DirectMoveTo(eMoveStep); }
} // Step이 Resume될때 #endregion #region System Functions #endregion #region Interface Functions public void MoveTo(eGameStep eMoveStep) { Single.GameStep.MoveTo(eMoveStep); }
private bool IsExistStep(eGameStep eStep) { return(m_dicSteps.ContainsKey(eStep)); }
public void DirectMoveTo(eGameStep eStep) { MoveTo(eStep); ChangeStep(); }