Exemplo 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;
    }
Exemplo n.º 2
0
    private void InitUI()
    {
        m_transform = transform;

        m_window   = m_transform.FindChild("ScreenShot/Anchor_Center/Window");
        m_uiWindow = new UIWindow(this, m_transform.FindChild("UI").gameObject);

        m_baseMaterial = AssetBundleEx.Load <Material>("[Materials]/[PhotoStudio]/Mat_PhotoStudio_Result");

        m_uiTexture          = m_window.FindChild("ScreenShot").GetComponent <UITexture>();
        m_uiTexture.material = Instantiate(m_baseMaterial) as Material;

        m_edge = m_window.FindChild("Edge").GetComponent <UISprite>();

        SetUISize(BASE_SCALE);

        m_workTimeline = new PhotoStudioWorkTimeline(this);
    }