playMaker

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

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 61
    • View Profile
Okay String to Find game object[SOLVED]
« on: February 04, 2018, 06: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, 02:29:46 AM by jeanfabre »

djaydino

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