C# Class PlayerCollisions, STR

Inheritance: MonoBehaviour
显示文件 Open project: jamiehenson/STR Class Usage Examples

Public Properties

Property Type Description
smack UnityEngine.AudioSource

Public Methods

Method Description
Boom ( GameObject gameObject ) : void
OnCollisionEnter ( Collision collision ) : void
OnCollisionStay ( Collision collision ) : void
OnDestroy ( ) : void
PlayerBoom ( GameObject gameObject ) : void
WeaponBoom ( GameObject gameObject, int wepType ) : void

Private Methods

Method Description
ChangePlayerActiveState ( bool active ) : void
destroyObject ( ) : void
universeN ( ) : int

Method Details

Boom() public static method

public static Boom ( GameObject gameObject ) : void
gameObject GameObject
return void

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collision ) : void
collision Collision
return void

OnCollisionStay() public method

public OnCollisionStay ( Collision collision ) : void
collision Collision
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

PlayerBoom() public static method

public static PlayerBoom ( GameObject gameObject ) : void
gameObject GameObject
return void

WeaponBoom() public static method

public static WeaponBoom ( GameObject gameObject, int wepType ) : void
gameObject GameObject
wepType int
return void

Property Details

smack public_oe property

public AudioSource,UnityEngine smack
return UnityEngine.AudioSource