FMOD功能迁移
This commit is contained in:
@@ -6,6 +6,7 @@ using AibisDream.FixSystem;
|
||||
using UnityEngine.UI;
|
||||
using Unity.VisualScripting;
|
||||
using AibisDream;
|
||||
using AibisDream.Kit;
|
||||
|
||||
public class PunchTapeSystem : MonoBehaviour
|
||||
{
|
||||
@@ -47,7 +48,7 @@ public class PunchTapeSystem : MonoBehaviour
|
||||
{
|
||||
// Move the printer to x = 2 over 1 second
|
||||
yield return punchTapeMachine.DOAnchorPos(new Vector2(-1252f, punchTapeMachine.anchoredPosition.y), 1f).WaitForCompletion();
|
||||
AudioManager.RandomPlayInteraction("typing");
|
||||
FmodManager.Instance.PlaySfx("event:/Scriptal/typing");
|
||||
// Gradually move the punch tape to x = -3.8 with rhythmic pattern
|
||||
Vector2 targetPosition = new Vector2(796f, punchTape.anchoredPosition.y);
|
||||
int patternIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user