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 |
Tags
- critical rendering path
- OverTheWire
- Spring Boot
- SDK upgrade
- Google Refund
- spread 연산자
- express
- docker
- MySQL
- java
- Unity IAP
- Unity Editor
- screencapture
- Packet Network
- Google Developer API
- linux
- Camera Movement
- Camera Zoom
- --watch
- css framework
- mongoDB
- rpg server
- nodejs
- springboot
- draganddrop
- Digital Ocean
- react
- server
- unity
- Git
Archives
- Today
- Total
목록Unity Editor (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