I’m extending the flash exporter’s functionality with some ActionScript classes, with identical C# classes mirroring them (with [NotRenamed] and [NotConverted] tags).
One of the methods I have needs to pass pixel data from a BitmapData object back into Unity. The pixel data is in a Vector.uint
I haven’t been able to figure out if there’s a way to cast this Vector into something that Unity understands. I’ve written a wrapper class for Arrays instead, into which I can copy the Vector’s values entry by entry. This seems pretty wasteful, though, and there’s got to be a better way of doing it.
Any pointers?