HeavenStudio/Assets/Scripts/Games/NightWalkAgb/AgbPlayYan.cs
2023-06-08 23:40:56 +02:00

24 lines
549 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HeavenStudio.Games.Scripts_AgbNightWalk
{
public class AgbPlayYan : MonoBehaviour
{
private AgbNightWalk game;
[SerializeField] private List<Animator> balloons = new List<Animator>();
private void Awake()
{
game = AgbNightWalk.instance;
foreach (var balloon in balloons)
{
balloon.Play("Idle", 0, UnityEngine.Random.Range(0f, 1f));
}
}
}
}