Struct ConvoLine
struct for containing data of a Conversation Line.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: GDA
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public struct ConvoLine
Constructors
ConvoLine(String, Single, Color, Boolean, ProposerInfo.Emotion)
Constructor for the ConvoLine struct
Declaration
public ConvoLine(string text, float timing, Color color, bool isPlayer, ProposerInfo.Emotion emotion)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text of the conversation line |
System.Single | timing | Time in seconds from the start of the conversation that the line should be spoken |
UnityEngine.Color | color | Color of the text of the conversation line |
System.Boolean | isPlayer | Whether it is the player character that is speaking the line |
ProposerInfo.Emotion | emotion | Emotion of the conversation line |
Fields
color
Color of the text of the conversation line
Declaration
public Color color
Field Value
Type | Description |
---|---|
UnityEngine.Color |
emotion
Emotion of the conversation line
Declaration
public ProposerInfo.Emotion emotion
Field Value
Type | Description |
---|---|
ProposerInfo.Emotion |
isPlayer
Whether it is the player character that is speaking the line
Declaration
public bool isPlayer
Field Value
Type | Description |
---|---|
System.Boolean |
text
Text of the conversation line
Declaration
public string text
Field Value
Type | Description |
---|---|
System.String |
timing
Time in seconds from the start of the conversation that the line should be spoken
Declaration
public float timing
Field Value
Type | Description |
---|---|
System.Single |