/// <summary> /// Call for this player to shoot a rocket ( !!! Should not be called by anything else than PlayerShoot !!! ) /// </summary> /// <param name="rocketBody">Rocket prefab</param> /// <param name="playerFireOutputTransform">Transform to spawn the rocket from rocket</param> /// <param name="targetrotation">Rotation of the rocket when spawned</param> public void Call_ShootRocket(Vector3 targetposition, Quaternion targetrotation, Team newteam, NetworkIdentity ownerIdentity) { playerCommand.Cmd_ShootRocket(targetposition, targetrotation, newteam, ownerIdentity); }