Unityã®ã¨ãã£ã¿æ¡å¼µã§ãããªã¢ã«InspectorãMaterialEditorã使ããã«æ¡å¼µããæ£ããæ¹æ³ã«ã¤ãã¦ã¾ã¨ãã¾ããã ãã¡ãªä¾ æ£ããæ¹æ³ åè é¢é£ Unity2018.4.6 ãã¡ãªä¾ ä»ããããªã¢ã«ã®Inspectorãæ¡å¼µãã¦ä»¥ä¸ã®ãããªãã§ãã¯ããã¯ã¹ã表示ãããã¨ãèãã¾ãã OnGUIã®å¼æ°ã®materialEditorã使ãã°ç°¡åã«æç»ã¯ã§ãã¾ãããä»åã¯ä½¿ããªãæ¹æ³ãèãã¾ãã ããã§ã³ã³ãã¼ãã³ãã®Inspectorãæ¡å¼µããæ¹æ³ã¨åããããªæãã§å®è£ ãã¦ã¿ã¾ãã using UnityEditor; public class ExampleShaderGUI : ShaderGUI { public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] proper
{{#tags}}- {{label}}
{{/tags}}