public void LateUpdate() { if (GameEnvironment.Instance.Platform == GamePlatform.iOS) { appdomain.Invoke(i_lateUpdateMethod, null, p0); } else { m_lateUpdateMethod.Invoke(null, null); } }
public void HotFixAwake() { if (GameEnvironment.Instance.Platform == GamePlatform.iOS) { appdomain.Invoke(MainClassName, "Main", null, null); } else { m_mainMethod.Invoke(null, null); } }
public override void Destroy() { if (destroyMethod != null) { destroyMethod.Invoke(null, null); } assembly = null; mainMethod = null; updateMethod = null; fixedUpdateMethod = null; lateUpdateMethod = null; destroyMethod = null; }
public void DestroyManager() { IsActiveMonoMethod = false; if (codeStream != null) { codeStream.Close(); codeStream = null; } if (appdomain != null) { appdomain.Invoke(MainClassName, "Destroy", null, null); appdomain = null; } if (assembly != null) { m_DestroyMethod.Invoke(null, null); assembly = null; } p0 = null; i_updateMethod = null; i_fixedUpdateMethod = null; i_lateUpdateMethod = null; m_mainMethod = null; m_updateMethod = null; m_fixedUpdateMethod = null; m_lateUpdateMethod = null; m_DestroyMethod = null; Instance = null; }
public override void FixedUpdate() { lateUpdateMethod.Invoke(null, null); }
public override void Awake() { mainMethod.Invoke(null, null); }