Ejemplo n.º 1
0
 public void Init(Unit owner,PlayerItem PlayerItem)
 {
     pool = DataBaseController.Instance.Pool;
     pool.RegisterBullet(bullet);
     bulletParent = Map.Instance.bulletContainer;
     nexAttackTime = 0;
     this.PlayerItem = PlayerItem;
     if (pSystemOnShot != null)
     {
         pSystemOnShot.Stop();
     }
     this.owner = owner;
 }