Code: Select all
Vector2 size = xmlManager.GetVector2("width", "height", Vector2.zero)
Code: Select all
Vector2 size = xmlManager.GetVector2("width", "height", Vector2.zero)
Thanks, i'll try that one instead.TheLacus wrote: ↑Fri Feb 12, 2021 11:15 pm You can use GetVector2(String, String, Vector2), like in snippet below.
Code: Select all
Vector2 size = xmlManager.GetVector2("width", "height", Vector2.zero)