private void InitStoryComponent() { moduleStory = Module_Story.instance; modulePVE = Module_PVE.instance; moduleTeam = Module_Team.instance; //UIManager.worldCamera.GetComponentDefault<_CameraShake>(); m_baseDialogCg = GetComponent <CanvasGroup>(); InitEffectNode(); InitComponent(); AddEvent(); }
private Module_Team() : base(true) { if (m_instance != null) { throw new Exception("Can not create " + GetType().Name + " twice."); } m_instance = this; pingInterval = 1.0f; }
public LoadParamTeam(Module_Team rModuleTeam) { moduleTeam = rModuleTeam; }
protected override void OnDestroy() { base.OnDestroy(); m_instance = null; }