playMaker

Author Topic: Overwrite / replace a texture in the resources folder  (Read 991 times)

Michaelb

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 53
Overwrite / replace a texture in the resources folder
« on: July 04, 2017, 10:38:37 PM »
URGENT HELP

Greetings to all community members.

I am having a show stopper issue here.

I have a texture 2d in the Resources folder that i need to replace it
with a texture 2d i import at runtime.

Example :

Resources folder EXISTING texture 2d named "default" and it shows a dog
Now i import a texture 2d in runtime named "any name" showing a cat and i want to replace the texture 2d named in the resources folder named "default"
with the imported one , so as a final result the texture in the Resources folder will be named "default" but instead of a dog it will be the new texture now with the cat.

I only need this solution of replacement for many many reasons.

Thank you for your time.