Keyde
Keyde
CC#
Created by Keyde on 12/17/2023 in #help
Unity position element in global view with UI Toolkit
In the scene I’m using multiple ui documents that add the systems I need, for example the health bar or spell bar. However the only way to position them is absolute I was wondering if we could do that with relative positions instead since it’s easier to deal with centering etc
5 replies
CC#
Created by Keyde on 12/17/2023 in #help
✅ Avoid casting with inheritance chain
I kind of agree, but I'm not comfortable about having a useless property for most of users. Basically, the property will be available in the contract for the user so it can be used elsewhere without a check on user type
8 replies
CC#
Created by Keyde on 12/17/2023 in #help
✅ Avoid casting with inheritance chain
so you suggest having the Score prop for all users instead and check their types/flag instead?
8 replies