diff --git a/src/Things/DigitalSensor.cs b/src/Things/DigitalSensor.cs index 7942219..2993580 100644 --- a/src/Things/DigitalSensor.cs +++ b/src/Things/DigitalSensor.cs @@ -41,13 +41,6 @@ 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 /// /// Function used to generate binary data for this digital sensor ///