30 lines
635 B
C#
30 lines
635 B
C#
using System.Collections.Generic;
|
|
using NaughtyAttributes;
|
|
using UnityEngine;
|
|
|
|
namespace EscapeRoomEngine.Desert.Runtime
|
|
{
|
|
[RequireComponent(typeof(Collider))]
|
|
public class Hoop : MonoBehaviour
|
|
{
|
|
[BoxGroup("Internal")] [SerializeField]
|
|
private List<Emission> rings;
|
|
|
|
public bool Solved
|
|
{
|
|
set
|
|
{
|
|
if (value)
|
|
{
|
|
rings.ForEach(ring => ring.color = );
|
|
}
|
|
else
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
private int _orbCount;
|
|
}
|
|
} |