public override void OnEnable() { base.OnEnable(); createEmbeddedFolder = serializedObject.FindProperty("createEmbeddedFolder"); folderName = serializedObject.FindProperty("folderName"); allSettings = serializedObject.FindProperty("allSettings"); folderNameAnimation = new AnimBool(createEmbeddedFolder.boolValue, Repaint); allSettingsAnimation = new AnimBool(true, Repaint); allSettingsList = new ChildBuildSettingReorderableList(target, allSettings, new GUIContent("All Settings")); }
public override void OnEnable() { base.OnEnable(); rootBuildFolder = serializedObject.FindProperty("rootBuildFolder"); newBuildFolderName = serializedObject.FindProperty("newBuildFolderName"); onBuildFailed = serializedObject.FindProperty("onBuildFailed"); onBuildCancelled = serializedObject.FindProperty("onBuildCancelled"); allSettings = serializedObject.FindProperty("allSettings"); buildSettingsAnimation = new AnimBool(true, Repaint); interruptionsAnimation = new AnimBool(true, Repaint); newBuildFolderNameList = new CustomFileNameReorderableList(newBuildFolderName, new GUIContent("New Build Folder Name")); childBuildSettingsList = new ChildBuildSettingReorderableList(this.target, allSettings, new GUIContent("All Settings")); }