SELAB3 Unity
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
WorkspaceSC Class Reference

Side channel to set the position of the workspace visualization More...

Inheritance diagram for WorkspaceSC:

Public Member Functions

 WorkspaceSC (GameObject workspaceBox, GameObject anchor)
 Constructor of this side channel

Parameters
workspaceBoxThe GameObject that is the workspace visualization itself. The only thing that will change to this object is its position and size
anchorAnchor, used to calculate the goal position relative to the anchor

 

Protected Member Functions

override void OnMessageReceived (IncomingMessage msg)
 Is called when a message is sent through the side channel. Changes the position and size of the workspaceBox GameObject

Parameters
msgThe message, containing a list of floats in the format of (x, y, z, sideLength)

 

Detailed Description

Side channel to set the position of the workspace visualization


The documentation for this class was generated from the following file: