C# Class BulletManager, CrabBattle

Inheritance: MonoBehaviour
Exibir arquivo Open project: tomoprime/CrabBattle Class Usage Examples

Public Properties

Property Type Description
Container GameObject
Instance BulletManager,

Public Methods

Method Description
BossSpawnShot ( Vector3 location, Vector3 velocity ) : void
GetEnemyBulletSpawnPoint ( Vector3 gun ) : Vector3
GetInstance ( ) : BulletManager,
PlayerBigShot ( Vector3 location, Quaternion rotation, bool firedbylocal ) : void
PlayerShot ( Vector3 location, Quaternion rotation, float speed, float life, bool firedbylocal ) : void

Private Methods

Method Description
GetPlayerBulletSpawnPoint ( Vector3 gun ) : Vector3
Start ( ) : void
Update ( ) : void

Method Details

BossSpawnShot() public method

public BossSpawnShot ( Vector3 location, Vector3 velocity ) : void
location Vector3
velocity Vector3
return void

GetEnemyBulletSpawnPoint() public method

public GetEnemyBulletSpawnPoint ( Vector3 gun ) : Vector3
gun Vector3
return Vector3

GetInstance() public static method

public static GetInstance ( ) : BulletManager,
return BulletManager,

PlayerBigShot() public method

public PlayerBigShot ( Vector3 location, Quaternion rotation, bool firedbylocal ) : void
location Vector3
rotation Quaternion
firedbylocal bool
return void

PlayerShot() public method

public PlayerShot ( Vector3 location, Quaternion rotation, float speed, float life, bool firedbylocal ) : void
location Vector3
rotation Quaternion
speed float
life float
firedbylocal bool
return void

Property Details

Container public_oe static_oe property

public static GameObject Container
return GameObject

Instance public_oe static_oe property

public static BulletManager, Instance
return BulletManager,