Astra Unity 2.6.6
Astra Unity Plugin
|
This example uses the Astra system to set up a simple Avatar editor More...
Public Types | |
enum | ClothingCategory { Tops = 0 , Footwear , Arms , Bottoms , Hair , Facewear } |
Public Attributes | |
TextAsset | AppConfig |
SampleCameraController | cameraController |
Helpers.ProgressBar | ProgressBar |
Text | ProgressText |
Dropdown | AvatarDropdown |
Button | AvatarLoadButton |
Dropdown | FigureDropdown |
Button | FigureLoadButton |
Dropdown | PhysiqueDropdown |
Button | PhysiqueLoadButton |
Dropdown | ClothingCategoryDropdown |
Dropdown | ClothingDropdown |
Button | ClothingLoadButton |
Dropdown | DecalDropdown |
Button | DecalLoadButton |
Protected Member Functions | |
void | BindEvents () |
Helper to link various ui elements to their actions | |
This example uses the Astra system to set up a simple Avatar editor
The guide will illustrate how to use Astra functionality to load up and then apply assets to an Astra avatar.
This makes use of the AstraAppWrapper, which provides access to these classes: AstraService: Provides the network setup and auth to interact with the Astra back end and retrieve the users' avatars AstraCatalog: Provides access to query catalogs of avatar assets AstraAvatarLoader: Provides the ability to load an avatar as a GameObject AstraAvatar: A monobehaviour attached to the avatar game object, which allows you to equip assets to the avatar or otherwise manipulate it