增加部分音频
This commit is contained in:
@@ -5,6 +5,7 @@ using UnityEngine;
|
||||
using AibisDream.FixSystem;
|
||||
using UnityEngine.UI;
|
||||
using Unity.VisualScripting;
|
||||
using AibisDream;
|
||||
|
||||
public class PunchTapeSystem : MonoBehaviour
|
||||
{
|
||||
@@ -46,7 +47,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");
|
||||
// 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