예제 #1
0
파일: Weapon.cs 프로젝트: Kinderril/p3
 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;
 }