Antoshidza / NSprites-Foundation

Basic assets for working with NSprites package
MIT License
65 stars 17 forks source link

SystemAPI Fix Bug #7

Closed utkucnay closed 1 year ago

utkucnay commented 1 year ago

We don't use SystemAPI in other func SysteamAPI uses Code Gen and Unity don't do this. I changed Tranform2DConversionSystem but i dont know SystemAPI.GetBuffer was important. Other changes is okey in my opinion.

utkucnay commented 1 year ago

I am using Unity version 2022.3.7f1.

Antoshidza commented 1 year ago

What bug it fixes?

utkucnay commented 1 year ago

image

If you use SystemAPI calls in Funcitions, Entity CodeGen tool throws error. I think we can only to using in OnUpdate, OnCreate like ISytem Functions. I rewrote SystemAPI calls in these functions. That is a bug, right ?

Antoshidza commented 1 year ago

Can't reproduce this error, but if it fixes such problems then ok