Unity
-
-
Unity - Scene 전환Unity 2020. 8. 1. 22:19
SceneManager.LoadScene() public static void LoadScene(int sceneBuildIndex, SceneManagement.LoadSceneMode mode = LoadSceneMode.Single); public static void LoadScene(string sceneName, SceneManagement.LoadSceneMode mode = LoadSceneMode.Single); Parameters sceneName: Name or path of the Scene to load. sceneBuildIndex: Index of the Scene in the Build Settings to load. mode: Allows you to specify whet..
-
Unity - TextMesh(3D Text)Unity 2020. 8. 1. 22:16
Properties alignment: How lines of text are aligned (Left, Right, Center). anchor: Which point of the text shares the position of the Transform. characterSize: The size of each character (This scales the whole text). color: The color used to render the text. font: The Font used. fontSize: The font size to use (for dynamic fonts). fontStyle: The font style to use (for dynamic fonts). lineSpacing:..
-
Unity - 기초 개념Unity 2020. 8. 1. 17:31
UnityEditor -> Scene -> Hierarchy -> GameObject -> Component -> Attribute -> Value 기본 개념 Unity에서 모든 것에 시작점이되는 Root부터 이해해야 한다. 프로그래밍 언어에서 main(개발자 코드의 실행이 시작되는 위치)에 해당하는 최초의 시작점이다. InstanceRoot 모든 것에 시작점. GameObject들이 여기에 속해서 생성되고 동작 될 수 있다. Hierarchy창을 통해 등록된 목록들을 확인할 수 있다. 모두 GameObject단위들이다. GameObject Unity에서 활동하는 모든 물체나 객체들의 근본 요소이다. GameObject는 Unity에 기본 단위다. 생성되고 동작은 Root에 등록된 것(Hierarchy창..
-
Unity - WebViewUnity 2020. 7. 30. 22:05
https://github.com/gree/unity-webview unity-webview unity-ebview is a plugin for Unity 5 that overlays WebView components on Unity view. It works on Android, iOS, Unity Web Player, and Mac (Windows is not supported for now). Sample Project It is placed under sample/. You can open it and import the plugin as below: Open sample/Assets/Sample.unity. Open dist/unity-webview.unitypackage and import a..