Common Library

Common Library

io.vrctools.common - shared building blocks for UdonSharp scripts used throughout the VRCTools packages.

The Common Library collects scripting helpers that several VRCTools packages need: a base class for reliably synchronized behaviours and a handful of array and animator utilities. It contains no components you would place in a scene yourself.

You rarely install this package yourself. It is a dependency of World Utilities and the Event System and is installed automatically by Creator Companion. It is documented here for script authors who want to build on the same foundations.

Contents

Type Namespace Purpose
AbstractSynchronizedBehaviour VRCTools.Common.Network Base class for manually synced behaviours with retries & late joiner support
ArrayUtils VRCTools.Common.Utils Find, append and remove array elements in Udon
AnimatorUtilities VRCTools.Common.Utils Resolve animator parameter names to ids

Using it from your scripts

All types live in the VRCTools.Common assembly definition. Scripts in the default Assembly-CSharp can use them right away; scripts inside your own assembly definition need a reference to VRCTools.Common.

using VRCTools.Common.Network;
using VRCTools.Common.Utils;

Changelog

See the release history.