private void CreateFolderInNewPrefab(InAudioNode parent) { InAudioWindowOpener.ShowNewDataWindow((gameObject => { var node = AudioNodeWorker.CreateChild(gameObject, parent, AudioNodeType.Folder); node.Name += " (External)"; (node._nodeData as InFolderData).ExternalPlacement = true; })); }
private void CreateFolderInNewPrefab(InMusicNode parent) { InAudioWindowOpener.ShowNewDataWindow((gameObject => { var node = MusicWorker.CreateFolder(gameObject, parent); node._name += " (External)"; node._externalPlacement = true; })); }
private void CreateFolderInNewPrefab(InAudioEventNode parent) { InAudioWindowOpener.ShowNewDataWindow((gameObject => { InUndoHelper.DoInGroup(() => { var node = AudioEventWorker.CreateNode(parent, gameObject, EventNodeType.Folder); node.Name += " (External)"; node.PlacedExternaly = true; }); })); isDirty = true; }