using UnityEngine; public class TestIndicator : MonoBehaviour, PuzzleS.IPuzzlePrompt { // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { } // Update is called once per frame void Update() { } public void OnShow() { gameObject.SetActive(true); } public void OnHide() { gameObject.SetActive(false); } public void ShowFar() { gameObject.SetActive(true); } public void ShowClose() { gameObject.transform.localScale = new Vector3(1f, 1f, 1f); } public void HideClose() { gameObject.transform.localScale = new Vector3(0.5f, 0.5f, 0.5f); } public void HideFar() { gameObject.SetActive(false); } }