playMaker

Author Topic: 'Object' instead of 'Texture2D'  (Read 128 times)

8bitbrainpower

  • Playmaker Newbie
  • *
  • Posts: 16
'Object' instead of 'Texture2D'
« on: October 28, 2025, 03:48:27 PM »
I’m using someone else’s code and dragged their script into PlayMaker. It correctly recognizes it's aTexture2D field, but when I try to create a variable for it to use at runtime, it’s categorized as an empty Object. I’m stuck on this. Any idea what might be causing it?

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 730
    • 600
Re: 'Object' instead of 'Texture2D'
« Reply #1 on: October 29, 2025, 09:10:48 AM »
Hi, in the last screenshot where the "var" is, below is an Object, click on it and select something related under UnityEngine>ColorTexture for example or see which one the action/script recognise

8bitbrainpower

  • Playmaker Newbie
  • *
  • Posts: 16
Re: 'Object' instead of 'Texture2D'
« Reply #2 on: October 29, 2025, 12:28:20 PM »
Thank you very much 600, that's working ;D