C# Class TemperMovement, Alternalien9-21-2015

Inheritance: MonoBehaviour
Mostrar archivo Open project: DragoonGames/Alternalien9-21-2015

Public Properties

Property Type Description
fireballRigid UnityEngine.Rigidbody2D
fireballSound UnityEngine.AudioClip
iceballRigid UnityEngine.Rigidbody2D
iceballSound UnityEngine.AudioClip
jumpSpeed float
keycardPickup UnityEngine.AudioClip
leftFireSprite Sprite
leftIceSprite Sprite
maxSpeed float
nextJump float
shotPower float
switchToFireSound UnityEngine.AudioClip
switchToIceSound UnityEngine.AudioClip

Public Methods

Method Description
CheckDirection ( ) : void
CheckTemperature ( ) : void
LaunchFireIceBall ( ) : void
OnCollisionEnter2D ( Collision2D c ) : void
OnTriggerEnter2D ( Collider2D other ) : void
SetActive ( ) : void
SetInactive ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Jump ( ) : IEnumerator
StopJumping ( ) : IEnumerator

Method Details

CheckDirection() public method

public CheckDirection ( ) : void
return void

CheckTemperature() public method

public CheckTemperature ( ) : void
return void

LaunchFireIceBall() public method

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

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

fireballRigid public_oe property

public Rigidbody2D,UnityEngine fireballRigid
return UnityEngine.Rigidbody2D

fireballSound public_oe property

public AudioClip,UnityEngine fireballSound
return UnityEngine.AudioClip

iceballRigid public_oe property

public Rigidbody2D,UnityEngine iceballRigid
return UnityEngine.Rigidbody2D

iceballSound public_oe property

public AudioClip,UnityEngine iceballSound
return UnityEngine.AudioClip

jumpSpeed public_oe property

public float jumpSpeed
return float

keycardPickup public_oe property

public AudioClip,UnityEngine keycardPickup
return UnityEngine.AudioClip

leftFireSprite public_oe property

public Sprite leftFireSprite
return Sprite

leftIceSprite public_oe property

public Sprite leftIceSprite
return Sprite

maxSpeed public_oe property

public float maxSpeed
return float

nextJump public_oe property

public float nextJump
return float

shotPower public_oe property

public float shotPower
return float

switchToFireSound public_oe property

public AudioClip,UnityEngine switchToFireSound
return UnityEngine.AudioClip

switchToIceSound public_oe property

public AudioClip,UnityEngine switchToIceSound
return UnityEngine.AudioClip