private void Start() { player = GameObject.FindGameObjectWithTag("Player"); grapple = player.GetComponent <GrapplingManager>(); flashlightManager = player.GetComponent <FlashlightManager>();//gets flashlight and grapple }
private void Awake() { targetDirection = Vector2.zero; instance = this; }