Quantcast
Browsing all 4 articles
Browse latest View live

Answer by zeppike

How about attaching the script on an empty object in the second scene, than calling it as you would in the first. :) In the long run I would definitely try something like a true singleton pattern....

View Article


Answer by RLin

You can use GameObject.Find<"objectname">().getComponent()

View Article


Answer by zeppike

How about attaching the script on an empty object in the second scene, than calling it as you would in the first. :) In the long run I would definitely try something like a true singleton pattern....

View Article

Answer by RLin

You can use GameObject.Find<"objectname">().getComponent()

View Article
Browsing all 4 articles
Browse latest View live