Exemplo n.º 1
0
 protected override void OnInit(string[] args)
 {
     base.time     = float.Parse(args[0]);
     this.range    = float.Parse(args[1]);
     this.hitratio = float.Parse(args[2]);
     this.bullet   = GameLogic.Release.Bullet.CreateBullet(base.m_Entity, 0x420, this.child.position, 0f) as Bullet1056;
     this.bullet.InitData(this.range, this.hitratio);
 }
Exemplo n.º 2
0
 protected override void OnDeinit()
 {
     if (this.bullet != null)
     {
         this.bullet.DeInit();
         this.bullet = null;
     }
 }