Class DialogueInspectRegion
Represents a region the player can inspect that triggers dialogue.
Inherited Members
Namespace: WeaverCore.Components
Assembly: WeaverCore.dll
Syntax
public class DialogueInspectRegion : InspectRegion
Properties
| Edit this page View SourceTalking
Gets a value indicating whether the dialogue is currently active.
Declaration
public bool Talking { get; }
Property Value
Type | Description |
---|---|
bool |
TextAlignment
Gets or sets the text alignment.
Declaration
public DialogueInspectRegion.TextCentering TextAlignment { get; }
Property Value
Type | Description |
---|---|
DialogueInspectRegion.TextCentering |
TextConvo
Gets or sets the conversation text key.
Declaration
public string TextConvo { get; set; }
Property Value
Type | Description |
---|---|
string |
TextSheet
Gets or sets the text sheet.
Declaration
public string TextSheet { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceAwake()
Declaration
protected override void Awake()
Overrides
| Edit this page View SourceOnDestroy()
Declaration
protected override void OnDestroy()
Overrides
| Edit this page View SourceOnDisable()
Declaration
protected override void OnDisable()
Overrides
| Edit this page View SourceOnInspectRoutine()
Called to play the default item pickup animation and trigger the OnInspect UnityEvent. You can override this to provide your own custom animations
Declaration
protected override IEnumerator OnInspectRoutine()
Returns
Type | Description |
---|---|
IEnumerator |