Property | Type | Description | |
---|---|---|---|
_awakeTime | float | ||
_colliderType | ColliderType | ||
_deathTime | float | ||
_endPosition | Vector2 | ||
_endTime | float | ||
_points | List |
||
_startEndPoints | Vector2>>.List | ||
_startPosition | Vector2 | ||
_startTime | float | ||
_timer | float | ||
_yPosition | float | ||
handleOffset | Vector2 | ||
isDraggingPoint | bool | ||
lastIndex | int |
Method | Description | |
---|---|---|
AddPoint ( Vector2 point, int insertPoint ) : int | ||
ClearPoints ( ) : void | ||
CreateInstance ( ) : PolyCollider, | ||
GetEndPosition ( int index ) : Vector2 | ||
GetPosition ( int index ) : Vector2 | ||
GetStartPosition ( int index ) : Vector2 | ||
GetTypeColor ( ) : Color | ||
IsConvex ( ) : bool | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnSceneGUI ( SceneView sceneView ) : void | ||
Refresh ( ) : void | ||
RemovePointAtIndex ( int index ) : void | ||
SetEditable ( bool editable ) : void | ||
SetEndPosition ( int index, Vector2 pos ) : void | ||
SetPoint ( int index, Vector2 point ) : void | ||
SetStartPosition ( int index, Vector2 pos ) : void |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
SetGizmosColor ( ) : void | ||
generate2DMeshCollider ( ) : void | ||
generate3DMeshCollider ( ) : void |
public AddPoint ( Vector2 point, int insertPoint ) : int | ||
point | Vector2 | |
insertPoint | int | |
return | int |
public static CreateInstance ( ) : PolyCollider, | ||
return | PolyCollider, |
public GetEndPosition ( int index ) : Vector2 | ||
index | int | |
return | Vector2 |
public GetStartPosition ( int index ) : Vector2 | ||
index | int | |
return | Vector2 |
public OnSceneGUI ( SceneView sceneView ) : void | ||
sceneView | SceneView | |
return | void |
public RemovePointAtIndex ( int index ) : void | ||
index | int | |
return | void |
public SetEndPosition ( int index, Vector2 pos ) : void | ||
index | int | |
pos | Vector2 | |
return | void |
public SetPoint ( int index, Vector2 point ) : void | ||
index | int | |
point | Vector2 | |
return | void |
public SetStartPosition ( int index, Vector2 pos ) : void | ||
index | int | |
pos | Vector2 | |
return | void |