private void SetupMemberVariables(SerializedProperty property, GUIContent label) { names = property.FindPropertyRelative("names"); asSlug = property.FindPropertyRelative("asSlug"); if (namesList == null) { namesList = new CustomFileNameReorderableList(names, asSlug, label); } }
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")); }