Example #1
0
    protected void ShowGeneralProperties2(MaterialEditor me)
    {
        EditorGUILayout.Space();
        EditorGUILayout.LabelField("Map Tiling", EditorStyles.boldLabel);

        MultiMaterialEditorGUI.TextureScaleOffsetField(me, "_MainTex");

        EditorGUILayout.Space();
        EditorGUILayout.TextArea("Effects", EditorStyles.boldLabel);
    }
Example #2
0
    /// <summary>
    /// Displays Main Map tiling and the headline for the effects
    /// </summary>
    /// <param name="me"></param>
    protected void ShowTilingAndEffectsHeadline(MaterialEditor me)
    {
        EditorGUILayout.Space();
        EditorGUILayout.LabelField("Map Tiling", EditorStyles.boldLabel);

        MultiMaterialEditorGUI.TextureScaleOffsetField(me, "_MainTex");

        EditorGUILayout.Space();
        EditorGUILayout.LabelField("Effects", EditorStyles.boldLabel);
    }