Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Yagolov on July 15, 2020, 06:36:27 AM

Title: Object VS GameObject
Post by: Yagolov 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
Title: Re: Object VS GameObject
Post by: djaydino 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.
Title: Re: Object VS GameObject
Post by: Yagolov on July 16, 2020, 07:14:17 AM
Hello!

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