playMaker

Author Topic: Problem comparing GameObjects  (Read 1270 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Problem comparing GameObjects
« on: August 23, 2016, 04:53:09 AM »
Hello,

I'm actullay doing a case by comparing my player to 1 prefab so i can attach objects dependently of shapes.

and there is something i don't get here...

Are prefabs differents from Prefab (Clones) like you can see on this screenshot ??

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 714
    • Flashing Lights
Re: Problem comparing GameObjects
« Reply #1 on: August 23, 2016, 05:14:23 AM »
Yes they are different.

Even Prefab(Clone) and other clone will be different from each other if they are instantiated/created as separate objects.

You have to save that created prefab as a variable for reference to compare.