public float lifeTime; // time emitted food is active in the scene private void Awake() { Instance = this; }
// Start is called before the first frame update void Start() { gameController = GameController.Instance; scanFoodEmitter = ScanFoodEmitter.Instance; device = InputDevices.GetDeviceAtXRNode(XRNode.RightHand); }