C# Class EasyVoiceSettings, RoverGame

Inheritance: UnityEngine.ScriptableObject
Mostra file Open project: Stumpstump/RoverGame Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Method 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 method

public AssignDataAsset ( EasyVoiceDataAsset, newDataAsset ) : void
newDataAsset EasyVoiceDataAsset,
return void

Awake() public method

public Awake ( ) : void
return void

GetDefaultFileName() public method

public GetDefaultFileName ( ) : string
return string

GetFirstSpeakerNameOrDefault() public method

public GetFirstSpeakerNameOrDefault ( ) : string
return string

GetFullClipDefaultPath() public method

public GetFullClipDefaultPath ( ) : string
return string

GetSpeakerIndex() public method

public GetSpeakerIndex ( string currentSpeakerName, bool includeDefault ) : int
currentSpeakerName string
includeDefault bool
return int

GetSpeakerName() public method

public GetSpeakerName ( int index, bool defaultIncluded ) : string
index int
defaultIncluded bool
return string

GetSpeakerNamesForEditor() public method

public GetSpeakerNamesForEditor ( bool includeDefault, bool forSystem ) : string[]
includeDefault bool
forSystem bool
return string[]

Initialize() public method

public Initialize ( ) : void
return void

IsDefaultFolderValid() public method

public IsDefaultFolderValid ( ) : bool
return bool

MakeFileNameFromTemplate() public method

public MakeFileNameFromTemplate ( string speakerName, int index ) : string
speakerName string
index int
return string

SetBaseDefaultFileName() public method

public SetBaseDefaultFileName ( string newValue ) : bool
newValue string
return bool

SetDefaultFolder() public method

public SetDefaultFolder ( string newValue ) : bool
newValue string
return bool

SetDefaultQuerier() public method

public SetDefaultQuerier ( DefaultQuerier newValue ) : void
newValue DefaultQuerier
return void

SetDefaultVoice() public method

public SetDefaultVoice ( string newValue ) : bool
newValue string
return bool

SetInstance() public method

public SetInstance ( ) : void
return void

SetLinkClips() public method

public SetLinkClips ( bool newValue ) : void
newValue bool
return void

UnlinkDataAsset() public method

public UnlinkDataAsset ( ) : void
return void

UpgradeAsset() public method

public UpgradeAsset ( ) : void
return void

ValidVoiceName() public method

public ValidVoiceName ( string speakerName, bool allowDefault ) : bool
speakerName string
allowDefault bool
return bool

Property Details

audioImportSettings public_oe property

public AudioImportSettings, audioImportSettings
return AudioImportSettings,

baseDefaultFileName public_oe property

public string baseDefaultFileName
return string

defaultFolder public_oe property

public string defaultFolder
return string

defaultVoice public_oe property

public string defaultVoice
return string

exportCSVFileEncodingUTF8 public_oe property

public bool exportCSVFileEncodingUTF8
return bool

importClips3D public_oe property

public bool importClips3D
return bool

importClipsFormat public_oe property

public _AudioImporterFormat importClipsFormat
return _AudioImporterFormat

importClipsLoadType public_oe property

public _AudioImporterLoadType importClipsLoadType
return _AudioImporterLoadType

instance public_oe static_oe property

public static EasyVoiceSettings, instance
return EasyVoiceSettings,

linkClips public_oe property

public bool linkClips
return bool

osxFileFormat public_oe property

public string osxFileFormat
return string

querier public_oe property

public EasyVoiceQuerier, querier
return EasyVoiceQuerier,

verificationActions public_oe property

public VerificationActions, verificationActions
return VerificationActions,

voiceAges public_oe property

public List voiceAges
return List

voiceDescriptions public_oe property

public List voiceDescriptions
return List

voiceGenders public_oe property

public List voiceGenders
return List

voiceNames public_oe property

public List voiceNames
return List