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