im learning godot....
im setting up a custom resource to assist in creating items.
all exports work, i need to take the color and apply it to the texture that is input in the inspector. i mainly wanna try and use a small ammount of textures while changing the colors and names.
current item class
extends Resource
classname GenericItem, "res://resources/raw/textures/classicons/items.png"
export(String)var ItemName:String="Generic_Item" #Change in inspector
export(Texture)var ItemTexture:Texture #Added in inspector
export(Color)var ItemColor:Color #Used to change the color of the textures if i can get this to work.
Trying to apply color to given texture for this custom resource without needing to code every color
ItemTexture.Color = ItemColor #does not work
$Sprite.Texture = ItemTexture #does not work
Should i use a setget? i dont want to use them because they are being taken out in the 4.0 update of godot
hopefulle i dont confuse everyone