Class Conversation
Scriptable Object holding data for a in-game conversation. Essentially a List of ConvoLine.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
Conversation
Implements
System.Collections.Generic.IList<ConvoLine>
System.Collections.Generic.ICollection<ConvoLine>
System.Collections.Generic.IEnumerable<ConvoLine>
System.Collections.IEnumerable
System.ICloneable
Inherited Members
UnityEngine.ScriptableObject.SetDirty()
UnityEngine.ScriptableObject.CreateInstance(System.String)
UnityEngine.ScriptableObject.CreateInstance(System.Type)
UnityEngine.ScriptableObject.CreateInstance<T>()
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfType(System.Type, System.Boolean)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type, System.Boolean)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: GDA
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
[CreateAssetMenu(menuName = "ScriptableObjects/Conversation")]
public class Conversation : ScriptableObject, IList<ConvoLine>, ICollection<ConvoLine>, IEnumerable<ConvoLine>, IEnumerable, ICloneable
Properties
Count
Numer of lines in the conversation.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Always returns |
Item[Int32]
Declaration
public ConvoLine this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
ConvoLine |
NumLines
Declaration
public int NumLines { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Add(ConvoLine)
Declaration
public void Add(ConvoLine item)
Parameters
Type | Name | Description |
---|---|---|
ConvoLine | item |
Clear()
Declaration
public void Clear()
Clone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
Contains(ConvoLine)
Declaration
public bool Contains(ConvoLine item)
Parameters
Type | Name | Description |
---|---|---|
ConvoLine | item |
Returns
Type | Description |
---|---|
System.Boolean |
CopyTo(ConvoLine[], Int32)
Declaration
public void CopyTo(ConvoLine[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
ConvoLine[] | array | |
System.Int32 | arrayIndex |
GetEnumerator()
Declaration
public IEnumerator<ConvoLine> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ConvoLine> |
IndexOf(ConvoLine)
Declaration
public int IndexOf(ConvoLine item)
Parameters
Type | Name | Description |
---|---|---|
ConvoLine | item |
Returns
Type | Description |
---|---|
System.Int32 |
Insert(Int32, ConvoLine)
Declaration
public void Insert(int index, ConvoLine item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
ConvoLine | item |
Remove(ConvoLine)
Declaration
public bool Remove(ConvoLine item)
Parameters
Type | Name | Description |
---|---|---|
ConvoLine | item |
Returns
Type | Description |
---|---|
System.Boolean |
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable