본문 바로가기

전체 글

(113)
현재(2017-06-09) SteamVive SDK는 Unity 5.5.2에서 안정적으로 작동함. Unity 최신판인 5.6.x에서는 컨트롤러 인식을 못하는 버그가 있음
닥치고 사칙연산으로 이해하는(?) 기초 수학1 : 원주율편 원의 둘레 = 반지름 x 2 x 3.14(흔히 파이) 1. 반지름이 2개면 지름2. 지름 x 3.14 = 원의 둘레3. 지름이 1이면, 둘레는 3.14즉, 원의 둘레는 지름의 3.14배즉, 파이는 원의 지름이 1일때 원의 둘레 응용 1. 원의 둘레를 360으로 나누고 현재 각을 곱하면 호의 길이가 나오겠지?
Parse Boomlagoon JSON This package is a lightweight C# JSON implementation. Simply import it into your Unity project and it's ready to use. Boomlagoon JSON doesn't throw exceptions so it's compatible with Unity's 'Fast but no Exceptions' script call optimization. There is no casting involved, instead all valid JSON values are accessible as the correct C# types. Usage: Parsing a string into a JSONObjec..
[Cloud] 마커의 메타데이터 호출 함수. TargetSearchResult.Metadata() TargetFinder.TargetSearchResult //이 구조체는 특정 검색 결과의 모든 알려진 데이터를 포함합니다. public struct TargetSearchResult { public string MetaData; public string TargetName; public IntPtr TargetSearchResultPtr; // public float TargetSize; // public byte TrackingRating; public string UniqueTargetId; }
[Cloud] 최초 마커 스캔시 발생되는 함수. CloudRecoEventHandler.cspublic void OnNewSearchResult(TargetFinder.TargetSearchResult targetSearchResult)
Assetbundle Builde Script using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEditor; public class CreateAssetBundle : Editor { [MenuItem("Assets/BuildBundle")] static void BuildBundle() { string path = EditorUtility.SaveFilePanel("Save Resoruce", "", "파일네임", "확장자"); if (path.Length != 0) { Object[] selection = Selection.GetFiltered(typeof(Object), SelectionMode.DeepAssets); BuildPipeli..
out web link using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Start() { Application.OpenURL("http://unity3d.com/"); } }
Blander 셋팅 최초 실행시 File->User Preferences (Ctrl+Alt+U) [한글설정]System 탭 - > Internaltional Fonts 체크 (바로 하단 Language가 활성화됨) Language를 클릭하여 Krean(한국 언어)를 선택 바로 하단 Translate에서 Interface와 Tooltip메뉴 활성화하면 한글로 변하는 것을 볼 수 있음. 그리고 저장. [모션캡쳐 데이터 임포트] Add-ons탭에 Import-Export카테고리에서 설정할 수 있다.