From 2956fe9b9918f3d54ad1922e4e32e72b2c7a7b7f Mon Sep 17 00:00:00 2001 From: sebastianhampel1 Date: Fri, 14 Jul 2023 20:02:11 -0400 Subject: [PATCH] testing weapon switch rpc --- Assets/Scripts/Item/Pistol/PistolComponent.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Assets/Scripts/Item/Pistol/PistolComponent.cs b/Assets/Scripts/Item/Pistol/PistolComponent.cs index 551c28f..148fee0 100644 --- a/Assets/Scripts/Item/Pistol/PistolComponent.cs +++ b/Assets/Scripts/Item/Pistol/PistolComponent.cs @@ -146,12 +146,8 @@ namespace Item projectile.transform.localScale =bulletSpawnPoint.transform.localScale; InstanceFinder.ServerManager.Spawn(projectile); //var projectile = Instantiate(projectilePrefab, bulletSpawnPoint); - //InstanceFinder.ServerManager.Spawn(projectile); - /*projectile.transform.localPosition = Vector3.zero; - projectile.transform.localEulerAngles = Vector3.zero; - projectile.transform.localScale = Vector3.one;*/ var pRigid = projectile.GetComponent(); /*Modified targeting system