Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
    private Module_Team() : base(true)
    {
        if (m_instance != null)
        {
            throw new Exception("Can not create " + GetType().Name + " twice.");
        }

        m_instance = this;

        pingInterval = 1.0f;
    }
Exemplo n.º 3
0
 public LoadParamTeam(Module_Team rModuleTeam)
 {
     moduleTeam = rModuleTeam;
 }
Exemplo n.º 4
0
    protected override void OnDestroy()
    {
        base.OnDestroy();

        m_instance = null;
    }