Exemplo n.º 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,
            };
        }
Exemplo n.º 2
0
 public static void MigrationMaterial(MigrationParameter param)
 {
     MigrationMaterial(param.materials);
 }
Exemplo n.º 3
0
 public bool RenameOldNameProperties(MigrationParameter param)
 {
     return(RenameOldNameProperties(param.materials));
 }
Exemplo n.º 4
0
 private void OnEnable()
 {
     minSize = new Vector2(480, 640);
     param   = MigrationParameter.Create();
     ToolCommon.GetSelectedMaterials(ref param.materials);
 }