메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
|
리턴 | bool |
public RemoveTree ( |
||
treeInstance |
/// The |
|
리턴 | bool |