Change input texture in custom components

Options

Hello

Can you tell me if it is possible to change the input texture in custom components? (Baby, Anime, etc.)

Answers

  • Bakari Mustafa
    Bakari Mustafa Posts: 178 🔥🔥🔥
    Options

    Yes, it is possible to change the input texture in custom components. To do this, you can either set the texture directly in the custom component's script using the setTexture function, or you can bind the texture to a property of the custom component using the @input decorator and then set the value of that property in the script.