foreach(Transform chlid in musicList)
{
Destroy(chlid.gameObject);
}
'유니티' 카테고리의 다른 글
[ 유니티 ]SkyBox가 인게임에서 안바뀌는 문제 해결 (0) | 2023.04.05 |
---|---|
[ 유니티 ] 곡 별 점수를 PlayerPrefs에 저장하기 (0) | 2023.04.05 |
[ 유니티 ] 유니티 2021.3.16f1 설치 오류 (0) | 2023.03.29 |
[ 유니티 ] Action (Delegate)과 event 키워드 (0) | 2023.02.28 |
[유니티] Some objects were not cleaned up when closing the scene. (Did you spawn new GameObjects from OnDestroy?) 오류 (0) | 2023.02.20 |