add Puzzle A variants

This commit is contained in:
2022-11-22 00:10:26 +01:00
parent 7244ab470c
commit 593379dd36
66 changed files with 1524 additions and 882 deletions

View File

@@ -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()