cvr-props/Assets/ABI.CCK/Components/CVRWorldModifiers.cs

25 lines
864 B
C#
Raw Normal View History

2023-01-22 16:38:23 +01:00
using UnityEngine;
namespace ABI.CCK.Components
{
[AddComponentMenu("")]
[HelpURL("https://developers.abinteractive.net/cck/")]
public class CVRWorldModifiers : MonoBehaviour, ICCK_Component
2023-01-22 16:38:23 +01:00
{
[Space] [Header("World modification")] [Space]
[Range(1,5)] public float voiceCommsMinDistance = 1.5f;
[Range(3,50)] public float voiceCommsMaxDistance = 10f;
public float baseMovementSpeed = 2f;
public float jumpHeight = 1f;
public bool disableJumping = false;
public bool disableFlight = false;
public bool disableTeleportRequests = false;
public bool disableProps = false;
[Space] [Header("Newton Runtime")] [Space]
public bool newtonEnabled;
public bool autoRegisterFlavors;
public bool useGameObjectRegistry;
}
}