Exemple #1
0
 public void TryExplosion(MineTryExplosionEvent evt, AnyActiveMineInstantiatedNode mine, [JoinByTank] SingleNode <SelfTankComponent> tank)
 {
     MineUtil.ExecuteSplashExplosion(mine.Entity, tank.Entity, mine.effectInstance.GameObject.transform.position);
 }
Exemple #2
0
 public void Explosion(TriggerEnterEvent e, RemoteTankNode targetTank, SpiderActiveNode spider, [JoinByTank] SingleNode <SelfTankComponent> tank)
 {
     MineUtil.ExecuteSplashExplosion(spider.Entity, tank.Entity, spider.rigidbody.Rigidbody.transform.position);
 }