Posted July 14, 2023 by Narrenschlag
#API #Cutulu #Narrenschlag #gamedev #rpg #asset
The new version of Cutulu now features a inheritable CutuluUI.cs script that enables it to access the Canvas scale for RectTransform.sizeDelta.
Making it possible to always accuratly calculate positions and sizes within the Canvas to access the true values.
Comming with this is a custom onEnable script that replaces OnEnable for calculating scripts. This function also gets called whenever the aspect ratio changes. So make sure your script recreates the appearence in this function!
Thanks for tuning in!