Esempio n. 1
0
    public override void DrawEditor()
    {
        GUI.backgroundColor = Color.red;

        EditorGUILayout.LabelField("Damage Event");
        EditorGUILayout.BeginVertical(EditorStyles.helpBox);
        amount     = EditorGUILayout.IntField("Damage Amount", amount);
        damageType = (RuneManager.DamageEvent.DamageType)EditorGUILayout.EnumPopup("Damage Type", damageType);
        EditorGUILayout.EndVertical();
        GUI.backgroundColor = Color.white;
    }
Esempio n. 2
0
    public override void DrawEditor()
    {
        GUI.backgroundColor = Color.red;

        EditorGUILayout.LabelField("Damage Event");
        EditorGUILayout.BeginVertical(EditorStyles.helpBox);
        amount = EditorGUILayout.IntField("Damage Amount", amount);
        damageType = (RuneManager.DamageEvent.DamageType)EditorGUILayout.EnumPopup("Damage Type", damageType);
        EditorGUILayout.EndVertical();
        GUI.backgroundColor = Color.white;
    }