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

22 lines
663 B
C#
Raw Normal View History

2023-01-22 16:38:23 +01:00
using System;
using UnityEngine;
namespace ABI.CCK.Components
{
[AddComponentMenu("ChilloutVR/Control Point")]
[HelpURL("https://developers.abinteractive.net/cck/")]
public class ControlPoint : MonoBehaviour, ICCK_Component
2023-01-22 16:38:23 +01:00
{
public GameInstanceController gameInstanceController;
public string referenceID;
public float captureTime = 10f;
public bool captureBonusForMultiplePeople = false;
public float recaptureDelay = 30f;
public int scorePerSecond = 1;
private void Reset()
{
referenceID = Guid.NewGuid().ToString();
}
}
}