Class ParameterList
Parameter List contains a list of strings to be used in order as parameters. The first string added will be the first string used, and so on.
Inheritance
MonoBehaviour
ParameterList
Namespace: Alegra.DimSums
Assembly: cs.temp.dll.dll
Syntax
public class ParameterList : MonoBehaviour
Fields
onListExhausted
Fires once when CheckForRemainingParameters is called and the list is empty.
Declaration
public UnityEvent onListExhausted
Field Value
| Type | Description |
|---|---|
| UnityEvent |
onParametersRemaining
Fires once when CheckForRemainingParameters is called and the list is nonempty.
Declaration
public UnityEvent onParametersRemaining
Field Value
| Type | Description |
|---|---|
| UnityEvent |
parameters
Declaration
public List<string> parameters
Field Value
| Type | Description |
|---|---|
| List<System.String> |
Methods
CheckForRemainingParameters()
Fires onListExhausted if the list is empty, otherwise fires onParametersRemaining.
Declaration
public void CheckForRemainingParameters()
Pop()
Returns the top element of the parameter list.
Declaration
public string Pop()
Returns
| Type | Description |
|---|---|
| System.String | Top element of the parameter list |
Push(String)
Adds a value to the end of the parameter list.
Declaration
public void Push(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | String to be added to the parameter list |