using UnityEngine; public class WaitDialog : BaseDialog { [SerializeField] private GameObject _waitObj; private Vector3 _rot = new Vector3(0, 0, -2); void Awake () { m_type = DialogType.WAIT_DIALOG; } public override void Update () { base.Update(); if (_waitObj) _waitObj.transform.Rotate(_rot); } }