|
Rebornbuddy
|
Protected Member Functions | |
| AvoidInfo (Func< bool > condition, Func< object, Vector3 > locationProducer, Func< IEnumerable< object > > collectionProducer, Func< Vector3 > leashPointProducer, float leashRadius=40, bool ignoreIfBlocking=false, Func< object, bool > objectValidator=null, AvoidancePriority priority=AvoidancePriority.Medium) | |
| Initializes a new instance of the AvoidInfo class. | |
Properties | |
| Func< bool > | Condition [get] |
| Gets the condition. | |
| Func< object, Vector3 > | LocationProducer [get] |
| Func< Vector3 > | LeashPointProducer [get] |
| Gets the leash point selector. | |
| float | LeashRadius [get] |
| Gets the leash radius. | |
| bool | IgnoreIfBlocking [get] |
| Gets a value indicating whether to ignore avoid if no avoid path is found. | |
| Func< object, bool > | ObjectValidator [get] |
| List< object > | Collection [get] |
| AvoidancePriority | Priority [get] |
| bool | CanRun [get] |
| Determines whether this instance can run. | |
|
protected |
Initializes a new instance of the AvoidInfo class.
| condition | The condition. |
| leashPointProducer | The leash point selector. |
| leashRadius | The leash radius. |
| ignoreIfBlocking | if set to true stay away if no avoid path is found. |
| priority | The priority. |
|
get |
Determines whether this instance can run.
true if this instance can run; otherwise, false.
|
get |
|
get |
Gets the condition.
|
get |
Gets a value indicating whether to ignore avoid if no avoid path is found.
true if should not ignore avoid if no avoid path is found, false otherwisr.
|
get |
Gets the leash point selector.
|
get |
Gets the leash radius.
|
get |
|
get |
|
get |