private void Start() { mainCam = Camera.main; playerC = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerController>(); hook = playerC.GetComponent<GraplingHook>(); startBackgroundColor = mainCam.backgroundColor; resetText.gameObject.SetActive(false); }
public override void Start() { base.Start(); collisions.faceDir = 1; player = GameObject.FindGameObjectWithTag("Player").GetComponent <Player>().GetComponent <GraplingHook>(); }