Skip to content
Snippets Groups Projects
Commit af009512 authored by Alifia Rahmah's avatar Alifia Rahmah
Browse files

Merge branch 'main' of gitlab.informatika.org:kristabdi/unity-unt

parents 39caa5e5 b108deb0
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: b344780692a31734880a41b45689b4ac
guid: 30feefdd9e22c7b45bf21766f206c449
DefaultImporter:
externalObjects: {}
userData:
......
......@@ -267,8 +267,8 @@ public class PlayerShooting : MonoBehaviour
gunAudio.Play ();
//Play gun particle
gunParticles.Stop ();
gunParticles.Play ();
// gunParticles.Stop ();
// gunParticles.Play ();
//enable Line renderer
gunLine.enabled = true;
......@@ -300,8 +300,8 @@ public class PlayerShooting : MonoBehaviour
gunAudio.Play ();
//Play gun particle
gunParticles.Stop ();
gunParticles.Play ();
// gunParticles.Stop ();
// gunParticles.Play ();
//enable Line renderer
gunLine.enabled = true;
......
......@@ -16,7 +16,6 @@ public class PlayerWeaponManager : MonoBehaviour {
}
void Update() {
Debug.Log(gunList.transform.GetChild(0).ToString());
if (Input.GetKeyDown("1"))
{
gunList.transform.GetChild(0).gameObject.SetActive(true);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment