lucid-super-dream/Assets/Scripts/SelectAccessibilityButton.cs

14 lines
339 B
C#
Raw Normal View History

2021-01-11 11:01:41 +01:00
using UnityEngine;
public class SelectAccessibilityButton : MonoBehaviour
{
[SerializeField] private AccessibilityMode mode;
[SerializeField] private AccessibilityOptions options;
[SerializeField] private TunnelController tunnel;
public void Select()
{
options.Mode = mode;
tunnel.Reset();
}
}