MIF_E31222344/Malukuu/Assets/Script/AnimasiTombol.cs

16 lines
329 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimasiTombol : MonoBehaviour
{
// Start is called before the first frame update
public void Animasi()
{
GetComponent<Animation>().Play("btn_bermain");
KumpulanSuara.instance.Panggil_Sfx(0);
}
}