Method | Description | |
---|---|---|
AddTree ( |
Adds the specified treeInstance to the collection of trees who's collider to manage.
|
|
RemoveTree ( |
Removes the specified treeInstance from the collection of trees who's collider to manage.
|
Method | Description | |
---|---|---|
CopyCapsuleColliderProperties ( |
Copies the capsule collider specific properties from one T:UnityEngine.CapsuleCollider to another.
|
|
FixedUpdate ( ) : void |
Changes the colliders based on which trees the player is near. This method is invoked by Unity. |
|
SetupChildColliders ( |
Creates, updates, enables and disables child colliders.
|
|
Start ( ) : void |
Caches quick references and initializes the quadtree. This method is invoked by Unity. |
public AddTree ( |
||
treeInstance |
/// The |
|
return | bool |
public RemoveTree ( |
||
treeInstance |
/// The |
|
return | bool |