Giter Site home page Giter Site logo

dragonmagicstudio / unity-utilities Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tiltfive/unity-utilities

0.0 0.0 0.0 61 KB

This Unity package contains a selection of different scripts that can be used to facilitate faster development using the Tilt Five SDK

License: Apache License 2.0

C# 100.00%

unity-utilities's Introduction

Tilt Five Utilities Package for Unity

Version 1.0.1

Dependencies

Components

This package contains a selection of different scripts that can be used to facilitate faster development using the Tilt Five SDK. Most scripts are intended to be used as drag and droppable components that can be intermixed with other Unity components. This package has baseline requirements of TextMeshPro and the Unity Input System being enabled.

Gameboard Utilities

  • BoardRotate: This script is applied to a canvas that you wish to rotate to stay in front of a player as they move around the Gameboard. Requires a PlayerIdent component to identify which player this canvas rotates towards.
  • GameboardRotator: This script is applied to a Gameboard object and rotates the Gameboard to continually face the specified player.
  • GameboardUtility: This is a set of useful utility functions such as identifying nearest Gameboard corners.
  • PseudoParent: Places the object and its children under the Scene Hierarchy object of the same name. Used to create per player menus that follow a shared Gameboard.

General Utilities

  • EaseUtils: Some simple easing functions.
  • ExponentialFilterUtils: Some simple exponential filter functions.
  • GlassesPoseFilter: An accessor for a filtered Glasses Pose. Requires a PlayerIdent component to identify which glasses pose to filter.
  • LocalPositionInMeters: An accessor for the local position of a specified player's glasses
  • TransformLocalValue: A local-to-Gameboard space position for a world space transform.
  • WandAimPointFilter: An accessor for a filtered Wand Pose. Requires a WandIdent component to identify which wand pose to filter.

Player Utilities

  • ApplyPlayerColor: Applies the color specified by the PlayerColor class to all text and renderer components on this object. Requires a PlayerIdent component to know which color to apply.
  • ApplyPlayerLayer: Applies the layer specified by the PlayerLayer class to the object and all of its children. Requires a PlayerIdent component to know which layer to apply.
  • PlayerColors: Specify the colors to use for each Player
  • PlayerIdent: Use either a field or a Player Input component to define which player number a Game Object is associated with
  • PlayerLayers: Specify the layers to use for each Player
  • PlayerUtils: Easily access the Player Settings for a given player Index

UI Utilities

  • CancelHandler: Used in conjunction with Quit controller to handle exiting a quit menu
  • GlassesDisconnectManager: Provides events to monitor and notify when relevant(watched) glasses or wands disconnect or reconnect
  • ObjectBillboard: Specify an object to billboard to each player camera during rendering
  • ObjectBillboardHDRP: When using HDRP, this script can be added to an object to ensure it auto-billboards
  • QuitController: Manages the inputs for displaying/using a quit menu
  • UIHinge: Add to an object to ensure it tilts towards the camera with a bottom anchor.
  • VersionChecker: A script to check whether the user's drivers are out of date and thus enable a specified overlay.

Wand Utilities

  • Grabber: Abstract class specifier for something that interacts with an object. Requires a WandIdent to know which wand to respond to.
  • GrabManager: The controller script for various interaction methods. Allows you to specify different interaction methods on different button presses. Requires a WandIdent to now which wand to respond to.
  • GrabMover: An interactor that allows you to move objects that have been grabbed around the scene.
  • GrabRotator: An interactor that allows you to rotate the grabbed object in place.
  • Panner: An interactor that allows you to pan the Gameboard through the scene.
  • RaycastGrabber: Abstract class representing something that grabs an object via Raycast with the wand.
  • RaycastGrabRotator: Grab and Rotate an object via raycast.
  • RaycastLine: Draw a raycast line from the wand using either line of sight or forward direction.
  • RotationUtilities: Utility functions to enable the rotation methods.
  • WandIdent: Use either a field or a PlayerInput component to specify the wand to interact with.
  • WandRaycaster: Use a Wand Raycast Line to determine an interaction target.

unity-utilities's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.