Compare commits

..

No commits in common. "main" and "v0.3.0" have entirely different histories.
main ... v0.3.0

View File

@ -41,6 +41,13 @@ namespace RoboidControl {
}
private bool stateUpdated = false;
#if UNITY_5_3_OR_NEWER
/// @copydoc Passer::RoboidControl::Thing::CreateComponent
public override void CreateComponent() {
this.component = Unity.DigitalSensor.Create(this);
this.component.core = this;
}
#endif
/// <summary>
/// Function used to generate binary data for this digital sensor
/// </summary>