# Conflicts:
#	Assets/01_Scenes/WhaleAdventure_VR/Rooms/CatsRoom.unity
This commit is contained in:
dldydtn9755-crypto
2026-06-25 16:44:47 +09:00
99 changed files with 4112 additions and 143 deletions

View File

@@ -0,0 +1,27 @@
using UnityEngine;
using UnityEngine.VFX;
public class zepe : MonoBehaviour
{
public VisualEffect vfx;
public Animator zepettoAnimator;
public string animationName;
public float delayBeforeVFX;
private bool hasPlayed = false;
private void OnTriggerEnter(Collider other)
{
if (hasPlayed) return;
if (!other.CompareTag("Player")) return;
hasPlayed = true;
zepettoAnimator.Play(animationName);
Invoke("PlayVFX", delayBeforeVFX);
}
private void PlayVFX()
{
vfx.SendEvent("OnPlay");
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e0b9356ed1cc2c746a48ea28d0537dc8

View File

@@ -8,4 +8,5 @@ public enum Zone
Seaside,
BlackjackGame,
BlackBgm,
MazeRoomSound
}