public override bool Inspector()
    {
        MegaCylindrify mod = (MegaCylindrify)target;

        //EditorGUIUtility.LookLikeControls();
        mod.Percent = EditorGUILayout.FloatField("Percent", mod.Percent);
        mod.Decay   = EditorGUILayout.FloatField("Decay", mod.Decay);
        return(false);
    }
Exemple #2
0
    public override bool Inspector()
    {
        MegaCylindrify mod = (MegaCylindrify)target;

#if !UNITY_5 && !UNITY_2017 && !UNITY_2018 && !UNITY_2019
        EditorGUIUtility.LookLikeControls();
#endif
        mod.Percent = EditorGUILayout.FloatField("Percent", mod.Percent);
        mod.Decay   = EditorGUILayout.FloatField("Decay", mod.Decay);
        mod.axis    = (MegaAxis)EditorGUILayout.EnumPopup("Axis", mod.axis);
        return(false);
    }