PhaserEditor2D-v3
PhaserEditor2D-v3 copied to clipboard
Change the tint of the Image to BitmapText in one field
I will be cool if we can change the full color of a text and an image instead to change the 4 tints each time.
A single tint value complicates the whole thing. Look in the Phaser API, the tint property is write-only, it is just a helper property for setting the same value to all tint*
properties.
Simulating a write-only property in Phaser Editor is complex because the way it serializes and code-generates the properties of prefab instances. I did try it, but it is not clean and breaks the general rules.
Maybe, I can add an option in the section's three-dots menu for setting the same value to all the tint properties taking as reference the Tint Top Left property's value. If it is the case of a prefab instance and there are locked tint properties, then it will ask for unlocking them or abort the operation.
What do you think?