问题修复
1. 指针切换问题 2. 不同分辨率适配问题
This commit is contained in:
@@ -83,7 +83,9 @@ namespace AibisDream.FixSystem
|
||||
// 逐个字符添加
|
||||
yield return DOTween.To(() => text.text.Length, x => UpdateText(x, targetText, oldText), targetLength,
|
||||
targetText.Length * typeSpeed).WaitForCompletion();
|
||||
EnumEventSystem.Global.Send(DialogEventEnum.LineShown);
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
EnumEventSystem.Global.Send(DialogEventEnum.LineEnd);
|
||||
_nextStep.Invoke();
|
||||
}
|
||||
|
||||
|
||||
@@ -68,8 +68,6 @@ namespace AibisDream
|
||||
var duration = 1 / Mathf.Abs(initSpeed * speedRadio);
|
||||
|
||||
var target = speedRadio >= 0 ? new Vector3(0, 0, 360) : new Vector3(0, 0, -360);
|
||||
|
||||
Debug.Log("Rotate");
|
||||
_rotateTween = gear.DORotate(target, duration, RotateMode.LocalAxisAdd)
|
||||
.SetEase(Ease.Linear)
|
||||
.SetLoops(-1, LoopType.Incremental);
|
||||
|
||||
@@ -203,7 +203,7 @@ namespace AibisDream
|
||||
else
|
||||
{
|
||||
_actorName.transform.parent.localPosition =
|
||||
character.key == "me" ? new Vector3(460, 150, 0) : new Vector3(-630, 150, 0);
|
||||
character.key == "me" ? new Vector3(310, 95, 0) : new Vector3(-458, 95, 0);
|
||||
|
||||
_actorName.transform.parent.gameObject.SetActive(true);
|
||||
_actorName.text = character.GetActorName();
|
||||
|
||||
Reference in New Issue
Block a user