modular-avatar/Packages/nadena.dev.modular-avatar/Runtime/ModularAvatarReplaceObject.cs
2023-09-04 23:18:23 +09:00

16 lines
425 B
C#

using UnityEngine;
namespace nadena.dev.modular_avatar.core
{
[AddComponentMenu("Modular Avatar/MA Replace Object")]
[DisallowMultipleComponent]
public class ModularAvatarReplaceObject : AvatarTagComponent
{
public AvatarObjectReference targetObject = new AvatarObjectReference();
internal override void ResolveReferences()
{
targetObject?.Get(this);
}
}
}