Download

0 Total Downloads

15 Total Views

Asset Type Custom Scripts

File Type Unity Package

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.

No comments yet... start a discussion to get things started... or join our discord to get help from the community.

File Tree (4 files inside Unity Package)

Recommended Items

Based on this asset

Tutorials

Join 27,000+ creators

Become a Part of the Leading VR Modeling & VRChat Network

Ready to immerse yourself in the exciting world of VRChat and 3D assets? At VRCMods, we're not just a community, we're a vibrant network of creators, innovators, and enthusiasts. Connect with fellow VRChat enthusiasts, access top-tier avatar commission services, comprehensive tutorials, and enjoy a wealth of free downloads — all with regular updates to keep you on the cutting edge.

Create a free account to skip ad checks, leave comments, heart your favorites, follow uploaders, and get notified about new uploads.