22 lines
No EOL
663 B
C#
Executable file
22 lines
No EOL
663 B
C#
Executable file
using System;
|
|
using UnityEngine;
|
|
|
|
namespace ABI.CCK.Components
|
|
{
|
|
[AddComponentMenu("ChilloutVR/Control Point")]
|
|
[HelpURL("https://developers.abinteractive.net/cck/")]
|
|
public class ControlPoint : MonoBehaviour, ICCK_Component
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
} |