Exemplo n.º 1
0
    //public Animator animator;


    // Start is called before the first frame update
    void Start()
    {
        rb        = gameObject.GetComponent <Rigidbody2D>();
        throwHook = FindObjectOfType <throwhook>(); // find throwhook script
        fell      = false;
    }
Exemplo n.º 2
0
 void Start()
 {
     respawnPt = start;
     player    = FindObjectOfType <PlayerMovement>();
     throwHook = FindObjectOfType <throwhook>(); // find throwhook script
 }
Exemplo n.º 3
0
    // private GameObject enemy;

    void Start()
    {
        player    = FindObjectOfType <PlayerMovement>();
        throwHook = FindObjectOfType <throwhook>(); // find throwhook script
        //  enemy = GameObject.FindGameObjectWithTag("Enemy");
    }