Property | Type | Description |
---|
Method | Description | |
---|---|---|
GetBool ( string key ) : bool |
Gets bool parameters for ai behaviour.
|
|
GetFloat ( string key ) : float |
Gets float parameters for ai behaviour.
|
|
GetInt ( string key ) : int |
Gets int parameters for ai behaviour.
|
|
GetString ( string key ) : string |
Gets string parameters for ai behaviour.
|
|
Run ( int i ) : bool |
Runs tree behaviour.
|
|
SetBool ( string key, bool val ) : void |
Sets bool parameters for ai behaviour.
|
|
SetFloat ( string key, float val ) : void |
Sets float parameters for ai behaviour.
|
|
SetInt ( string key, int val ) : void |
Sets int parameters for ai behaviour.
|
|
SetString ( string key, string val ) : void |
Sets string parameters for ai behaviour.
|
public GetBool ( string key ) : bool | ||
key | string | The name of the bool parameters. |
return | bool |
public GetFloat ( string key ) : float | ||
key | string | The name of the float parameters. |
return | float |
public GetInt ( string key ) : int | ||
key | string | The name of the int parameters. |
return | int |
public GetString ( string key ) : string | ||
key | string | The name of the string parameters. |
return | string |
public Run ( int i ) : bool | ||
i | int | Index of tree to run. Default value is 0. |
return | bool |
public SetBool ( string key, bool val ) : void | ||
key | string | The name of the bool parameters. |
val | bool | The new value for the bool parameters. |
return | void |
public SetFloat ( string key, float val ) : void | ||
key | string | The name of the float parameters. |
val | float | The new value for the float parameters. |
return | void |
public SetInt ( string key, int val ) : void | ||
key | string | The name of the int parameters. |
val | int | The new value for the int parameters. |
return | void |
public SetString ( string key, string val ) : void | ||
key | string | The name of the string parameters. |
val | string | The new value for the string parameters. |
return | void |