Instantiates a prefab.
More...
|
override string | GetEditorName () |
| Returns the name to show in the editor for this subasset.
|
|
override void | Execute () |
| Performs the quest action.
|
|
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 AudioClip[] | GetAudioClips () |
| Overide to return any audio clips that this content references.
|
|
virtual void | OnBeforeProxySerialization () |
| Allows a subasset to save information in a serializable format prior to being serialized to a proxy object for saving.
|
|
virtual void | OnAfterProxyDeserialization () |
| Applies saved information from a proxy object.
|
|
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.
|
|
|
GameObject | prefab [get, set] |
| Prefab to instantiate.
|
|
StringField | locationTransform [get, set] |
| Name of GameObject (usually an empty GameObject) where prefab should be instantiated.
|
|
bool | useOriginalName [get, set] |
| Remove '(Clone)' from end of instantiated object's name.
|
|
Quest | quest [get, protected set] |
| (Runtime) The quest that this condition belongs to.
|
|
QuestNode | questNode [get, protected set] |
| (Runtime) The quest node that this condition belongs to.
|
|
TagDictionary | tagDictionary [get] |
| (Runtime) The quest's tag dictionary.
|
|
◆ Execute()
override void PixelCrushers.QuestMachine.InstantiatePrefabQuestAction.Execute |
( |
| ) |
|
|
inlinevirtual |
◆ GetEditorName()
override string PixelCrushers.QuestMachine.InstantiatePrefabQuestAction.GetEditorName |
( |
| ) |
|
|
inlinevirtual |
◆ locationTransform
StringField PixelCrushers.QuestMachine.InstantiatePrefabQuestAction.locationTransform |
|
getset |
Name of GameObject (usually an empty GameObject) where prefab should be instantiated.
◆ prefab
GameObject PixelCrushers.QuestMachine.InstantiatePrefabQuestAction.prefab |
|
getset |
◆ useOriginalName
bool PixelCrushers.QuestMachine.InstantiatePrefabQuestAction.useOriginalName |
|
getset |
Remove '(Clone)' from end of instantiated object's name.
The documentation for this class was generated from the following file: