Beispiel #1
0
        public DeployTabView(FinalPatchManagerWindow managerWindow)
        {
            m_managerWindow = managerWindow;
            LoadDeployData(PlayerPrefs.GetString(FinalPatchConst.KEY_DEPLOY_DATA));

            m_contentOptions = new GUILayoutOption[]
            {
                GUILayout.Width(25),
                GUILayout.Height(25),
            };
            m_contentEdit    = new GUIContent(Resources.Load <Texture2D>("edit"));
            m_contentDelete  = new GUIContent(Resources.Load <Texture2D>("delete"));
            m_contentSave    = new GUIContent(Resources.Load <Texture2D>("save"));
            m_contentDiscard = new GUIContent(Resources.Load <Texture2D>("discard"));
            Localization.OnLanguageChanged += OnLocalizationChanged;
            OnLocalizationChanged();
        }
Beispiel #2
0
 public BuildTabView(FinalPatchManagerWindow managerWindow)
 {
     m_managerWindow  = managerWindow;
     m_contentOptions = new GUILayoutOption[]
     {
         GUILayout.Width(25),
         GUILayout.Height(25),
     };
     m_contentBuild   = new GUIContent(Resources.Load <Texture2D>("make"));
     m_contentCopy    = new GUIContent(Resources.Load <Texture2D>("copy"));
     m_contentReveal  = new GUIContent(Resources.Load <Texture2D>("reveal"));
     m_contentEdit    = new GUIContent(Resources.Load <Texture2D>("edit"));
     m_contentDelete  = new GUIContent(Resources.Load <Texture2D>("delete"));
     m_contentSave    = new GUIContent(Resources.Load <Texture2D>("save"));
     m_contentDiscard = new GUIContent(Resources.Load <Texture2D>("discard"));
     Localization.OnLanguageChanged += OnLocalizationChanged;
     OnLocalizationChanged();
 }
Beispiel #3
0
 public AdvancedTabView(FinalPatchManagerWindow managerWindow)
 {
     m_managerWindow  = managerWindow;
     m_contentOptions = new GUILayoutOption[]
     {
         GUILayout.Width(25),
         GUILayout.Height(25),
     };
     m_contentBrowse                 = new GUIContent(Resources.Load <Texture2D>("browse"));
     m_contentReveal                 = new GUIContent(Resources.Load <Texture2D>("reveal"));
     m_contentAssetPath              = new GUIContent();
     m_contentExtractDuplicated      = new GUIContent();
     m_contentBundleOffset           = new GUIContent();
     m_contentBuildCallback          = new GUIContent();
     m_contentPathConverter          = new GUIContent();
     m_contentAutoPatch              = new GUIContent();
     m_contentAutoRelease            = new GUIContent();
     m_contentApplyEditorMode        = new GUIContent();
     Localization.OnLanguageChanged += OnLocalizationChanged;
     OnLocalizationChanged();
 }