AttachToAvatar#
Example#
local subItem = vci.assets.GetTransform("SubItem1")
-- Useする度に装着状態を切り替える
function onUse(use)
if use == "SubItem1" then
if subItem.IsAttached then
subItem.DetachFromAvatar()
else
subItem.AttachToAvatar()
end
end
end