C# 클래스 CasterCollider, DefendAman

파일 보기 프로젝트 열기: CarsonRoscoe/DefendAman

공개 프로퍼티들

프로퍼티 타입 설명
TotalPointsCount int
collider UnityEngine.Collider2D
points Vector2[]
transform Transform
type CasterType

공개 메소드들

메소드 설명
getTotalPointsCount ( ) : int
recalcBox ( ) : void
recalcTan ( Vector2 source ) : void

비공개 메소드들

메소드 설명
CasterCollider ( BoxCollider2D coll ) : UnityEngine
CasterCollider ( CircleCollider2D coll, Vector2 lightSource ) : UnityEngine
CasterCollider ( EdgeCollider2D coll ) : UnityEngine
CasterCollider ( PolygonCollider2D coll ) : UnityEngine
getCirclePoints ( Vector2 lightSource ) : Vector2[]
getSquarePoints ( ) : Vector2[]

메소드 상세

getTotalPointsCount() 공개 메소드

public getTotalPointsCount ( ) : int
리턴 int

recalcBox() 공개 메소드

public recalcBox ( ) : void
리턴 void

recalcTan() 공개 메소드

public recalcTan ( Vector2 source ) : void
source Vector2
리턴 void

프로퍼티 상세

TotalPointsCount 공개적으로 프로퍼티

public int TotalPointsCount
리턴 int

collider 공개적으로 프로퍼티

public Collider2D,UnityEngine collider
리턴 UnityEngine.Collider2D

points 공개적으로 프로퍼티

public Vector2[] points
리턴 Vector2[]

transform 공개적으로 프로퍼티

public Transform transform
리턴 Transform

type 공개적으로 프로퍼티

public CasterType type
리턴 CasterType