Show / Hide Table of Contents

Class DialogueInspectRegion

Represents a region the player can inspect that triggers dialogue.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
InspectRegion
DialogueInspectRegion
Inherited Members
InspectRegion.promptPrefab
InspectRegion.PlayerInRange
InspectRegion.PlayerInspecting
InspectRegion.Inspectable
InspectRegion.heroLooksUp
InspectRegion.EnableKnightDamageInterrupt
InspectRegion.FullyInspected
InspectRegion.OnInspect
InspectRegion.OnKnightDamaged
InspectRegion.Reset()
InspectRegion.OnEnable()
Namespace: WeaverCore.Components
Assembly: WeaverCore.dll
Syntax
public class DialogueInspectRegion : InspectRegion

Properties

| Edit this page View Source

Talking

Gets a value indicating whether the dialogue is currently active.

Declaration
public bool Talking { get; }
Property Value
Type Description
bool
| Edit this page View Source

TextAlignment

Gets or sets the text alignment.

Declaration
public DialogueInspectRegion.TextCentering TextAlignment { get; }
Property Value
Type Description
DialogueInspectRegion.TextCentering
| Edit this page View Source

TextConvo

Gets or sets the conversation text key.

Declaration
public string TextConvo { get; set; }
Property Value
Type Description
string
| Edit this page View Source

TextSheet

Gets or sets the text sheet.

Declaration
public string TextSheet { get; set; }
Property Value
Type Description
string

Methods

| Edit this page View Source

Awake()

Declaration
protected override void Awake()
Overrides
InspectRegion.Awake()
| Edit this page View Source

OnDestroy()

Declaration
protected override void OnDestroy()
Overrides
InspectRegion.OnDestroy()
| Edit this page View Source

OnDisable()

Declaration
protected override void OnDisable()
Overrides
InspectRegion.OnDisable()
| Edit this page View Source

OnInspectRoutine()

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
Overrides
InspectRegion.OnInspectRoutine()

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾