// Use this for initialization
    void Start()
    {
        camara1 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara>();
        camara2 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara2>();
        mono    = GameObject.Find("Mono").GetComponent <SegumientoDEcamara2>();

        caminar = GameObject.Find("Mono").GetComponent <Animator>();
    }
    // Use this for initialization
    void Start()
    {
        camara1 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara>();
        camara2 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara2>();

        perder = GameObject.Find("VidaSapo");
        perder.SetActive(false);
    }
    // Use this for initialization
    void Start()
    {
        Player = GameObject.FindGameObjectWithTag("Player");

        camara1 = GameObject.Find("Main Camera").GetComponent <SeguimientoDEcamara3>();
        camara2 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara2>();
        mono    = GameObject.Find("Mono").GetComponent <SegumientoDEcamara2>();

        caminar = GameObject.Find("Mono").GetComponent <Animator>();
    }
示例#4
0
    // Use this for initialization
    void Start()
    {
        hp = maxHp;

        Player = GameObject.Find("Basura_Boss");
        camion = GameObject.Find("cosa");


        caminar = Player.GetComponent <Animator>();

        sapo = Player.GetComponent <Rigidbody2D>();

        camara1 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara>();
        camara2 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara2>();
    }
示例#5
0
    // Use this for initialization
    void Start()
    {
        hp = maxHp;

        Player = GameObject.FindGameObjectWithTag("Sapo Boss");

        caminar = Player.GetComponent <Animator>();

        sapo = Player.GetComponent <Rigidbody2D>();


        basura = GameObject.FindGameObjectWithTag("basura");

        camara1 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara>();
        camara2 = GameObject.Find("Main Camera").GetComponent <SegumientoDEcamara2>();

        basura2 = GameObject.Find("Basurasprite_0");
    }