Varneon / VUdon-Seats

Self-calibrating synced abstract seats with callbacks and API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VUdon - Seats GitHub GitHub Repo stars GitHub all releases GitHub tag (latest SemVer)

Self-calibrating synced abstract seats with callbacks and API

Usage

  • Add reference to Varneon.VUdon.Seats.Runtime assembly definition
  • Create your own class that inherits from Varneon.VUdon.Seats.Abstract.Seat
  • Invoke the base.Initialize() method once at start to initialize the base seat class
using Varneon.VUdon.Seats.Abstract;

namespace Varneon.VUdon.Seats.Samples
{
    public class MySeat : Seat
    {
        private void Start()
        {
            base.Initialize();
        }
    }
}

Callbacks:

protected virtual void OnCalibrationStarted() { }

protected virtual void OnCalibrationFinished() { }

protected virtual void OnPlayerEnteredSeat(VRCPlayerApi player) { }

protected virtual void OnPlayerExitedSeat(VRCPlayerApi player) { }

Public API Methods:

public virtual void _Eject()

Installation

  1. Download com.varneon.vudon.seats.zip from here
  2. Unpack the .zip somewhere
  3. In VRChat Creator Companion, navigate to Settings > User Packages > Add
  4. Navigate to the unpacked folder, com.varneon.vudon.seats and click Select Folder
  5. VUdon - Seats should now be visible under Local User Packages in the project view in VRChat Creator Companion
  6. Click Add
  1. In the Unity toolbar, select Window > Package Manager > [+] > Add package from git URL...
  2. Paste the following link: https://github.com/Varneon/VUdon-Seats.git?path=/Packages/com.varneon.vudon.seats

Import from Unitypackage:

  1. Download latest VUdon - Seats from here
  2. Import the downloaded .unitypackage into your Unity project

Developed by Varneon with ♥️

Twitter Follow YouTube Channel Subscribers GitHub followers

About

Self-calibrating synced abstract seats with callbacks and API

License:MIT License


Languages

Language:C# 100.0%