본문 바로가기

unity3

ARFoundation으로 ARCore 사용하기 - 초기셋팅 ARFoundation으로 ARCore 사용하기 - 초기셋팅 *Unity 버전 2020.1.10f1을 사용하였습니다. File -> Build Settings 플랫폼을 안드로이드로 바꿔줍니다. Window -> Package Manager 검색란에 AR을 검색하여 AR Foundation 과 ARCore XR Plugin을 설치해 줍니다. *Verified 된 버전을 설치합니다. Hierarchy 창에 우클릭 또는 +버튼 -> XR -> AR Session과 AR Session Origin을 생성합니다. 원래 들어있던 MainCamera를 삭제하고 AR Session Origin 하위에 있는 AR Camera의 Tag를 MainCamera로 수정합니다. 테스트를 위해 스피어를 0,0,0에 생성합니다. F.. 2020. 10. 27.
[Unity] Vuforia 사용법 [Unity] Vuforia 사용법 Vuforia developer.vuforia.com/ Vuforia Developer Portal | Sep 09, 2020 Vuforia Engine 9.4 is Available! The team is happy to announce the release of Vuforia Engine 9.4 today! This new update focuses on enhancing our Model Target feature. We’re also releasing a new application, the Vuforia Area Target Creator, s developer.vuforia.com Development Key를 생성한다. 연습이니까 무료 라이센트키를 발급 받.. 2020. 9. 21.
[Unity] 버튼에 마우스 클릭 이벤트 사용하기 [Unity] 버튼에 마우스 클릭 이벤트 사용하기 using UnityEngine; using UnityEngine.UI; public class Example : MonoBehaviour { //Make sure to attach these Buttons in the Inspector public Button m_YourFirstButton, m_YourSecondButton, m_YourThirdButton; void Start() { //Calls the TaskOnClick/TaskWithParameters/ButtonClicked method when you click the Button m_YourFirstButton.onClick.AddListener(TaskOnClick); m_YourSe.. 2020. 9. 21.