mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-18 20:30:08 +08:00
6591f35a78
* chore: configure overrideReferences false and referenced dlls * chore: clear unused using * chore: remove unused meta file * fix: missing reference
16 lines
456 B
C#
16 lines
456 B
C#
using nadena.dev.modular_avatar.core.menu;
|
|
using UnityEngine;
|
|
|
|
namespace nadena.dev.modular_avatar.core
|
|
{
|
|
[AddComponentMenu("Modular Avatar/MA Menu Group")]
|
|
public class ModularAvatarMenuGroup : MenuSourceComponent
|
|
{
|
|
public GameObject targetObject;
|
|
|
|
public override void Visit(NodeContext context)
|
|
{
|
|
context.PushNode(new MenuNodesUnder(targetObject != null ? targetObject : gameObject));
|
|
}
|
|
}
|
|
} |