C# 클래스 PolyCollider, Hellbound

상속: MonoBehaviour
파일 보기 프로젝트 열기: Backman/Hellbound 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_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

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Awake ( ) : void
Start ( ) : void

비공개 메소드들

메소드 설명
SetGizmosColor ( ) : void
generate2DMeshCollider ( ) : void
generate3DMeshCollider ( ) : void

메소드 상세

AddPoint() 공개 메소드

public AddPoint ( Vector2 point, int insertPoint ) : int
point Vector2
insertPoint int
리턴 int

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

ClearPoints() 공개 메소드

public ClearPoints ( ) : void
리턴 void

CreateInstance() 공개 정적인 메소드

public static CreateInstance ( ) : PolyCollider,
리턴 PolyCollider,

GetEndPosition() 공개 메소드

public GetEndPosition ( int index ) : Vector2
index int
리턴 Vector2

GetPosition() 공개 메소드

public GetPosition ( int index ) : Vector2
index int
리턴 Vector2

GetStartPosition() 공개 메소드

public GetStartPosition ( int index ) : Vector2
index int
리턴 Vector2

GetTypeColor() 공개 메소드

public GetTypeColor ( ) : Color
리턴 Color

IsConvex() 공개 메소드

public IsConvex ( ) : bool
리턴 bool

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

OnSceneGUI() 공개 메소드

public OnSceneGUI ( SceneView sceneView ) : void
sceneView SceneView
리턴 void

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void

RemovePointAtIndex() 공개 메소드

public RemovePointAtIndex ( int index ) : void
index int
리턴 void

SetEditable() 공개 메소드

public SetEditable ( bool editable ) : void
editable bool
리턴 void

SetEndPosition() 공개 메소드

public SetEndPosition ( int index, Vector2 pos ) : void
index int
pos Vector2
리턴 void

SetPoint() 공개 메소드

public SetPoint ( int index, Vector2 point ) : void
index int
point Vector2
리턴 void

SetStartPosition() 공개 메소드

public SetStartPosition ( int index, Vector2 pos ) : void
index int
pos Vector2
리턴 void

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

프로퍼티 상세

_awakeTime 공개적으로 프로퍼티

public float _awakeTime
리턴 float

_colliderType 공개적으로 프로퍼티

public ColliderType _colliderType
리턴 ColliderType

_deathTime 공개적으로 프로퍼티

public float _deathTime
리턴 float

_endPosition 공개적으로 프로퍼티

public Vector2 _endPosition
리턴 Vector2

_endTime 공개적으로 프로퍼티

public float _endTime
리턴 float

_points 공개적으로 프로퍼티

public List _points
리턴 List

_startEndPoints 공개적으로 프로퍼티

public List> _startEndPoints
리턴 Vector2>>.List

_startPosition 공개적으로 프로퍼티

public Vector2 _startPosition
리턴 Vector2

_startTime 공개적으로 프로퍼티

public float _startTime
리턴 float

_timer 공개적으로 프로퍼티

public float _timer
리턴 float

_yPosition 공개적으로 프로퍼티

public float _yPosition
리턴 float

handleOffset 공개적으로 프로퍼티

public Vector2 handleOffset
리턴 Vector2

isDraggingPoint 공개적으로 프로퍼티

public bool isDraggingPoint
리턴 bool

lastIndex 공개적으로 프로퍼티

public int lastIndex
리턴 int