32 lines
591 B
C#
32 lines
591 B
C#
using UnityEngine;
|
|
|
|
namespace EscapeRoomEngine.Desert.Runtime.Puzzle_A
|
|
{
|
|
[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;
|
|
}
|
|
}
|
|
}
|