implementation of drecon in unity 2022 lts forked from: https://github.com/joanllobera/marathon-envs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
370 B

using UnityEngine;
using UnityEditor;
namespace SplatVfx.Editor {
[CustomEditor(typeof(SplatData))]
public sealed class SplatDataInspector : UnityEditor.Editor
{
public override void OnInspectorGUI()
{
var count = ((SplatData)target).SplatCount;
EditorGUILayout.LabelField("Splat Count", $"{count:N0}");
}
}
} // namespace SplatVfx.Editor