Side channel to set the position of the goal visualization
More...
|
|
| GoalSC (GameObject goal, GameObject anchor) |
| | Constructor of this side channel - Parameters
-
| goal | The GameObject that is the goal visualization itself. The only thing that will change to this object is its position |
| anchor | Anchor, used to calculate the goal position relative to the anchor |
|
| |
|
|
override void | OnMessageReceived (IncomingMessage msg) |
| | Is called when a message is sent through the side channel. Changes the position of the goal GameObject - Parameters
-
| msg | The message, containing a list of floats indicating the new coordinate of the goal |
|
| |
Side channel to set the position of the goal visualization
The documentation for this class was generated from the following file:
- unity/Assets/Scripts/SideChannels/GoalSC.cs