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; }
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); } } } }
private void SelectDogListCB(int dogID) { if (dogID > -1) { State_PhotoStudio state = (State_PhotoStudio)StateManager.instance.m_curState; state.AddDogList(dogID); } }
public void Init() { m_state = (State_PhotoStudio)StateManager.instance.m_curState; m_guiManager = m_state.m_guiManager; InitUI(); InitEmojiList(); ClosePopup(); }
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(""); }
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; }