C# Class EasyVoiceSettings, RoverGame

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: Stumpstump/RoverGame Class Usage Examples

Méthodes publiques

Свойство Type Description
audioImportSettings AudioImportSettings,
baseDefaultFileName string
defaultFolder string
defaultVoice string
exportCSVFileEncodingUTF8 bool
importClips3D bool
importClipsFormat _AudioImporterFormat
importClipsLoadType _AudioImporterLoadType
instance EasyVoiceSettings,
linkClips bool
osxFileFormat string
querier EasyVoiceQuerier,
verificationActions VerificationActions,
voiceAges List
voiceDescriptions List
voiceGenders List
voiceNames List

Méthodes publiques

Méthode Description
AssignDataAsset ( EasyVoiceDataAsset, newDataAsset ) : void
Awake ( ) : void
GetDefaultFileName ( ) : string
GetFirstSpeakerNameOrDefault ( ) : string
GetFullClipDefaultPath ( ) : string
GetSpeakerIndex ( string currentSpeakerName, bool includeDefault ) : int
GetSpeakerName ( int index, bool defaultIncluded ) : string
GetSpeakerNamesForEditor ( bool includeDefault, bool forSystem ) : string[]
Initialize ( ) : void
IsDefaultFolderValid ( ) : bool
MakeFileNameFromTemplate ( string speakerName, int index ) : string
SetBaseDefaultFileName ( string newValue ) : bool
SetDefaultFolder ( string newValue ) : bool
SetDefaultQuerier ( DefaultQuerier newValue ) : void
SetDefaultVoice ( string newValue ) : bool
SetInstance ( ) : void
SetLinkClips ( bool newValue ) : void
UnlinkDataAsset ( ) : void
UpgradeAsset ( ) : void
ValidVoiceName ( string speakerName, bool allowDefault ) : bool

Private Methods

Méthode Description
BuildFileNameFromTemplate ( string speakerName, int index ) : string

Make a file name from the default file name template and the specified repalcement speaker name and entry index

ClearQueriedData ( ) : void
InitializeQuerier ( ) : void
TrimStringFromRepeatedCharacters ( string str ) : string
Upgrade ( ) : void

This will, if necessary, upgrade the settings to the given version

Method Details

AssignDataAsset() public méthode

public AssignDataAsset ( EasyVoiceDataAsset, newDataAsset ) : void
newDataAsset EasyVoiceDataAsset,
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

GetDefaultFileName() public méthode

public GetDefaultFileName ( ) : string
Résultat string

GetFirstSpeakerNameOrDefault() public méthode

public GetFirstSpeakerNameOrDefault ( ) : string
Résultat string

GetFullClipDefaultPath() public méthode

public GetFullClipDefaultPath ( ) : string
Résultat string

GetSpeakerIndex() public méthode

public GetSpeakerIndex ( string currentSpeakerName, bool includeDefault ) : int
currentSpeakerName string
includeDefault bool
Résultat int

GetSpeakerName() public méthode

public GetSpeakerName ( int index, bool defaultIncluded ) : string
index int
defaultIncluded bool
Résultat string

GetSpeakerNamesForEditor() public méthode

public GetSpeakerNamesForEditor ( bool includeDefault, bool forSystem ) : string[]
includeDefault bool
forSystem bool
Résultat string[]

Initialize() public méthode

public Initialize ( ) : void
Résultat void

IsDefaultFolderValid() public méthode

public IsDefaultFolderValid ( ) : bool
Résultat bool

MakeFileNameFromTemplate() public méthode

public MakeFileNameFromTemplate ( string speakerName, int index ) : string
speakerName string
index int
Résultat string

SetBaseDefaultFileName() public méthode

public SetBaseDefaultFileName ( string newValue ) : bool
newValue string
Résultat bool

SetDefaultFolder() public méthode

public SetDefaultFolder ( string newValue ) : bool
newValue string
Résultat bool

SetDefaultQuerier() public méthode

public SetDefaultQuerier ( DefaultQuerier newValue ) : void
newValue DefaultQuerier
Résultat void

SetDefaultVoice() public méthode

public SetDefaultVoice ( string newValue ) : bool
newValue string
Résultat bool

SetInstance() public méthode

public SetInstance ( ) : void
Résultat void

SetLinkClips() public méthode

public SetLinkClips ( bool newValue ) : void
newValue bool
Résultat void

UnlinkDataAsset() public méthode

public UnlinkDataAsset ( ) : void
Résultat void

UpgradeAsset() public méthode

public UpgradeAsset ( ) : void
Résultat void

ValidVoiceName() public méthode

public ValidVoiceName ( string speakerName, bool allowDefault ) : bool
speakerName string
allowDefault bool
Résultat bool

Property Details

audioImportSettings public_oe property

public AudioImportSettings, audioImportSettings
Résultat AudioImportSettings,

baseDefaultFileName public_oe property

public string baseDefaultFileName
Résultat string

defaultFolder public_oe property

public string defaultFolder
Résultat string

defaultVoice public_oe property

public string defaultVoice
Résultat string

exportCSVFileEncodingUTF8 public_oe property

public bool exportCSVFileEncodingUTF8
Résultat bool

importClips3D public_oe property

public bool importClips3D
Résultat bool

importClipsFormat public_oe property

public _AudioImporterFormat importClipsFormat
Résultat _AudioImporterFormat

importClipsLoadType public_oe property

public _AudioImporterLoadType importClipsLoadType
Résultat _AudioImporterLoadType

instance public_oe static_oe property

public static EasyVoiceSettings, instance
Résultat EasyVoiceSettings,

linkClips public_oe property

public bool linkClips
Résultat bool

osxFileFormat public_oe property

public string osxFileFormat
Résultat string

querier public_oe property

public EasyVoiceQuerier, querier
Résultat EasyVoiceQuerier,

verificationActions public_oe property

public VerificationActions, verificationActions
Résultat VerificationActions,

voiceAges public_oe property

public List voiceAges
Résultat List

voiceDescriptions public_oe property

public List voiceDescriptions
Résultat List

voiceGenders public_oe property

public List voiceGenders
Résultat List

voiceNames public_oe property

public List voiceNames
Résultat List