Class ProposalSequence
Container class for ProposalSequenceItems. One proposal sequence is equivalent to one level/month in the game.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
ProposalSequence
Implements
System.Collections.Generic.IList<ProposalSequenceItem>
System.Collections.Generic.ICollection<ProposalSequenceItem>
System.Collections.Generic.IEnumerable<ProposalSequenceItem>
System.Collections.IEnumerable
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
[CreateAssetMenu(menuName = "ScriptableObjects/ProposalSequence")]
public class ProposalSequence : ScriptableObject, IList<ProposalSequenceItem>, ICollection<ProposalSequenceItem>, IEnumerable<ProposalSequenceItem>, IEnumerable
Fields
cases
Declaration
public List<ProposalSequenceItem> cases
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<ProposalSequenceItem> |
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[Int32]
Declaration
public ProposalSequenceItem this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
ProposalSequenceItem |
Methods
Add(ProposalSequenceItem)
Declaration
public void Add(ProposalSequenceItem item)
Parameters
Type | Name | Description |
---|---|---|
ProposalSequenceItem | item |
Clear()
Declaration
public void Clear()
Contains(ProposalSequenceItem)
Declaration
public bool Contains(ProposalSequenceItem item)
Parameters
Type | Name | Description |
---|---|---|
ProposalSequenceItem | item |
Returns
Type | Description |
---|---|
System.Boolean |
CopyTo(ProposalSequenceItem[], Int32)
Declaration
public void CopyTo(ProposalSequenceItem[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
ProposalSequenceItem[] | array | |
System.Int32 | arrayIndex |
IndexOf(ProposalSequenceItem)
Declaration
public int IndexOf(ProposalSequenceItem item)
Parameters
Type | Name | Description |
---|---|---|
ProposalSequenceItem | item |
Returns
Type | Description |
---|---|
System.Int32 |
Insert(Int32, ProposalSequenceItem)
Declaration
public void Insert(int index, ProposalSequenceItem item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
ProposalSequenceItem | item |
Remove(ProposalSequenceItem)
Declaration
public bool Remove(ProposalSequenceItem item)
Parameters
Type | Name | Description |
---|---|---|
ProposalSequenceItem | 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<ProposalSequenceItem>.GetEnumerator()
Declaration
IEnumerator<ProposalSequenceItem> IEnumerable<ProposalSequenceItem>.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ProposalSequenceItem> |
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