// public NPC1_MainScript scriptMoleke_01; // public NPC1_MainScript scriptMoleke_03; private void Awake() { scriptGameController = GameObject.Find("GameController").GetComponent <GameController>(); scriptPlatformer2DUserControl = GameObject.Find("Player").GetComponent <Platformer2DUserControl>(); scriptSystemDialogueMental = GameObject.Find("Player").GetComponent <SystemDialogueMental>(); scriptSystemDialoguePlayer = GameObject.Find("Player").GetComponent <Baloes_Controller>(); scriptCanvas_MainScript = GameObject.Find("_MainCanvas").GetComponent <Canvas_MainScript>(); // scriptNPC1_MainScript = GameObject.Find("_Robozinho").GetComponent<NPC1_MainScript>(); scriptAudio_MainScript = GameObject.Find("Main Camera").GetComponent <Audio_MainScript>(); }
private void Awake() { scriptPlayer = GameObject.Find("Player").GetComponent <Platformer2DUserControl>(); GController = GameObject.Find("GameController").GetComponent <GameController>(); systemDialoguePlayer_Script = GetComponent <Baloes_Controller>(); }