LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs

51 lines
535 B
C#
Raw Permalink Normal View History

2023-12-22 22:51:17 +00:00
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;
}
}
}