반응형
Notice
Recent Posts
Recent Comments
Link
목록코드정리 (1)
안 쓰던 블로그

이미지 박스 6개에다가 랜덤으로 이미지를 붙이는 동작을 하는 스크립트 객체가 6개에 이름이 box1Image, box2Image..니까 유니티 뉴비가 딱 보고 짰던 코드 public GameObject box1Image, box2Image, box3Image, box4Image, box5Image, box6Image; box1Image.GetComponent().me = 1; box2Image.GetComponent().me = 2; box3Image.GetComponent().me = 3; box4Image.GetComponent().me = 4; box5Image.GetComponent().me = 5; box6Image.GetComponent().me = 6; bm = new List(); bm.A..
유니티/개발
2020. 4. 14. 00:11