/// <summary> /// Attaches this <see cref="TextLabel" /> to the specified <paramref name="vehicle" />. /// </summary> /// <param name="vehicle">The vehicle.</param> /// <param name="offset">The offset.</param> /// <exception cref="System.ArgumentNullException">vehicle</exception> public virtual void AttachTo(BaseVehicle vehicle, Vector3 offset) { AssertNotDisposed(); if (vehicle == null) { throw new ArgumentNullException(nameof(vehicle)); } Internal.Attach3DTextLabelToVehicle(Id, vehicle.Id, offset.X, offset.Y, offset.Z); }