C# Class SoundtrackEditor.GuiManager

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: pizzaoverhead/SoundtrackEditor

Méthodes publiques

Свойство Type Description
PreviewSpeaker UnityEngine.AudioSource

Protected Properties

Свойство Type Description
audioPreviewWindowPos UnityEngine.Rect
editorWindowPos UnityEngine.Rect
mainWindowPos UnityEngine.Rect
playbackWindowPos UnityEngine.Rect
playlistWindowPos UnityEngine.Rect

Méthodes publiques

Méthode Description
AudioDBFileGui ( AudioLoader audioFile ) : void
AudioPreviewGui ( AudioClip clip ) : void
AudioPreviewGui ( int windowID ) : void

Draws a tool to preview available AudioClips.

EditorGui ( int windowId ) : void
OnAppLauncherDestroyed ( ) : void

Addon button (toolbar on the right) destroyed.

OnAppLauncherReady ( ) : void

Addon button (toolbar on the right) ready(?).

OnGUI ( ) : void

GUI draw event. Called (at least once) each frame.

OnHideUI ( ) : void

Toggled on F2.

OnShowUI ( ) : void

Toggled on F2.

PickerGuiCollapsed ( string name, bool sectionExpanded ) : bool
PlaylistGui ( int windowID ) : void

Draws a playlist viewer and editor GUI.

PreviewClipButton ( AudioClip clip ) : void
Start ( ) : void

First code called at the time specified by the class' attribute. Instant (during KSP's initial load) and only once per game session.

Private Methods

Méthode Description
CameraModePicker ( ) : void
CloseGuiAppLauncher ( ) : void
FadeEditor ( ) : void
InAtmospherePicker ( ) : void
MainGui ( int windowID ) : void
OpenGuiAppLauncher ( ) : void
PlayAfterPicker ( ) : void
PlayBeforePicker ( ) : void
PlayNextPicker ( ) : void
PlaybackGui ( int windowID ) : void

Draws a mini audio player with playback controls and track listing.

PlaylistPicker ( ) : bool
ScenePicker ( ) : void
SetUpDbPlayer ( ) : void

Creates an AudioSource for use in previewing sound effects.

SituationPicker ( ) : void
TimeOfDayPicker ( ) : void
TrackPicker ( ) : void
TrackPickerGui ( string trackName, AudioClip clip ) : void

Method Details

AudioDBFileGui() public méthode

public AudioDBFileGui ( AudioLoader audioFile ) : void
audioFile AudioLoader
Résultat void

AudioPreviewGui() public méthode

public AudioPreviewGui ( AudioClip clip ) : void
clip UnityEngine.AudioClip
Résultat void

AudioPreviewGui() public méthode

Draws a tool to preview available AudioClips.
public AudioPreviewGui ( int windowID ) : void
windowID int
Résultat void

EditorGui() public méthode

public EditorGui ( int windowId ) : void
windowId int
Résultat void

OnAppLauncherDestroyed() public méthode

Addon button (toolbar on the right) destroyed.
public OnAppLauncherDestroyed ( ) : void
Résultat void

OnAppLauncherReady() public méthode

Addon button (toolbar on the right) ready(?).
public OnAppLauncherReady ( ) : void
Résultat void

OnGUI() public méthode

GUI draw event. Called (at least once) each frame.
public OnGUI ( ) : void
Résultat void

OnHideUI() public static méthode

Toggled on F2.
public static OnHideUI ( ) : void
Résultat void

OnShowUI() public static méthode

Toggled on F2.
public static OnShowUI ( ) : void
Résultat void

PickerGuiCollapsed() public méthode

public PickerGuiCollapsed ( string name, bool sectionExpanded ) : bool
name string
sectionExpanded bool
Résultat bool

PlaylistGui() public méthode

Draws a playlist viewer and editor GUI.
public PlaylistGui ( int windowID ) : void
windowID int
Résultat void

PreviewClipButton() public méthode

public PreviewClipButton ( AudioClip clip ) : void
clip UnityEngine.AudioClip
Résultat void

Start() public méthode

First code called at the time specified by the class' attribute. Instant (during KSP's initial load) and only once per game session.
public Start ( ) : void
Résultat void

Property Details

PreviewSpeaker public_oe property

public AudioSource,UnityEngine PreviewSpeaker
Résultat UnityEngine.AudioSource

audioPreviewWindowPos protected_oe property

protected Rect,UnityEngine audioPreviewWindowPos
Résultat UnityEngine.Rect

editorWindowPos protected_oe property

protected Rect,UnityEngine editorWindowPos
Résultat UnityEngine.Rect

mainWindowPos protected_oe property

protected Rect,UnityEngine mainWindowPos
Résultat UnityEngine.Rect

playbackWindowPos protected_oe property

protected Rect,UnityEngine playbackWindowPos
Résultat UnityEngine.Rect

playlistWindowPos protected_oe property

protected Rect,UnityEngine playlistWindowPos
Résultat UnityEngine.Rect