LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs
2023-12-22 18:30:10 -05:00

50 lines
535 B
C#

using System;
using UnityEngine;
namespace DunGen
{
[Serializable]
public sealed class Key
{
public GameObject Prefab;
public Color Colour;
public IntRange KeysPerLock = new IntRange(1, 1);
[SerializeField]
private int id;
[SerializeField]
private string name;
public int ID
{
get
{
return id;
}
set
{
id = value;
}
}
public string Name
{
get
{
return name;
}
internal set
{
name = value;
}
}
internal Key(int id)
{
this.id = id;
}
}
}