C# Class CasterCollider, DefendAman

Afficher le fichier Open project: CarsonRoscoe/DefendAman

Méthodes publiques

Свойство Type Description
TotalPointsCount int
collider UnityEngine.Collider2D
points Vector2[]
transform Transform
type CasterType

Méthodes publiques

Méthode Description
getTotalPointsCount ( ) : int
recalcBox ( ) : void
recalcTan ( Vector2 source ) : void

Private Methods

Méthode 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 méthode

public getTotalPointsCount ( ) : int
Résultat int

recalcBox() public méthode

public recalcBox ( ) : void
Résultat void

recalcTan() public méthode

public recalcTan ( Vector2 source ) : void
source Vector2
Résultat void

Property Details

TotalPointsCount public_oe property

public int TotalPointsCount
Résultat int

collider public_oe property

public Collider2D,UnityEngine collider
Résultat UnityEngine.Collider2D

points public_oe property

public Vector2[] points
Résultat Vector2[]

transform public_oe property

public Transform transform
Résultat Transform

type public_oe property

public CasterType type
Résultat CasterType