playMaker

Author Topic: gameobject reference when name changed ?  (Read 315 times)

EverySingleSoldier

  • Playmaker Newbie
  • *
  • Posts: 20
gameobject reference when name changed ?
« on: October 01, 2021, 01:55:43 AM »
Hi,

If I take a few gameobjects (hex tiles path) and store it in an array list on the "unit gameobject" for later use (movement) , if the names of the original gameobjects (the hex path) are changed in real time in the game, will the array on the "unit gameobject" still reference the same gameobjects regardless of the subsequent name changes ?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6484
    • jinxtergames
Re: gameobject reference when name changed ?
« Reply #1 on: October 02, 2021, 09:48:52 AM »
Hi.
Unity uses a GUID for reference so changing names would not affect :)
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!