Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Fletch on July 23, 2013, 06:59:25 PM

Title: Find Game Object From ID
Post by: Fletch on July 23, 2013, 06:59:25 PM
It would be nice to be able to find a game object by it's ID number in the game.  No way to do this currently
Title: Re: Find Game Object From ID
Post by: jeanfabre on July 28, 2013, 12:11:14 PM
Hi,

 Can you give a use case? go ID's are usually required for custom editors, not within your games, but you might have a good reason to do so :)

currently, I would suggest you simply save the reference of the gameObject itself, this is totally fine, and not much different then referencing an int ( where actually, I am pretty sure internaly, Unity refers to GameObject using this ID indeed)

bye,

 Jean