reconnect, 30% fixes from test feedback
This commit is contained in:
@@ -69,7 +69,9 @@ public class Puck : NetworkBehaviour
|
||||
&& team == NetPlayer.localPlayer.myTeam
|
||||
&& GameManager.instance.SelectedTeam == team)
|
||||
{
|
||||
CameraEffects.instance.SetStretchFactor(lineEnd.magnitude / clamp);
|
||||
float baseStretch = lineEnd.magnitude / clamp;
|
||||
float distanceMultiplier = GameManager.instance.GetCameraStretchDistanceMultiplier(transform.position);
|
||||
CameraEffects.instance.SetStretchFactor(baseStretch * distanceMultiplier);
|
||||
}
|
||||
|
||||
// Only two points for the line
|
||||
|
||||
Reference in New Issue
Block a user