Beispiel #1
0
 public override void InitMonster()
 {
     ShootTime  = 1.0f;
     shoot      = 0;
     Gun        = transform.GetChild(0).GetComponent <GhostGun>();
     Gun.damage = this.damage;
 }
 public override void Init()
 {
     Gun = transform.GetChild(0).GetComponent <GhostGun>();
     transform.localScale = new Vector2(5f, 5f);
     attackRange          = 20f;
     detectRange          = 30f;
 }