prototyping

This commit is contained in:
2024-09-04 18:39:41 +05:30
parent 70303078c7
commit f5e1024744
62 changed files with 29061 additions and 12386 deletions

View File

@@ -0,0 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OnMusicFileSelected : MonoBehaviour
{
void Awake(){
GetComponent<Button>().onClick.AddListener(OnClicked);
}
void OnClicked(){
MusicLoader.instance.OnFileSelected(GetComponentInChildren<Text>().text);
}
}