playMaker

Author Topic: Texture VS Texture2D?!!?![SOLVED]  (Read 7248 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 686
    • View Profile
    • Assets
Texture VS Texture2D?!!?![SOLVED]
« 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.
« Last Edit: March 27, 2013, 01:12:49 AM by LampRabbit »

escpodgames

  • Hero Member
  • *****
  • Posts: 686
    • View Profile
    • Assets
Re: Texture VS Texture2D?!!?!
« Reply #1 on: March 27, 2013, 01:12:07 AM »
Hey noob! Just rename the texture2D variable in the image effect script ... doh.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14373
  • Official Playmaker Support
    • View Profile
Re: Texture VS Texture2D?!!?![SOLVED]
« Reply #2 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