Wednesday, December 30, 2020
Unity's GUI, Editor and GUILayout and EditorLayout
Difference between GUILayout and EditorLayout in Unity.
What is difference between GUI and GUILayout?
GUI uses fixed layout which means every gui elements needs specific positions for their's position. so API look like GUI.Button(new Rect(...))
GUILayout uses automatic layout which means we don't need to specifiy positions for their's position. Layout logic will determine gui element's position automatically so API look like GUILayout.Button(...)
What is difference between GUILayout and EditorLayout?
Do not expect EditorLayout is a super set of GUILayout. Actually GUILayout and EditorLayout are totally different. Each classes has different kind of features so we can choose everything where it needs.
Subscribe to:
Post Comments (Atom)
Task in UnrealEngine
https://www.youtube.com/watch?v=1lBadANnJaw
-
Unity released very good FPS example for people and I decided to analysis how they make this. Personally I wanted to show you how I analys...
-
NSObjectCRuntime.h에서 오류가 나올 때 십중팔구 cpp파일의 속성을 objective c++로 설정하지 않아서 생기는 문제이다. 끝.
-
Class: ProjectileBase As you can see, ProjectileStandard has a member of ProjectileBase. ProjectileBase has a UnityAction variable, wh...
No comments:
Post a Comment