FreshyGames

Find latest news of mobile games and Game Development tutors

Monday, 28 October 2013

How to Find Parent GameObject name using child GameObject in unity3d



GameObject ParentName = GameObject.Find("ChildName").transform.parent.gameObject;


print("Parent Name : "+ParentName .name);
Posted by Unknown at 05:21 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2016 (1)
    • ▼  January (1)
      • have you EVER been opponent of yourself ? Lets tr...
  • ►  2015 (1)
    • ►  May (1)
  • ►  2014 (3)
    • ►  November (1)
    • ►  February (2)
  • ►  2013 (4)
    • ►  November (3)
    • ►  October (1)

About Me

Unknown
View my complete profile
Awesome Inc. theme. Powered by Blogger.