C# Class CollisionLogic, Zombayo

ファイルを表示 Open project: pchernev/Zombayo Class Usage Examples

Private Properties

Property Type Description
CollisionLogic System
OnCarrotHit void

Public Methods

Method Description
OnCoinAttracted ( GameObject magnet, GameObject coin ) : void
OnCoinCollected ( Coin, coin ) : void
OnGroundHit ( ) : void
OnNpcHit ( NPC, npc ) : void
OnPowerUpHit ( PowerUp, powerUp ) : void

Private Methods

Method Description
CollisionLogic ( ) : System
OnCarrotHit ( NPC, npc ) : void

Method Details

OnCoinAttracted() public static method

public static OnCoinAttracted ( GameObject magnet, GameObject coin ) : void
magnet GameObject
coin GameObject
return void

OnCoinCollected() public static method

public static OnCoinCollected ( Coin, coin ) : void
coin Coin,
return void

OnGroundHit() public static method

public static OnGroundHit ( ) : void
return void

OnNpcHit() public static method

public static OnNpcHit ( NPC, npc ) : void
npc NPC,
return void

OnPowerUpHit() public static method

public static OnPowerUpHit ( PowerUp, powerUp ) : void
powerUp PowerUp,
return void