Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions com.unity.render-pipelines.core/Runtime/Camera/FreeCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public class FreeCamera : MonoBehaviour
/// </summary>
public float m_Turbo = 10.0f;

#if !USE_INPUT_SYSTEM
private static string kMouseX = "Mouse X";
private static string kMouseY = "Mouse Y";
private static string kRightStickX = "Controller Right Stick X";
Expand All @@ -44,6 +45,7 @@ public class FreeCamera : MonoBehaviour

private static string kYAxis = "YAxis";
private static string kSpeedAxis = "Speed Axis";
#endif

#if USE_INPUT_SYSTEM
InputAction lookAction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class VFXInputButtonBinder : VFXBinderBase
public float SmoothSpeed = 2.0f;
public bool UseButtonSmooth = true;

#if ENABLE_LEGACY_INPUT_MANAGER
float m_CachedSmoothValue = 0.0f;
#endif

public override bool IsValid(VisualEffect component)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class VFXInputKeyBinder : VFXBinderBase
public float SmoothSpeed = 2.0f;
public bool UseKeySmooth = true;

#if ENABLE_LEGACY_INPUT_MANAGER
float m_CachedSmoothValue = 0.0f;
#endif

public override bool IsValid(VisualEffect component)
{
Expand Down