Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

 2 Answer(s)

  • InputAmount = System.Single.Parse(GameObject.FindGameObjectsWithTag("Amount")[0].GetComponent().text);

    Note that the FindGameObjectsWithTag method is expensive and if you are calling this more than once, you should cache the GameObject at start up and use it.

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: