Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: escpodgames on March 27, 2013, 01:06:25 AM

Title: Texture VS Texture2D?!!?![SOLVED]
Post by: escpodgames on March 27, 2013, 01:06:25 AM
I'm trying to set the "Texture2D" of an image effect with an array of textures however it looks like the image effect is looking for a "Texture2D" while Playmaker deals in "Texture" variable types .... is this a naming issue or something else?
The image effect doesn't take the texture variable unfortunatly.
Title: Re: Texture VS Texture2D?!!?!
Post by: escpodgames on March 27, 2013, 01:12:07 AM
Hey noob! Just rename the texture2D variable in the image effect script ... doh.
Title: Re: Texture VS Texture2D?!!?![SOLVED]
Post by: jeanfabre on March 27, 2013, 04:59:56 AM
Hi,

 And here is the actual explanation about the differences:

http://answers.unity3d.com/questions/54182/texture-and-texture2d-for-gui-simple-question.html


bye,

 Jean