using System.Collections; using System.Collections.Generic; using UnityEngine; public class OnActivateSpeechButton : MonoBehaviour { [SerializeField] GameObject notificationObj; [SerializeField] GameObject speechAlarmObj; private void OnEnable() { speechAlarmObj?.SetActive(true); notificationObj?.SetActive(true); } }