Ejemplo n.º 1
0
    void BtnPersonalOnClick(PointerEventData eventData, UI_Event ev)
    {
        //CloseScreen();
        UIPersonal ui_personal = MenuManager.instance.CreateMenu <UIPersonal>();

        ui_personal.OpenScreen();
    }
Ejemplo n.º 2
0
    void OnEnable()
    {
        Instance = this;

        DoInfoInInit();

        SetShowState(ShowState.HeadInState);
        EventCenter.AddListener((Int32)GameEventEnum.GameEvent_PersonInitInfo, SetCurrentDate);
    }
Ejemplo n.º 3
0
    void OnEnable()
    {
        Instance = this;

        DoInfoInInit();
        //TweenPosition.Begin(gameObject, 0.5f, new Vector3(-46, 0, 0));
        SetShowState(ShowState.HeadInState);
        EventCenter.AddListener(EGameEvent.eGameEvent_PersonInitInfo, SetCurrentDate);
    }
Ejemplo n.º 4
0
 void OnDisable()
 {
     Instance = null;
     EventCenter.RemoveListener((Int32)GameEventEnum.GameEvent_PersonInitInfo, SetCurrentDate);
 }
Ejemplo n.º 5
0
 void OnDisable()
 {
     Instance = null;
     EventCenter.RemoveListener(EGameEvent.eGameEvent_PersonInitInfo, SetCurrentDate);
 }