-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLGSVLPylon.cs
40 lines (35 loc) · 1.12 KB
/
LGSVLPylon.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* Copyright (c) 2021-2022 Gaia Platform LLC
*
* This software contains code licensed as described in LICENSE.
*
*/
using System.Collections.Generic;
using UnityEngine;
namespace Simulator.Controllable
{
public class LGSVLPylon : MonoBehaviour, IControllable
{
public bool Spawned { get; set; }
public string UID { get; set; }
public string GUID => UID;
public string ControlType { get; set; } = "cone";
public string CurrentState { get; set; }
public string[] ValidStates { get; set; } = new string[] { };
public string[] ValidActions { get; set; } = new string[] { };
public List<ControlAction> DefaultControlPolicy { get; set; } = new List<ControlAction>();
public List<ControlAction> CurrentControlPolicy { get; set; }
private void Awake()
{
CurrentState = "";
CurrentControlPolicy = DefaultControlPolicy;
}
protected void OnDestroy()
{
Resources.UnloadUnusedAssets();
}
public void Control(List<ControlAction> controlActions)
{
}
}
}