Class PlayerCharacter
MonoBehaviour that handles dialogue initiation and passing recognized speech to NPCs.
Inheritance
PlayerCharacter
Assembly: cs.temp.dll.dll
Syntax
public class PlayerCharacter : Singleton<PlayerCharacter>
Fields
character
Character description of the player.
Declaration
public Character character
Field Value
CheckCamera
Declaration
public Camera CheckCamera
Field Value
currentLocation
Location description of the player.
Declaration
public Location currentLocation
Field Value
HorizontalMargin
Declaration
public float HorizontalMargin
Field Value
MaxRange
Declaration
Field Value
SpeechToText
Declaration
public AbstractSpeechToText SpeechToText
Field Value
VerticalMargin
Declaration
public float VerticalMargin
Field Value
Methods
CheckIsSeen(Vector3)
Declaration
public bool CheckIsSeen(Vector3 dialogAgentPosition)
Parameters
Type |
Name |
Description |
Vector3 |
dialogAgentPosition |
|
Returns
DeregisterDialogueCandidate(NonPlayerCharacter)
Remove NPC from the list of potential conversants.
Declaration
public void DeregisterDialogueCandidate(NonPlayerCharacter agent)
Parameters
IsRegistered(NonPlayerCharacter)
Check if NPC is registered as a dialogue candidate.
Declaration
public bool IsRegistered(NonPlayerCharacter agent)
Parameters
Returns
LeaveDialog()
Declaration
public void LeaveDialog()
RegisterDialogueCandidate(NonPlayerCharacter)
Adds NPC to the list of potential conversants.
Declaration
public void RegisterDialogueCandidate(NonPlayerCharacter agent)
Parameters