namespace Passer.Control.Core {
    public class TouchSensor : Thing {
        public Thing touchedThing = null;

        public TouchSensor(bool invokeEvent = true) : base(invokeEvent) {
        }

#if UNITY_5_3_OR_NEWER
        public override void CreateComponent() {
            this.component = Unity.TouchSensor.Create(this);
            this.component.core = this;
        }
#endif
    }
}