C# Class Pathfinding.NavmeshAdd

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
GizmoColor UnityEngine.Color
center UnityEngine.Vector3
gizmoBuffer Pathfinding.Int3[]
mesh UnityEngine.Mesh
meshScale float
rectangleSize UnityEngine.Vector2
type MeshType
useRotation bool

Protected Properties

Property Type Description
tr UnityEngine.Transform

Public Methods

Method Description
Awake ( ) : void
GetAll ( ) : List
GetAllInRange ( Bounds b ) : List
GetBounds ( ) : Bounds
GetMesh ( Int3 offset, Int3 &vbuffer, int &tbuffer ) : void
OnDestroy ( ) : void
OnDrawGizmos ( ) : void
OnDrawGizmosSelected ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
Add ( NavmeshAdd obj ) : void
Intersects ( Bounds b1, Bounds b2 ) : bool
RebuildMesh ( ) : void
Remove ( NavmeshAdd obj ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

GetAll() public static method

public static GetAll ( ) : List
return List

GetAllInRange() public static method

public static GetAllInRange ( Bounds b ) : List
b UnityEngine.Bounds
return List

GetBounds() public method

public GetBounds ( ) : Bounds
return UnityEngine.Bounds

GetMesh() public method

public GetMesh ( Int3 offset, Int3 &vbuffer, int &tbuffer ) : void
offset Int3
vbuffer Int3
tbuffer int
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

Property Details

GizmoColor public_oe static_oe property

public static Color,UnityEngine GizmoColor
return UnityEngine.Color

center public_oe property

public Vector3,UnityEngine center
return UnityEngine.Vector3

gizmoBuffer public_oe static_oe property

public static Int3[],Pathfinding gizmoBuffer
return Pathfinding.Int3[]

mesh public_oe property

public Mesh,UnityEngine mesh
return UnityEngine.Mesh

meshScale public_oe property

public float meshScale
return float

rectangleSize public_oe property

public Vector2,UnityEngine rectangleSize
return UnityEngine.Vector2

tr protected_oe property

protected Transform,UnityEngine tr
return UnityEngine.Transform

type public_oe property

public MeshType type
return MeshType

useRotation public_oe property

public bool useRotation
return bool