// Start is called before the first frame update void Start() { gamecontrol_aux = GameObject.Find("GameController"); ads_aux = gamecontrol_aux.GetComponent <Adcaller>(); ads_aux2 = gamecontrol_aux.GetComponent <Adcaller_with_plugin>(); if (gamecontrol_aux == null) { Debug.Log("gamecontrol_aux Es NULO"); } if (ads_aux == null) { //Debug.Log("ADS Es NULO"); } }
void Start() { control_ads_activas = GameObject.Find("GameController").GetComponent <Adcaller_with_plugin>(); control(); }