private void InitPopup() { m_uiBackgroundSelectPopup = new UIBackgroundSelectPopup(this, m_transform.FindChild("UI_S07_Panel").gameObject); m_uiPhotoStudioResult = m_transform.FindChild("UI_S16_Panel").GetComponent <UIPhotoStudioResult>(); m_uiPhotoStudioResult.Init(); }
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; }