File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
com.unity.render-pipelines.core/Runtime/Camera
com.unity.visualeffectgraph/Runtime/Utilities/PropertyBinding/Implementation Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public class FreeCamera : MonoBehaviour
3535 /// </summary>
3636 public float m_Turbo = 10.0f ;
3737
38+ #if ! USE_INPUT_SYSTEM
3839 private static string kMouseX = "Mouse X" ;
3940 private static string kMouseY = "Mouse Y" ;
4041 private static string kRightStickX = "Controller Right Stick X" ;
@@ -44,6 +45,7 @@ public class FreeCamera : MonoBehaviour
4445
4546 private static string kYAxis = "YAxis" ;
4647 private static string kSpeedAxis = "Speed Axis" ;
48+ #endif
4749
4850#if USE_INPUT_SYSTEM
4951 InputAction lookAction ;
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ class VFXInputButtonBinder : VFXBinderBase
2020 public float SmoothSpeed = 2.0f ;
2121 public bool UseButtonSmooth = true ;
2222
23+ #if ENABLE_LEGACY_INPUT_MANAGER
2324 float m_CachedSmoothValue = 0.0f ;
25+ #endif
2426
2527 public override bool IsValid ( VisualEffect component )
2628 {
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ class VFXInputKeyBinder : VFXBinderBase
2020 public float SmoothSpeed = 2.0f ;
2121 public bool UseKeySmooth = true ;
2222
23+ #if ENABLE_LEGACY_INPUT_MANAGER
2324 float m_CachedSmoothValue = 0.0f ;
25+ #endif
2426
2527 public override bool IsValid ( VisualEffect component )
2628 {
You can’t perform that action at this time.
0 commit comments