C# Class RevisedSlimeMovement, Alternalien9-21-2015

Inheritance: MonoBehaviour
Show file Open project: DragoonGames/Alternalien9-21-2015 Class Usage Examples

Public Properties

Property Type Description
jumpGateTriggers GameObject[]
jumpGates GameObject[]
jumpSpeed float
maxSpeed float
slimeDir SlimeDirection
sludge GameObject

Public Methods

Method Description
CheckRotation ( ) : void
Jump ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
OnTriggerStay2D ( Collider2D other ) : void
SetActive ( ) : void
SetInactive ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
WaitToMove ( ) : IEnumerator

Method Details

CheckRotation() public method

public CheckRotation ( ) : void
return void

Jump() public method

public Jump ( ) : void
return void

OnTriggerEnter2D() public method

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

OnTriggerStay2D() public method

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

SetActive() public method

public SetActive ( ) : void
return void

SetInactive() public method

public SetInactive ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

jumpGateTriggers public property

public GameObject[] jumpGateTriggers
return GameObject[]

jumpGates public property

public GameObject[] jumpGates
return GameObject[]

jumpSpeed public property

public float jumpSpeed
return float

maxSpeed public property

public float maxSpeed
return float

slimeDir public property

public SlimeDirection slimeDir
return SlimeDirection

sludge public property

public GameObject sludge
return GameObject