Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- MySQL
- screencapture
- Digital Ocean
- unity
- linux
- docker
- express
- Git
- Camera Movement
- Spring Boot
- nodejs
- critical rendering path
- Camera Zoom
- spread 연산자
- draganddrop
- java
- Unity Editor
- --watch
- server
- rpg server
- Google Refund
- Unity IAP
- SDK upgrade
- react
- Packet Network
- OverTheWire
- Google Developer API
- css framework
- springboot
- mongoDB
Archives
- Today
- Total
목록MenuItem (1)
우당탕탕 개발일지

유니티에서 테스트를 하다보면 로컬데이터를 삭제해야하는 일이 굉장히 많은데, 파일탐색기에서 찾아가자니 너무 귀찮아서 유니티 에디터에서 그냥 클릭-클릭 삭제하는 방법이 없을까? 하다가 MenuItem이라는 것을 알게되었다. using System; using UnityEditor; //이게 꼭 필요하다 using UnityEngine; public class ESATools : MonoBehaviour // 상단메뉴에 ESATools라고 나온다 { [MenuItem("ESATools/Delete Local Data")] static void DoSomething() { try { string path = Application.persistentDataPath + "/saves/"; FileUtil.Delet..
Unity
2023. 7. 27. 19:56