C# Class functionManager, Main-Working-Repository

Inheritance: MonoBehaviour
Datei anzeigen Open project: GCSShatteredSpace/Main-Working-Repository Class Usage Examples

Public Properties

Property Type Description
direction Vector2[]

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
abs ( Vector2 v ) : float
areAligned ( Vector2 v ) : bool
getDistance ( Vector2 v1, Vector2 v2 ) : int
getNormal ( Vector2 v ) : Vector2
hexPositionTransform ( Vector2 v ) : Vector3
isNear ( Vector2 v1, Vector2 v2 ) : bool
notOutOfBounds ( Vector2 v ) : bool
posToVelocity ( List posSequence ) : List

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

abs() public method

public abs ( Vector2 v ) : float
v Vector2
return float

areAligned() public method

public areAligned ( Vector2 v ) : bool
v Vector2
return bool

getDistance() public method

public getDistance ( Vector2 v1, Vector2 v2 ) : int
v1 Vector2
v2 Vector2
return int

getNormal() public method

public getNormal ( Vector2 v ) : Vector2
v Vector2
return Vector2

hexPositionTransform() public method

public hexPositionTransform ( Vector2 v ) : Vector3
v Vector2
return Vector3

isNear() public method

public isNear ( Vector2 v1, Vector2 v2 ) : bool
v1 Vector2
v2 Vector2
return bool

notOutOfBounds() public method

public notOutOfBounds ( Vector2 v ) : bool
v Vector2
return bool

posToVelocity() public method

public posToVelocity ( List posSequence ) : List
posSequence List
return List

Property Details

direction public_oe property

public Vector2[] direction
return Vector2[]