using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace SpriteShadersUltimate
{
[CustomEditor(typeof(WindParallaxSSU))]
public class WindParallaxSSUEditor : Editor
{
public override void OnInspectorGUI()
{
GUIStyle style = new GUIStyle(GUI.skin.label);
style.richText = true;
EditorGUILayout.BeginVertical("Helpbox");
GUI.color = new Color(1, 1, 1, 0.7f);
EditorGUILayout.LabelField("Fixes parallax or movement issues for the Wind shader.", style);
EditorGUILayout.LabelField("Attach this to sprite renderers and enable Is Parallax.", style);
EditorGUILayout.LabelField("Set's X Position on Awake() to a static value.", style);
GUI.color = Color.white;
EditorGUILayout.EndVertical();
}
}
}