Explorer renderer
After checking out, remember to install and update the submodules by doing (git submodule update --init and git submodule update .)
To update the protocol to the last version of the protocol, you can execute the following commands:
cd scripts
npm install @dcl/protocol@next
npm run build-protocol
-
Animator
-
PointerLock
-
AvatarAttach
-
AvatarModifierArea
-
CameraMode
-
CameraModeArea
-
AudioSource
-
AudioStream
-
AvatarShape
-
Billboard
-
EngineInfo
-
GltfContainer
-
GltfContainerLoadingState
-
Material
-
MeshCollider
-
MeshRenderer
-
Name
-
NftShape
-
PointerEvents
-
PointerEventsResult
-
Raycast
-
RaycastResult
-
TextShape
-
Transform
-
Tween
-
TweenSequence
-
TweenState
-
UiBackground
-
UiCanvasInformation
-
UiDropdown
-
UiDropdownResult
-
UiInput
-
UiInputResult
-
UiText
-
UiTransform
-
VideoEvent
-
VideoPlayer
-
VisibilityComponent
-
CommsApi
-
CommunicationsController
-
EnvironmentApi
-
Players
-
PortableExperiences
-
RestrictedActions
-
Scene
-
Testing
-
UserActionModule
-
UserIdentity
-
SignedFetch
-
Runtime
-
EngineApi
-
EthereumController
Just run:
cd scripts
npm run build-protocol
To be able to select the scene at runtime
- Place it to the "StreamingAssets\Scenes" directory.
- Add its name without an extension to the "Scenes" list on the
EntryPoint
component.
At the moment one scene can be active at a time. By default at startup no scene is launched.
- When a new scene is selected, the old scene is unloaded releasing its components to the pool.
- "Stop" just disposes the scene
- You can easily notice if the resources are not properly disposed by looking at the Unity hierarchy.
- Setting the framerate can be useful for a stress test.