Unity/UnityEditor

[Unity/UnityEditor] 용어 정리

sorry0101 2023. 5. 23. 09:24

ongui : game view가 이벤트를 받으면 호출

애트리뷰트
ExecuteInEditMode : play mode 가 아니어도 동작시킬 수 있으나 끊기는 현상이 있음

IMGUI(Immediate Mode GUI) : 직역하면 직접적인 모드, 즉시 모드, 코드 기반 gui 시스템

OnInspectorGUI() : 커스텀 인스펙터, Inspector 창에서 활동 감지



참고
https://bloodstrawberry.tistory.com/m/849
https://docs.unity3d.com/kr/530/Manual/gui-Basics.html

 

IMGUI 기본 사항 - Unity 매뉴얼

이 섹션에서는 Unity의 IMGUI(Immediate Mode GUI) 시스템을 사용하여 Controls 를 스크립팅해야 하는 필요성에 대해 설명합니다.

docs.unity3d.com

https://docs.unity3d.com/kr/530/Manual/GUIScriptingGuide.html

 

즉시 모드 GUI(IMGUI) - Unity 매뉴얼

“즉시 모드” GUI 시스템(IMGUI라고도 함)은 Unity의 메인 게임 오브젝트 기반 UI 시스템과 완전히 별개의 기능입니다. IMGUI는 코드 기반 GUI 시스템이며, 주로 프로그래머를 위한 툴로 사용됩니다. On

docs.unity3d.com

https://docs.unity3d.com/ScriptReference/Editor.OnInspectorGUI.html

 

Unity - Scripting API: Editor.OnInspectorGUI

Success! Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable. Close

docs.unity3d.com

https://docs.unity3d.com/ScriptReference/Editor.html