示例#1
0
    // Start is called before the first frame update
    void Start()
    {
        coco = GameObject.Find("Coco").GetComponent <CocoControl>();

        cambiaSprite      = GameObject.Find("Lugares").GetComponent <SpriteHabitaciones>();
        presenciaEnemigos = GetComponent <PresenciaEnemigos>();
    }
示例#2
0
    // Start is called before the first frame update
    void Start()
    {
        coco = GameObject.Find("Coco").GetComponent <CocoControl>();
        pato = GameObject.Find("Pato").GetComponent <PatoControl>();

        camara = GameObject.Find("Main Camera").GetComponent <CamaraController>();

        cambiaSprite      = GameObject.Find("Lugares").GetComponent <SpriteHabitaciones>();
        presenciaEnemigos = GetComponent <PresenciaEnemigos>();
    }