Пример #1
0
        void OnEnable()
        {
            //set up other class instances
            userSettings = IFXToolsUserSettings.GetUserSettings();
            userSettings.LoadUserSettings();
            thumbnailToolInstance = new IFXThumbnailTool();
            bundleTools           = (IFXBundleTools )ScriptableObject.CreateInstance(typeof(IFXBundleTools));
            bundleTools.Init(userSettings);

            //other
            bundlesBuilding = false;

            //Set defualt checkmarks
            buildQACheckOverride = false;
            windowsBuildYesNo    = true;
            androidBuildYesNo    = true;
            iOSBuildYesNo        = true;
            altCenterMethod      = false;
            hardResetCache       = false;

            //disable auto git for non content team mode
            if (userSettings.CTMode())
            {
                autoGitYesNo = true;
            }
            else
            {
                autoGitYesNo = false;
            }
        }
 public void Init(IFXBundleTools BundleToolIN)
 {
     bundleTool = BundleToolIN;
 }