Hi this is a very easy and straight forward question:
I have created this button in my custom inspector but when I press the button, it does not display the content I want displayed. how do I display the content?
Thanks.
if (GUILayout.Button("Texture Channel 0"))
{
planet.planetMaterial.SetFloat("_Metallic1", planet.metallicValue);
planet.metallicValue = EditorGUILayout.Slider(new GUIContent("Metallic Value"), planet.metallicValue, 0f, 1f);
}