C# Class LennyMovement, Alternalien9-21-2015

Inheritance: MonoBehaviour
Datei anzeigen Open project: DragoonGames/Alternalien9-21-2015

Public Properties

Property Type Description
anim Animator
itemTransform Transform[]
jumpSpeed float
keycardPickup UnityEngine.AudioClip
maxSpeed float
nextJump float

Public Methods

Method Description
CheckDirection ( float moveSpeed ) : void
MoveChild ( ) : void
OnCollisionEnter2D ( Collision2D c ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Released ( ) : void
SetActive ( ) : void
SetInactive ( ) : void
Start ( ) : void
Trigger ( ) : void
Update ( ) : void

Private Methods

Method Description
Jump ( ) : IEnumerator

Method Details

CheckDirection() public method

public CheckDirection ( float moveSpeed ) : void
moveSpeed float
return void

MoveChild() public method

public MoveChild ( ) : void
return void

OnCollisionEnter2D() public method

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

OnTriggerEnter2D() public method

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

Released() public method

public Released ( ) : void
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

Trigger() public method

public Trigger ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

anim public_oe property

public Animator anim
return Animator

itemTransform public_oe property

public Transform[] itemTransform
return Transform[]

jumpSpeed public_oe property

public float jumpSpeed
return float

keycardPickup public_oe property

public AudioClip,UnityEngine keycardPickup
return UnityEngine.AudioClip

maxSpeed public_oe property

public float maxSpeed
return float

nextJump public_oe property

public float nextJump
return float