Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 979 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 979 Bytes

Gravity SDK is a tool for authorizing users who own wearables from Gravity Layer and loading assets into a scene in Unity.

Installation

Copy the files from this repository into a separate folder in your Unity project. For instance, into Assets/Plugins/GravityLayer/CoreAsync.

Alternatively you can download a Unity package file from Releases. To install the package

  1. Go to “Assets / Import Package / Custom Package”
  2. Select gravitylayer-unitysdk-coreasync.unitypackage
  3. Click “Import”

Usage

A single entry point for Gravity SDK is the class GravityLayerEntryPoint.

You can connect to Gravity API by calling GravityLayerEntryPoint.GLayerConnection.EstablishConnection()

You can fetch user’s wearables by calling GravityLayerEntryPoint.Wardrobe.FetchWearables()

For more details see our documentation.