playMaker

Author Topic: Okay String to Find game object[SOLVED]  (Read 1247 times)

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 72
Okay String to Find game object[SOLVED]
« on: February 04, 2018, 08:34:13 PM »
So in sence 1 I cant save a game object for next sence so I need to save its name as a string. In second scence I need to take that string and find game object or set game object by that string. The unity command for getting a string from game object is  gameObject.transform.name; if that helps.
« Last Edit: February 08, 2018, 04:29:46 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Okay String to Find game object
« Reply #1 on: February 05, 2018, 02:27:39 AM »
Hi.
I think you are looking for the action 'Get Name'  :)