Unity - Find and Cast a GameObject on August 13, 2019 Get link Facebook X Pinterest Email Other Apps public class MyClass : MonoBehaviour { MyOtherClass myOtherClass; void Start() { myOtherClass = GameObject.Find("GameObjectWithOtherClassScript").GetComponent<MyOtherClass>(); } } Comments
Comments
Post a Comment