Author Topic: Find Game Object From ID  (Read 2342 times)


  • Junior Playmaker
  • **
  • Posts: 66
    • View Profile
Find Game Object From ID
« on: July 23, 2013, 03: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


  • Administrator
  • Hero Member
  • *****
  • Posts: 15316
  • Official Playmaker Support
    • View Profile
Re: Find Game Object From ID
« Reply #1 on: July 28, 2013, 09:11:14 AM »

 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)