C# Class FollowerEnemy, Lurk2015Testing

Inheritance: MonoBehaviour
Datei anzeigen Open project: gmuGADIG/Lurk2015Testing Class Usage Examples

Public Properties

Property Type Description
aggroDistance float

Public Methods

Method Description
CheckForFlip ( Vector2 direction ) : void
OnCollisionEnter2D ( Collision2D other ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CalculateForce ( ) : Vector2
GetPath ( GameObject finish ) : List
ReconstructPath ( GameObject finish ) : List
getPlatform ( ) : GameObject
isGrounded ( ) : bool

Method Details

CheckForFlip() public method

public CheckForFlip ( Vector2 direction ) : void
direction Vector2
return void

OnCollisionEnter2D() public method

public OnCollisionEnter2D ( Collision2D other ) : void
other Collision2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

aggroDistance public_oe property

public float aggroDistance
return float