protected override void OnAwake() { type = ICLOiSimPlugin.Type.LASER; partsName = DeviceHelper.GetPartName(gameObject); lidar = GetComponent <SensorDevices.Lidar>(); attachedDevices.Add("LIDAR", lidar); }
protected override void OnAwake() { type = Type.LASER; partName = DeviceHelper.GetPartName(gameObject); lidar = gameObject.GetComponent <SensorDevices.Lidar>(); lidar.SetPluginParameter(parameters); }