private void OnReset_System() { ComDebug.Log(string.Format("OnReset_Prev > {0}", this.GetType())); OnReset(); if (init == false) { OnInit_System(); OnRegister(); OnStart(); } }
public void Process(int id, ComProcEntity entity) { ProcInfo pi = GetProcInfo(id); if (pi == null) { ComDebug.Log(string.Format("{0}.Process : pi = null", this.GetType().ToString())); return; } Mono.StartCoroutine(entity.OnProcess(pi)); }
} // not use this function public override IEnumerator OnProcess(ProcInfo pi) { string form = ""; if (OnMakeDataForm(ref form)) { OnSuccess(form); } else { ComDebug.Log(string.Format("{0}.OnMakeDataForm = false : {1}", this.GetType().ToString(), errorMsg)); yield break; } if (string.IsNullOrEmpty(errorMsg) == false) { ComDebug.Log(string.Format("{0}.OnSuccess = false : {1}", this.GetType().ToString(), errorMsg)); yield break; } yield return(null); }
public virtual void OnDisable() { ComDebug.Log(string.Format("OnDisable > {0}", this.GetType())); }
private void OnInit_System() { ComDebug.Log(string.Format("OnInit_Prev > {0}", this.GetType())); init = OnInit(); }
// call by user (optional) public virtual void OnReset() { ComDebug.Log(string.Format("OnReset > {0}", this.GetType())); }
public virtual bool OnInit() { ComDebug.Log(string.Format("OnInit > {0}", this.GetType())); return(true); }
public virtual void OnWaitForEndOfFrame() { ComDebug.Log(string.Format("OnWaitForEndOfFrame > {0}", this.GetType())); }
public virtual void OnMessage(object arg) { ComDebug.Log(string.Format("OnMessage > {0}", this.GetType())); }
public virtual void OnPause(bool isPause) { ComDebug.Log(string.Format("OnPause > {0}", this.GetType())); }
public void OnDestroy() { ComDebug.Log(string.Format("OnDestroy > {0}", this.GetType())); init = false; OnRelease(); }
public void Log() { ComDebug.Log("ComUIManager Log"); }