comment pass
This commit is contained in:
@@ -4,11 +4,19 @@ using UnityEngine;
|
||||
|
||||
namespace EscapeRoomEngine.Desert.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// A rotating crystal that can change colour.
|
||||
/// </summary>
|
||||
[RequireComponent(typeof(Emission))]
|
||||
public class Crystal : MonoBehaviour
|
||||
{
|
||||
[Required] public Light crystalLight;
|
||||
[Required]
|
||||
[BoxGroup("Internal")]
|
||||
public Light crystalLight;
|
||||
|
||||
/// <summary>
|
||||
/// Turns the crystal light on or off.
|
||||
/// </summary>
|
||||
public bool Active
|
||||
{
|
||||
set
|
||||
@@ -18,6 +26,9 @@ namespace EscapeRoomEngine.Desert.Runtime
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The crystal light and emission colours.
|
||||
/// </summary>
|
||||
public DynamicColor Color
|
||||
{
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user