void Awake() { GameObject spinnerGO = GameObject.Find("Spinner"); spinner = (Spinner)spinnerGO.GetComponent("Spinner"); GameObject rivetyProductManagerGO = GameObject.Find("RivetyProductManager"); rivetyProductManager = (RivetyProductManager)rivetyProductManagerGO.GetComponent("RivetyProductManager"); GameObject rivetyPaymentManagerGO = GameObject.Find("RivetyPaymentManager"); rivetyPaymentManager = (RivetyPaymentManager)rivetyPaymentManagerGO.GetComponent("RivetyPaymentManager"); }
void Awake() { GameObject rivetyProductManagerGO = GameObject.Find("RivetyProductManager"); rivetyProductManager = (RivetyProductManager)rivetyProductManagerGO.GetComponent("RivetyProductManager"); }