コード例 #1
0
    private void Awake()
    {
        uiSelector    = FindObjectOfType <UI_Selector>();
        cameraControl = FindObjectOfType <CameraController>();

        surface_Manager = surfaceManager;
    }
コード例 #2
0
 // Start is called before the first frame update
 void Awake()
 {
     textoVida        = this.transform.GetChild(0).gameObject;
     textoMonedas     = this.transform.GetChild(1).gameObject;
     scriptVida       = textoVida.GetComponent <MostrarVida>();
     scriptMonedas    = textoMonedas.GetComponent <MostrarMonedas>();
     uiSelector       = this.transform.GetChild(2).gameObject;
     scriptUISelector = uiSelector.GetComponent <UI_Selector>();
 }
コード例 #3
0
 private void Awake()
 {
     ui_Selector = UI_Controller.Get_UI_Selector();
 }