[OT] Unity's HPC#

Nick Sabalausky (Abscissa) SeeWebsiteToContactMe at semitwist.com
Fri Mar 1 13:16:36 UTC 2019


On 3/1/19 5:40 AM, Dukc wrote:
> 
> This question of mine, with its answers, at Stack Overflow sums fairly 
> well what I dislike about C# structs: 
> https://stackoverflow.com/questions/51098690/assigning-value-to-member-of-nullable-struct-in-c-sharp 
> 

Oh yea, that gets REALLY tiresome in Unity. You can't even change the X, 
Y or Z coordinate of a (game) object without copying the whole position 
struct to a local first, and then copying it all back. It's insane. 
Though to be fair, I'm not entirely clear offhand whether that's 
something involving a nullable somewhere in the chain, or just a failing 
of the lib's API itself or what. But either way, the result is pretty bad.


More information about the Digitalmars-d mailing list