comment pass
This commit is contained in:
@@ -6,13 +6,18 @@ using LogType = EscapeRoomEngine.Engine.Runtime.Utilities.LogType;
|
||||
|
||||
namespace EscapeRoomEngine.Desert.Runtime.Dispenser
|
||||
{
|
||||
/// <summary>
|
||||
/// The main component for the dispenser module.
|
||||
/// </summary>
|
||||
[SelectionBase]
|
||||
[RequireComponent(typeof(Animator), typeof(Emission))]
|
||||
public class Dispenser : ModuleState
|
||||
{
|
||||
private static readonly int Open = Animator.StringToHash("Open");
|
||||
|
||||
[Tooltip("The object this dispenser should produce.")]
|
||||
public Transform dispensable;
|
||||
[Tooltip("The time in seconds to wait until another object can be produced.")]
|
||||
[SerializeField] [Min(0)]
|
||||
private float cooldown;
|
||||
[BoxGroup("Internal")] [SerializeField]
|
||||
@@ -20,6 +25,9 @@ namespace EscapeRoomEngine.Desert.Runtime.Dispenser
|
||||
[BoxGroup("Internal")] [SerializeField]
|
||||
private Button dispenseButton;
|
||||
|
||||
/// <summary>
|
||||
/// The dispenser does not produce any more objects when it is solved and changes colour.
|
||||
/// </summary>
|
||||
public bool Solved
|
||||
{
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user