Download

Description


This is a VRChat UdonSharp script that lets players duplicate a GameObject when they interact with the object the script is on.
What it does (simple version)
When a player clicks/uses (Interact) the object this script is attached to:

It creates a copy of objectToDuplicate.
Places the copy at spawnPoint (or slightly offset from the original if no spawnPoint is set).
Optionally destroys the copy after autoDestroyTime seconds.
Keeps track of how many copies exist (so it can enforce maxDuplicates).

Comments
Log in to leave a comment.
d5ydty 1778468658 ago

How do I get the duplicated objects to sync globally

0

File Tree

Loading file tree...

Recommended Items

Based on this asset

Tutorials

Join the VRCMods creator network

Create a free account to skip ad checks, comment, save favorites, follow creators, and get notified about new uploads.