47 lines
759 B
C#
47 lines
759 B
C#
using UnityEngine;
|
||
|
||
namespace Lights
|
||
{
|
||
public static class LightSystem
|
||
{
|
||
private static bool initialized = false;
|
||
private static LightConfig config;
|
||
|
||
public static void Init()
|
||
{
|
||
if (initialized) return;
|
||
|
||
config = new LightConfig();
|
||
|
||
initialized = true;
|
||
}
|
||
|
||
public static void SetLight(LightMode mode)
|
||
{
|
||
|
||
}
|
||
|
||
public static void SetIndicator(Indiсator indiсator, float percent)
|
||
{
|
||
percent = Mathf.Clamp01(percent);
|
||
|
||
}
|
||
}
|
||
|
||
public class LightConfig
|
||
{
|
||
|
||
}
|
||
|
||
public enum LightMode
|
||
{
|
||
Idle
|
||
}
|
||
|
||
public enum Indiсator
|
||
{
|
||
Life,
|
||
TorpedoAmmo,
|
||
MissileAmmo
|
||
}
|
||
} |