mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-18 04:10:06 +08:00
16 lines
425 B
C#
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);
|
|
}
|
|
}
|
|
} |