You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
364 B

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);
}
}