Exemple #1
0
        private void OnEnable()
        {
            minSize = new Vector2(480, 640);
            param   = ScriptableObject.CreateInstance <MigrationParameter>();
            if (0 < arguments.Count)
            {
                param.materials = arguments.ToArray();
            }

            styleTitle = new GUIStyle(EditorStyles.boldLabel)
            {
                fontSize    = 18,
                fontStyle   = FontStyle.Bold,
                fixedHeight = 32,
            };
            styleBigText = new GUIStyle(EditorStyles.boldLabel)
            {
                fontSize    = 16,
                fontStyle   = FontStyle.Bold,
                fixedHeight = 32,
            };
        }
Exemple #2
0
 public static void MigrationMaterial(MigrationParameter param)
 {
     MigrationMaterial(param.materials);
 }
Exemple #3
0
 public bool RenameOldNameProperties(MigrationParameter param)
 {
     return(RenameOldNameProperties(param.materials));
 }
Exemple #4
0
 private void OnEnable()
 {
     minSize = new Vector2(480, 640);
     param   = MigrationParameter.Create();
     ToolCommon.GetSelectedMaterials(ref param.materials);
 }