Subversion Repository Public Repository

Nextrek

Diff Revisions 139 vs 140 for /3DSpace/Assets/Custum/Scripts/EnemyShip.cs

Diff revisions: vs.
  @@ -108,12 +108,12 @@
108 108 Random.Range(-WEAPON_AIM,WEAPON_AIM)
109 109 );
110 110 small = small*this.transform.rotation;
111 -
111 +
112 112 Vector3 _pos = transform.position + transform.right * _wmp.x + transform.up * _wmp.y + transform.forward * _wmp.z;
113 113 Transform _laserShot = (Transform) Instantiate(laserShotPrefab, _pos, small);
114 114 _laserShot.GetComponent<SU_LaserShot>().firedBy = transform;
115 115 }
116 -
116 +
117 117 if (soundEffectFire != null)
118 118 {
119 119 audio.PlayOneShot(soundEffectFire);