コード例 #1
0
    protected override void OnAwake()
    {
        type      = ICLOiSimPlugin.Type.LASER;
        partsName = DeviceHelper.GetPartName(gameObject);

        lidar = GetComponent <SensorDevices.Lidar>();
        attachedDevices.Add("LIDAR", lidar);
    }
コード例 #2
0
    protected override void OnAwake()
    {
        type     = Type.LASER;
        partName = DeviceHelper.GetPartName(gameObject);

        lidar = gameObject.GetComponent <SensorDevices.Lidar>();
        lidar.SetPluginParameter(parameters);
    }