툴/유니티 74

유니티에서 타프로그램 창 화면 가져오기

https://github.com/hecomi/uWindowCapture GitHub - hecomi/uWindowCapture: This allows you to use Windows Graphics Capture / PrintWindow / BitBlt in Windows to capture mul This allows you to use Windows Graphics Capture / PrintWindow / BitBlt in Windows to capture multiple windows individually and easily use them as Texture2D in Unity. - GitHub - hecomi/uWindowCaptur... github.com 윈도우에서 작업표시줄에 표시되..

툴/유니티 2021.08.02

[C#]유니티 JSON 데이터 받아오기

유니티에서 Json 데이터 받기 using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class JsonData { public int A; public string B; } public class JsonReceiver : MonoBehaviour { public static JsonData data1; WWW www; string T; public string url = "Json데이터 받아올 URL주소"; void Start() { InvokeRepeating("CoroutineLoad", 0, 1f); //Json데이터 반복해서 업데이트 } void Updat..

툴/유니티 2021.08.02

AR Foundation 트랙킹 실패시 오브젝트 끄기

https://youtu.be/qIxClnigves AR 개발을 하면서 이 튜토리얼을 보고 많이 도움이 됐다. 감사합니다. 그런데 몇번씩 똑같이 만들었지만, 뭐가 문제인지 이미지 트랙킹안되는 상황이 되도 오브젝트가 안꺼짐. 댓글에도 똑같이 안되는 사람들이 있었음. 아마 버전차이거나 환경셋팅이 좀 달라진게 있었던게 아닌가 싶음. ​ 일일히 디버그 찍어보면서 어디서 코드가 작동안하나 확인해봤고, 결국 내 환경에서 작동이 되게 수정함 코드 백업 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR; using UnityEngine.XR.ARFoundation; ​ public class..

툴/유니티 2021.08.01