Playmaker Forum

PlayMaker News => General Discussion => Topic started by: EverySingleSoldier on October 01, 2021, 01:55:43 AM

Title: gameobject reference when name changed ?
Post by: EverySingleSoldier 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 ?
Title: Re: gameobject reference when name changed ?
Post by: djaydino on October 02, 2021, 09:48:52 AM
Hi.
Unity uses a GUID for reference so changing names would not affect :)