Sample Tutorial: Cavrnus Car (Unity)

Game Engine

Unity

Tutorial Level

Easy

Properties

Sync Material
Sync Color
Sync String
Sync Boolean

Project Files

https://github.com/Cavrnus-Inc/car-configurator-csc-unity

In this tutorial, we will take a closer look at the No-Code Collaboration Sync Material component.

Starting Project

This scene presents a car model with several interactive features. In this tutorial we will be focusing on swapping the base color texture to change the car’s paint body color.

  • A sports car with 5 available color schemes.

  • A HUD with 5 buttons corresponding to the 5 color schemes.

  • No special game logic other than modifying the paint material based on which button is selected.

Setting up Cavrnus in Unity

As described in the Setup Your Scene guide, we will setup our Scene for Cavrnus using the dropdown button.

image-20240223-103934.png

Then, as described in that same page, we will set the Cavrnus Spatial Connector to use our server, Login to our account automatically, and Automatically Join a “Chess” space we created in the web.

image-20240223-104226.png

 

Related pages