add Puzzle A variants
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using UnityEngine;
|
||||
using NaughtyAttributes;
|
||||
using UnityEngine;
|
||||
|
||||
namespace EscapeRoomEngine.Desert.Runtime
|
||||
{
|
||||
@@ -8,6 +9,7 @@ namespace EscapeRoomEngine.Desert.Runtime
|
||||
|
||||
internal bool active;
|
||||
[ColorUsage(false, true)] public Color color;
|
||||
[BoxGroup("Internal")] [Required] public MeshRenderer emissionRenderer;
|
||||
|
||||
private bool _previousActive;
|
||||
private Color _previousColor;
|
||||
@@ -15,7 +17,7 @@ namespace EscapeRoomEngine.Desert.Runtime
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_material = GetComponent<Renderer>().material;
|
||||
_material = emissionRenderer.material;
|
||||
}
|
||||
|
||||
private void Start()
|
||||
|
||||
Reference in New Issue
Block a user