Beispiel #1
0
    public float lifeTime;              // time emitted food is active in the scene

    private void Awake()
    {
        Instance = this;
    }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     gameController  = GameController.Instance;
     scanFoodEmitter = ScanFoodEmitter.Instance;
     device          = InputDevices.GetDeviceAtXRNode(XRNode.RightHand);
 }