// Use this for initialization void Start () { transform.position = left_arm.position + new Vector3(boss.localScale.x * -65f, boss.localScale.y * -107.5f, -0.02f); shooter = gameObject.GetComponent<enemyShooter>(); shooter.SetBulletInfo(10,Attribute.EMPTY,HitType.NORMAL,250f,0.05f,State.NONE,15f); shooter.SetShooitngInfo(8, 8, 2, 1.5f, 0.2f, 50f); StartCoroutine(LoadSprites()); }
// Use this for initialization void Start () { transform.position = right_arm.position + new Vector3(boss.localScale.x * 66f, boss.localScale.y * -106.5f, -0.02f); shooter = gameObject.GetComponent<enemyShooter>(); shooter.SetBulletInfo(11, (Attribute)0, (HitType)0, 250f, 0.05f, State.NONE, 15f); shooter.SetShooitngInfo(8, 8, 2, 1.5f, 0.2f, 50f); StartCoroutine(LoadSprites()); }