개발/Unity (6) 썸네일형 리스트형 [Unity] 스크립트 통해 Scene View 카메라 조작 커스텀 에디터를 만들다 보면 특정 조건에서 씬뷰의 카메라를 내가 원하는 위치와 각도로 제한하고 싶은 경우가 있는데 아래와 같은 코드를 통해 씬뷰의 카메라를 제어 할 수 있다. using UnityEditor; var sceneView = SceneView.lastActiveSceneView; sceneView.rotation = Quaternion.Euler(new Vector3(90, 0, 0)); sceneView.pivot = Vector3.zero; sceneView.size = 50; sceneView.orthographic = true; forum.unity.com/threads/moving-scene-view-camera-from-editor-script.64920/ Moving scene .. [Unity] newtonsoft Json.NET www.newtonsoft.com/json/help/html/SerializeTypeNameHandling.htm TypeNameHandling setting This sample uses the TypeNameHandling setting to include type information when serializing JSON and read type information so that the create types are created when deserializing JSON. www.newtonsoft.com stackoverflow.com/questions/6348215/how-to-deserialize-json-into-ienumerablebasetype-with-newtonsoft-json-.. [Unity] SQLite 사용 샘플 코드 DB 부모 클래스 using SQLite4Unity3d; using UnityEngine; namespace DB { public class DBBase { [PrimaryKey, AutoIncrement] public int Id { get; set; } public DBBase() { } } } DB 서비스 클래스 using System; using System.Collections.Generic; using System.Linq.Expressions; using SQLite4Unity3d; using UnityEngine; #if !UNITY_EDITOR using System.Collections; using System.IO; #endif namespace DB { public class Dat.. [C#] .cs to .dll 1. Developer Command Prompt for VS 2019 실행 2. csc -target:library TargetCSFile.cs https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/command-line-building-with-csc-exe Command-line build with csc.exe Command-line build with csc.exe In this article --> You can invoke the C# compiler by typing the name of its executable file (csc.exe) at a command prompt. If you use.. [Unity] 유용한 애셋 Utility - 로컬라이징 https://assetstore.unity.com/packages/tools/localization/i2-localization-14884?aid=1100l355n&gclid=CjwKCAjwgdX4BRB_EiwAg8O8Hc_2BWVI0oeDxfmKIZp8clcrbw1IxDBu-EMGhH6_MR4f4_6Puncp6hoCtl4QAvD_BwE&pubref=UnityAssets%2ADyn03%2A1723478829%2A67594162255%2A336302044055%2Ag%2A%2A%2Ab%2Ac%2Agclid%3DCjwKCAjwgdX4BRB_EiwAg8O8Hc_2BWVI0oeDxfmKIZp8clcrbw1IxDBu-EMGhH6_MR4f4_6Puncp6hoCtl4QAvD_BwE&ut.. [Unity] UGUI Input에서 Done 버튼 처리 https://stackoverflow.com/questions/29670276/how-to-detect-done-button-in-softkeyboard-unity3d 이전 1 다음