don't cache theme colours
This commit is contained in:
30
Assets/Desert/Runtime/Hoop.cs
Normal file
30
Assets/Desert/Runtime/Hoop.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user