quality-control/Assets/Plugins/KinematicCharacterController/Core/KCCSettings.cs
2024-08-17 00:50:47 +02:00

33 lines
1.6 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace KinematicCharacterController
{
[CreateAssetMenu]
public class KCCSettings : ScriptableObject
{
/// <summary>
/// Determines if the system simulates automatically.
/// If true, the simulation is done on FixedUpdate
/// </summary>
[Tooltip("Determines if the system simulates automatically. If true, the simulation is done on FixedUpdate")]
public bool AutoSimulation = true;
/// <summary>
/// Should interpolation of characters and PhysicsMovers be handled
/// </summary>
[Tooltip("Should interpolation of characters and PhysicsMovers be handled")]
public bool Interpolate = true;
/// <summary>
/// Initial capacity of the system's list of Motors (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)
/// </summary>
[Tooltip("Initial capacity of the system's list of Motors (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)")]
public int MotorsListInitialCapacity = 100;
/// <summary>
/// Initial capacity of the system's list of Movers (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)
/// </summary>
[Tooltip("Initial capacity of the system's list of Movers (will resize automatically if needed, but setting a high initial capacity can help preventing GC allocs)")]
public int MoversListInitialCapacity = 100;
}
}