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

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

Inheritance diagram for GoalSC:

Public Member Functions

 GoalSC (GameObject goal, GameObject anchor)
 Constructor of this side channel

Parameters
goalThe GameObject that is the goal visualization itself. The only thing that will change to this object is its position
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 of the goal GameObject

Parameters
msgThe message, containing a list of floats indicating the new coordinate of the goal

 

Detailed Description

Side channel to set the position of the goal visualization


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