Roboid Control for C#
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
RoboidControl.Unity.DistanceSensor Class Reference

Detailed Description

The Unity representation of a distance sensor.

Inheritance diagram for RoboidControl.Unity.DistanceSensor:
RoboidControl.Unity.Thing

Static Public Member Functions

static DistanceSensor Create (RoboidControl.DistanceSensor core)
 Create the Unity representation of the distance sensor.
 
static Thing Create (RoboidControl.Thing core)
 

Public Attributes

SiteServer participant
 

Protected Member Functions

virtual void Start ()
 Start the Unity representation.
 
void SetCoreThing (RoboidControl.Thing thing)
 Set the core C# thing.
 
void Init (RoboidControl.Thing core)
 
virtual void Update ()
 Update the Unity representation.
 

Properties

new RoboidControl.DistanceSensor core [get, set]
 The core distance sensor.
 

Member Function Documentation

◆ Create()

static DistanceSensor RoboidControl.Unity.DistanceSensor.Create ( RoboidControl::DistanceSensor  core)
static

Create the Unity representation of the distance sensor.

Parameters
parentThe parent of the core distance sensor
Returns
The Unity representation of the distance sensor

◆ Update()

virtual void RoboidControl.Unity.Thing.Update ( )
protectedvirtualinherited

Update the Unity representation.

Reimplemented in RoboidControl.Unity.TouchSensor.