playMaker

Author Topic: Object VS GameObject  (Read 967 times)

Yagolov

  • Playmaker Newbie
  • *
  • Posts: 9
Object VS GameObject
« on: July 15, 2020, 06:36:27 AM »
Hello!

I am trying to figure it out the actual difference between a variable GameObject and a variable Object, probably this have a easy answer but even I did some research I still do not really have clear the differences.

I am pretty new and I never used variables of type Object before, but now I am using a Plugin where I need to store some Markers as a Objects and everything is OK things works but I still dont really know the difference between those 2.

I would really appreciate if you could tell me the main difference and any practical example of where/why I should use one instead of the other one.

Thank you a lot in advance!

Best regards,
Yago

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Object VS GameObject
« Reply #1 on: July 15, 2020, 11:30:52 AM »
Hi.
Game Object are the ones you see in the hierarchy.
Prefabs are also handled as GameObjects.

Objects can be many things.

images, like Textures / sprites
or components on a object
Or special variables for some scripts.

Some Objects like Textures / Audio Clips are in the Variable List directly in playmaker as those are the most common used.

Yagolov

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Object VS GameObject
« Reply #2 on: July 16, 2020, 07:14:17 AM »
Hello!

Thank you a lot for the explanation!
Way more clear now  :)