16 lines
479 B
C#
16 lines
479 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class AdaptiveSimulationSettings
|
|
{
|
|
[Tooltip("If enabled the position of the simulation zone will attempt to adapt to the direction of movement of the main input.")]
|
|
public bool useAdaptivePosition;
|
|
|
|
[Tooltip("How much of a position offset to apply to the simulation zone.")]
|
|
public int adaptiveOffset = 50;
|
|
|
|
[Tooltip("The minimum change in collision position to count as movement.")]
|
|
public int adaptiveTollerance;
|
|
}
|