본문 바로가기
개발/Unity

Unity) Unity 내장 icon 종류(Editor Built-in icons)

by 테샤르 2022. 6. 15.

Unity 내장 icon 종류(Editor Built-in icons)

Unity 에서 기본적으로 내장하고 있는 Icon 에 대한 정보 링크이다.

자주 사용하는 항목은 다음과 같다.

Prefab Icon
Favorite Icon
Folder Icon
Animation Icon
Shader Icon
ScriptableObject Icon
Terrain Icon
TextMesh Icon
BoxCollider Icon
Camera Icon
RectTransform Icon

 

 

반응형

 

Unity 내장 리소스에서 Icon을 가져온다.

사용방법은 다음과 같다.

필요한 Icon 의 Name을 넣으면 된다.

 

EditorGUIUtility.IconContent("Animation Icon").image

 

 

2020.1.01f 를 기준으로 Icon의 Name 과 File ID를 확인할수있는 : [ 링크 ]

 

GitHub - halak/unity-editor-icons

Contribute to halak/unity-editor-icons development by creating an account on GitHub.

github.com

 

Unity EditorGuiUtility.IconConent : [ 링크 ]

 

Unity - Scripting API: EditorGUIUtility.IconContent

EditorGUIUtility.IconContent is used to create a GUIContent for a GUI element. Only icons are loaded. Typically the icon from Assets/Editor Default Resources/Icons is fetched using the first argument. Only the name of the icon, without the png extension is

docs.unity3d.com

 

 

★☆☆☆☆

 

반응형

댓글