// Use this for initialization void Start() { spotifyManager = GameObject.Find("SpotifyManager"); spotifyManagerScript = spotifyManager.GetComponent <Spotify>(); saveLoad = spotifyManager.GetComponent <SaveLoad>(); recommendationDeck = GameObject.Find("RecommenderDeck"); recommenderDeckScript = recommendationDeck.GetComponent <RecommenderDeck>(); raycast = RaycastGameObject.GetComponent <Raycast>(); gameObjectName = transform.name; //Ignore collisions between grabble and handUI layer, i.e. hand ui and vinyl (they can collide when holding vinyl) Physics.IgnoreLayerCollision(8, 11, true); }
// Use this for initialization void Start() { recommenderDeckScript = recommenderDeck.GetComponent <RecommenderDeck>(); }