Attempts to convert the Object to a Unit.
If the Object is not a Unit, returns nil.
nil
unit = Object:ToUnit()
None.
Unit unit
The Object as a Unit, or nil.