C# Class MovingBlock, Demonology

Inheritance: EnemyBehavior
Mostrar archivo Open project: Qlevine20/Demonology Class Usage Examples

Public Properties

Property Type Description
autoStart bool
locs Vector2[]
pauseEachPoint bool
speed float

Protected Properties

Property Type Description
ArrayDir int
Moving bool
Pos int

Public Methods

Method Description
MoveBetweenPoints ( Vector2 p ) : bool
OnCollisionEnter2D ( Collision2D other ) : void
OnDrawGizmos ( ) : void
OnRespawn ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void

Method Details

MoveBetweenPoints() public method

public MoveBetweenPoints ( Vector2 p ) : bool
p Vector2
return bool

OnCollisionEnter2D() public method

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

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnRespawn() public method

public OnRespawn ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

ArrayDir protected_oe property

protected int ArrayDir
return int

Moving protected_oe property

protected bool Moving
return bool

Pos protected_oe property

protected int Pos
return int

autoStart public_oe property

public bool autoStart
return bool

locs public_oe property

public Vector2[] locs
return Vector2[]

pauseEachPoint public_oe property

public bool pauseEachPoint
return bool

speed public_oe property

public float speed
return float