Are Loose Texture File Replacements Supposed To Inherit Aspects Of Original Texture?

Discuss modding questions and implementation details.
User avatar
TheLacus
Posts: 1318
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Are Loose Texture File Replacements Supposed To Inherit Aspects Of Original Texture?

Post by TheLacus »

You can use GetVector2(String, String, Vector2), like in snippet below.

Code: Select all

Vector2 size = xmlManager.GetVector2("width", "height", Vector2.zero)
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
Magicono43
Posts: 631
Joined: Tue Nov 06, 2018 7:06 am

Re: Are Loose Texture File Replacements Supposed To Inherit Aspects Of Original Texture?

Post by Magicono43 »

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)
Thanks, i'll try that one instead.

Post Reply