Ejemplo n.º 1
0
    public void Release()
    {
        m_state      = null;
        m_guiManager = null;

        m_transform = null;

        m_window         = null;
        m_emojiItemGroup = null;

        m_uiWindow = null;

        m_uiTexture = null;
        m_edge      = null;

        m_baseMaterial = null;

        m_screenShot = null;

        m_selectFilter = null;
        m_workTimeline = null;

        m_emojiItem = null;

        m_emojiItemList   = null;
        m_installItemList = null;
    }
Ejemplo n.º 2
0
        private void OnItemClick(GameObject obj)
        {
            State_PhotoStudio state = (State_PhotoStudio)StateManager.instance.m_curState;

            if (state.m_guiManager.CheckButtonActive)
            {
                if (m_dogInfo == null)
                {
                    DogListManager.instance.m_iValue.Clear();

                    List <PhotoStudioCharacterInfo> infoList = state.GetDogInfoList;
                    for (int i = 0; i < infoList.Count; i++)
                    {
                        DogListManager.instance.m_iValue.Add(infoList[i].m_dog.m_dogID);
                    }

                    DogListManager.instance.SetOpenWalkDogSelect(SelectDogListCB, true, DOG_SELECT_TYPE.PHOTOSTUDIO);
                }
                else
                {
                    if (m_dogInfo.Equals(state.GetSelectDogInfo) == false)
                    {
                        state.SetSelectDog(m_dogInfo);
                    }
                }
            }
        }
Ejemplo n.º 3
0
 private void SelectDogListCB(int dogID)
 {
     if (dogID > -1)
     {
         State_PhotoStudio state = (State_PhotoStudio)StateManager.instance.m_curState;
         state.AddDogList(dogID);
     }
 }
Ejemplo n.º 4
0
    public void Init()
    {
        m_state      = (State_PhotoStudio)StateManager.instance.m_curState;
        m_guiManager = m_state.m_guiManager;

        InitUI();
        InitEmojiList();

        ClosePopup();
    }
Ejemplo n.º 5
0
    public void Init(State_PhotoStudio state)
    {
        m_state = state;

        m_transform = transform;

        m_uiCamera  = m_transform.FindChild("UICamera").GetComponent <Camera>();
        m_dogCamera = GameObject.Find("DirectionCamera").GetComponent <Camera>();

        m_titleLabel = m_transform.FindChild("UI_S02_Panel/Top/Title_Group/Title/Title").GetComponent <UILabel>();

        InitDogIcon();
        InitButton();
        InitDirection();
        InitPopup();

        UpdateText("");
    }
Ejemplo n.º 6
0
    public void Release()
    {
        m_state     = null;
        m_transform = null;

        m_uiCamera  = null;
        m_dogCamera = null;

        m_directionGroup = null;
        m_dogIconArray   = null;

        m_uiBackgroundSelectPopup = null;

        if (m_uiPhotoStudioResult != null)
        {
            m_uiPhotoStudioResult.Release();
        }
        m_uiPhotoStudioResult = null;

        m_titleLabel = null;
    }