void Start() { spawnRope = GetComponent <SpawnRope>(); rotationSpeed = FindObjectOfType <PlayerController>().RotationSpeed; rotationValue = FindObjectOfType <PlayerController>().RotationValue; }
void Start() { mainCamera = GetComponent <Camera>(); controller = FindObjectOfType <ButtonController>(); spawnRope = FindObjectOfType <SpawnRope>(); player = FindObjectOfType <Player>(); }