Skip to content

Commit

Permalink
Merge pull request #144 from neon-glowstick/extend-avatar-sdk-gui
Browse files Browse the repository at this point in the history
Allow extending the Avatar SDK editor GUI
  • Loading branch information
dooly123 authored Feb 13, 2025
2 parents 9c9254e + d80b5b2 commit ae8d778
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using Basis.Scripts.BasisSdk;
using Basis.Scripts.BasisSdk.Helpers.Editor;
using Basis.Scripts.Editor;
Expand All @@ -10,6 +11,7 @@
[CustomEditor(typeof(BasisAvatar))]
public partial class BasisAvatarSDKInspector : Editor
{
public static event Action<BasisAvatarSDKInspector> InspectorGuiCreated;
public VisualTreeAsset visualTree;
public BasisAvatar Avatar;

Expand Down Expand Up @@ -43,6 +45,8 @@ public override VisualElement CreateInspectorGUI()
SetupItems();
AvatarSDKJiggleBonesView.Initialize(this);
AvatarSDKVisemes.Initialize(this);

InspectorGuiCreated?.Invoke(this);
}
else
{
Expand Down

0 comments on commit ae8d778

Please sign in to comment.