Exemplo n.º 1
0
 private void me_OnCollisionEvent(object sender, OnCollisionEventArgs args)
 {
 }
Exemplo n.º 2
0
 private void Shot_OnCollisionEvent(object sender, OnCollisionEventArgs args)
 {
     // remove ourselves.
     _scene.GameObjects.RemoveObject(this.Id);
 }
Exemplo n.º 3
0
 void Destroy(object sender, OnCollisionEventArgs e)
 {
     e.Collider.gameObject.GetComponent <IDespawnable>().Despawn();
     GameManager.Current.IncreaseScore();
 }
Exemplo n.º 4
0
 private void EnemyShip_OnCollisionEvent(object sender, OnCollisionEventArgs args)
 {
     MainScene.SpawnShip();
     Scene.GameObjects.RemoveObject(this.Id);
 }
Exemplo n.º 5
0
 private void OnCollided(OnCollisionEventArgs e)
 {
     collided?.Invoke(this, e);
 }
Exemplo n.º 6
0
 private void notifyListners(OnCollisionEventArgs pArgs)
 {
     OnCollisionEvent(this, pArgs);
 }