Deprecated by DialogueSystemTrigger. More...
Public Member Functions | |
void | OnBarkEnd (Transform actor) |
void | OnConversationEnd (Transform actor) |
void | OnSequenceEnd (Transform actor) |
void | OnUse (Transform actor) |
void | OnUse (string message) |
void | OnUse () |
void | OnTriggerEnter (Collider other) |
void | OnTriggerExit (Collider other) |
void | OnCollisionEnter (Collision collision) |
void | OnCollisionExit (Collision collision) |
void | OnTriggerEnter2D (Collider2D other) |
void | OnTriggerExit2D (Collider2D other) |
void | OnCollisionEnter2D (Collision2D collision) |
void | OnCollisionExit2D (Collision2D collision) |
void | OnLevelWillBeUnloaded () |
void | OnApplicationQuit () |
void | OnDestroy () |
Public Member Functions inherited from PixelCrushers.DialogueSystem.BarkStarter | |
void | TryBark (Transform target) |
Barks if the condition is true. | |
virtual void | TryBark (Transform target, Transform interactor) |
Barks if the condition is true. | |
void | ResetBarkHistory () |
Resets the bark history to the beginning of the list of bark lines. | |
void | OnRecordPersistentData () |
Listens for the OnRecordPersistentData message and records the current bark index. | |
void | OnApplyPersistentData () |
Listens for the OnApplyPersistentData message and retrieves the current bark index. | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.ConversationStarter | |
void | TryStartConversation (Transform actor) |
If the condition is true, starts the conversation between the specified actor and the character that this component is attached to. | |
void | TryStartConversation (Transform actor, Transform interactor) |
If the condition is true, starts the conversation between the specified actor and the character that this component is attached to. | |
Public Attributes | |
Transform | target |
The target that the bark is directed to. | |
DialogueTriggerEvent | trigger = DialogueTriggerEvent.OnUse |
The trigger that starts the conversation. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.BarkStarter | |
BarkOrder | barkOrder = BarkOrder.Random |
Specifies the order to run through the list of barks. | |
bool | allowDuringConversations = false |
Are barks allowed during conversations? | |
bool | cacheBarkLines = false |
If ticked, bark info is cached during the first bark. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.ConversationStarter | |
string | conversation |
The title of the conversation to start. | |
Condition | condition |
The condition required for the conversation to start. | |
bool | skipIfNoValidEntries |
If this is true<c/c> and no valid entries currently link from the start entry, don't start the conversation. | |
bool | exclusive = false |
Only start if no other conversation is active. | |
Transform | conversant |
The conversant of the conversation. | |
bool | useConversationTitlePicker = true |
DialogueDatabase | selectedDatabase = null |
Public Attributes inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
bool | once = false |
Set true if this event should only happen once. | |
Protected Member Functions | |
override void | Start () |
override void | OnEnable () |
override void | OnDisable () |
Protected Member Functions inherited from PixelCrushers.DialogueSystem.BarkStarter | |
virtual void | Awake () |
Transform | GetBarker () |
string | GetBarkerName () |
void | BarkCachedLine (Transform speaker, Transform listener) |
void | PopulateCache (Transform speaker, Transform listener) |
void | BarkNextCachedLine (Transform speaker, Transform listener) |
Protected Member Functions inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
void | DestroyIfOnce () |
Additional Inherited Members | |
Protected Attributes inherited from PixelCrushers.DialogueSystem.BarkStarter | |
BarkHistory | barkHistory |
bool | tryingToBark = false |
ConversationState | cachedState = null |
IBarkUI | barkUI = null |
BarkGroupMember | barkGroupMember = null |
Properties inherited from PixelCrushers.DialogueSystem.BarkStarter | |
Sequencer | sequencer [get, protected set] |
Gets the sequencer used by the current bark, if a bark is playing. | |
int | BarkIndex [get, set] |
Gets or sets the bark index for sequential barks. | |
Properties inherited from PixelCrushers.DialogueSystem.DialogueEventStarter | |
virtual bool | useOnce [get] |
Deprecated by DialogueSystemTrigger.
The bark trigger component can be used to make an NPC bark when it receives a dialogue trigger – for example, when the game starts or when the level loads. You can specify an optional target to bark at.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented from PixelCrushers.DialogueSystem.BarkStarter.
|
inlineprotectedvirtual |
Reimplemented from PixelCrushers.DialogueSystem.BarkStarter.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented from PixelCrushers.DialogueSystem.BarkStarter.
Transform PixelCrushers.DialogueSystem.BarkTrigger.target |
The target that the bark is directed to.
If assigned, the target will get an OnBarkEnd event.
DialogueTriggerEvent PixelCrushers.DialogueSystem.BarkTrigger.trigger = DialogueTriggerEvent.OnUse |
The trigger that starts the conversation.