C# Class PlayerShip, asteroids-unity3d

Inheritance: SpaceObject
Afficher le fichier Open project: vitorog/asteroids-unity3d Class Usage Examples

Méthodes publiques

Свойство Type Description
hyperspace_anim_prefab_ GameObject
hyperspace_duration_ float
hyperspace_explode_chance_ float
max_projectiles_number_ int
max_velocity_ float
projectile_ Projectile,
projectile_sound_ UnityEngine.AudioClip
projectile_speed_ float
rigid_body_ UnityEngine.Rigidbody2D
rotate_speed_ float
ship_explosion_prefab_ ParticleSystem
thrust_force_ float
thrust_particles_prefab_ ParticleSystem

Méthodes publiques

Méthode Description
DestroyShip ( ) : void
FixedUpdate ( ) : void
Hyperspace ( ) : void
IsOnHyperspace ( ) : bool
IsPlayerAlive ( ) : bool
OnCollisionEnter2D ( Collision2D c ) : void
Shoot ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

DestroyShip() public méthode

public DestroyShip ( ) : void
Résultat void

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

Hyperspace() public méthode

public Hyperspace ( ) : void
Résultat void

IsOnHyperspace() public méthode

public IsOnHyperspace ( ) : bool
Résultat bool

IsPlayerAlive() public méthode

public IsPlayerAlive ( ) : bool
Résultat bool

OnCollisionEnter2D() public méthode

public OnCollisionEnter2D ( Collision2D c ) : void
c Collision2D
Résultat void

Shoot() public méthode

public Shoot ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

hyperspace_anim_prefab_ public_oe property

public GameObject hyperspace_anim_prefab_
Résultat GameObject

hyperspace_duration_ public_oe property

public float hyperspace_duration_
Résultat float

hyperspace_explode_chance_ public_oe property

public float hyperspace_explode_chance_
Résultat float

max_projectiles_number_ public_oe property

public int max_projectiles_number_
Résultat int

max_velocity_ public_oe property

public float max_velocity_
Résultat float

projectile_ public_oe property

public Projectile, projectile_
Résultat Projectile,

projectile_sound_ public_oe property

public AudioClip,UnityEngine projectile_sound_
Résultat UnityEngine.AudioClip

projectile_speed_ public_oe property

public float projectile_speed_
Résultat float

rigid_body_ public_oe property

public Rigidbody2D,UnityEngine rigid_body_
Résultat UnityEngine.Rigidbody2D

rotate_speed_ public_oe property

public float rotate_speed_
Résultat float

ship_explosion_prefab_ public_oe property

public ParticleSystem ship_explosion_prefab_
Résultat ParticleSystem

thrust_force_ public_oe property

public float thrust_force_
Résultat float

thrust_particles_prefab_ public_oe property

public ParticleSystem thrust_particles_prefab_
Résultat ParticleSystem