33 lines
642 B
C#
33 lines
642 B
C#
using Escape_Room_Engine.Desert.Scripts;
|
|
using UnityEngine;
|
|
|
|
namespace Escape_Room_Engine.Desert.Modules.Puzzle_A.Scripts
|
|
{
|
|
[RequireComponent(typeof(Emission))]
|
|
public class Symbol : MonoBehaviour
|
|
{
|
|
public float anglePosition;
|
|
|
|
public bool Active
|
|
{
|
|
get => _emission.active;
|
|
set
|
|
{
|
|
_emission.active = value;
|
|
}
|
|
}
|
|
|
|
private Emission _emission;
|
|
|
|
private void Awake()
|
|
{
|
|
_emission = GetComponent<Emission>();
|
|
}
|
|
|
|
private void Start()
|
|
{
|
|
Active = false;
|
|
}
|
|
}
|
|
}
|