using System.Collections; using System.Collections.Generic; using UnityEngine; // In VR, the player object persists over scene loads. This setups the player for the game. public class VRPlayerSetup : MonoBehaviour { public Lorax[] Loraces; private void Start() { GameObject Player = GameObject.FindGameObjectWithTag("Player"); LoraxCuller Culler = Player.GetComponent(); Culler.Loraces = Loraces; } }