Plays an audio clip.
More...
|
override string | GetEditorName () |
| Returns the name to show in the editor for this subasset.
|
|
override void | Execute () |
| Performs the quest action.
|
|
override void | OnBeforeProxySerialization () |
| Allows a subasset to save information in a serializable format prior to being serialized to a proxy object for saving.
|
|
override void | OnAfterProxyDeserialization () |
| Applies saved information from a proxy object.
|
|
override AudioClip[] | GetAudioClips () |
| Overide to return any audio clips that this content references.
|
|
virtual void | SetRuntimeReferences (Quest quest, QuestNode questNode) |
| Sets quest references, as some subassets might need to refer to their containing quest and/or quest node.
|
|
virtual void | AddTagsToDictionary () |
| Records the static tags used in this asset's text content into the quest's staticTags property.
|
|
virtual Sprite[] | GetImages () |
| Override to return any images that this content references.
|
|
virtual void | CloneSubassetsInto (QuestSubasset copy) |
| Allows subclasses to deep copy their own subassets by instantiating copies.
|
|
virtual void | DestroySubassets () |
| Allows subclasses to destroy their subassets, usually when a runtime instance of a quest is being destroyed.
|
|
◆ Execute()
override void PixelCrushers.QuestMachine.AudioQuestAction.Execute |
( |
| ) |
|
|
inlinevirtual |
◆ GetAudioClips()
override AudioClip[] PixelCrushers.QuestMachine.AudioQuestAction.GetAudioClips |
( |
| ) |
|
|
inlinevirtual |
◆ GetEditorName()
override string PixelCrushers.QuestMachine.AudioQuestAction.GetEditorName |
( |
| ) |
|
|
inlinevirtual |
◆ OnAfterProxyDeserialization()
override void PixelCrushers.QuestMachine.AudioQuestAction.OnAfterProxyDeserialization |
( |
| ) |
|
|
inlinevirtual |
◆ OnBeforeProxySerialization()
override void PixelCrushers.QuestMachine.AudioQuestAction.OnBeforeProxySerialization |
( |
| ) |
|
|
inlinevirtual |
Allows a subasset to save information in a serializable format prior to being serialized to a proxy object for saving.
The base method doesn't do anything, but subclasses may need to.
Reimplemented from PixelCrushers.QuestMachine.QuestSubasset.
◆ audioClip
AudioClip PixelCrushers.QuestMachine.AudioQuestAction.audioClip |
|
getset |
◆ interruptPreviousClip
bool PixelCrushers.QuestMachine.AudioQuestAction.interruptPreviousClip |
|
getset |
If an audio clip is currently-playing on audio source, interrupt it.
Otherwise play in addition.
◆ useAudioSourceOn
Identifies the audio source to use.
The documentation for this class was generated from the following file:
- C:/Dev/Quest Machine/Dev/Source/Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Quest/Quest Subasset/Quest Action/AudioQuestAction.cs