//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; }
void Start() { respawnPt = start; player = FindObjectOfType <PlayerMovement>(); throwHook = FindObjectOfType <throwhook>(); // find throwhook script }
// private GameObject enemy; void Start() { player = FindObjectOfType <PlayerMovement>(); throwHook = FindObjectOfType <throwhook>(); // find throwhook script // enemy = GameObject.FindGameObjectWithTag("Enemy"); }