Update PistolComponent.cs
This commit is contained in:
parent
970a2a5697
commit
ed815775eb
@ -142,9 +142,11 @@ namespace Item
|
||||
var projectile = Instantiate(projectilePrefab);
|
||||
projectile.transform.position = bulletSpawnPoint.transform.position;
|
||||
projectile.transform.rotation = bulletSpawnPoint.transform.rotation;
|
||||
//Comment this line if you want to remove the mega scale.
|
||||
projectile.transform.localScale =bulletSpawnPoint.transform.localScale;
|
||||
InstanceFinder.ServerManager.Spawn(projectile); //var projectile = Instantiate(projectilePrefab, bulletSpawnPoint);
|
||||
|
||||
|
||||
//InstanceFinder.ServerManager.Spawn(projectile);
|
||||
|
||||
/*projectile.transform.localPosition = Vector3.zero;
|
||||
|
Reference in New Issue
Block a user