public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
        CentralDataViewer mTarget = (CentralDataViewer)target;

        EditorGUILayout.LabelField("BGM", mTarget.BGMVol.ToString());
        EditorGUILayout.LabelField("SFX", mTarget.SFXVol.ToString());
    }
Esempio n. 2
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        CentralDataViewer mTarget = (CentralDataViewer)target;

        EditorGUILayout.LabelField("Audio", mTarget.AudioVol.ToString());
        EditorGUILayout.LabelField("Player", mTarget.Player);
        EditorGUILayout.LabelField("Enemy", mTarget.Enemy);
    }