C# Class CasterCollider, DefendAman

Mostrar archivo Open project: CarsonRoscoe/DefendAman

Public Properties

Property Type Description
TotalPointsCount int
collider UnityEngine.Collider2D
points Vector2[]
transform Transform
type CasterType

Public Methods

Method Description
getTotalPointsCount ( ) : int
recalcBox ( ) : void
recalcTan ( Vector2 source ) : void

Private Methods

Method Description
CasterCollider ( BoxCollider2D coll ) : UnityEngine
CasterCollider ( CircleCollider2D coll, Vector2 lightSource ) : UnityEngine
CasterCollider ( EdgeCollider2D coll ) : UnityEngine
CasterCollider ( PolygonCollider2D coll ) : UnityEngine
getCirclePoints ( Vector2 lightSource ) : Vector2[]
getSquarePoints ( ) : Vector2[]

Method Details

getTotalPointsCount() public method

public getTotalPointsCount ( ) : int
return int

recalcBox() public method

public recalcBox ( ) : void
return void

recalcTan() public method

public recalcTan ( Vector2 source ) : void
source Vector2
return void

Property Details

TotalPointsCount public_oe property

public int TotalPointsCount
return int

collider public_oe property

public Collider2D,UnityEngine collider
return UnityEngine.Collider2D

points public_oe property

public Vector2[] points
return Vector2[]

transform public_oe property

public Transform transform
return Transform

type public_oe property

public CasterType type
return CasterType