mirror of
https://github.com/nothke/quality-control.git
synced 2024-11-15 06:53:41 +00:00
33 lines
1.6 KiB
C#
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;
|
|||
|
}
|
|||
|
}
|