예제 #1
0
    // Use this for initialization
    private void Start()
    {
        InMenuScreen = false;
        InPauseMenu  = false;
        Datalogic dl = new Datalogic();

        dl.Initialize();
        MainCanvas = GameObject.FindGameObjectWithTag("MainCanvas").transform;
        BedManager.InitializeBeds();

        if (FindObjectOfType <OrderlyController>() != null)
        {
            OrderlyInScene = true;
        }
        else
        {
            OrderlyInScene = false;
        }
    }
 private void dcdEvent_Timeout(object sender, Datalogic.API.DecodeEventArgs e)
 {
     hDcd.SoftTrigger(DecodeInputType.Barcode, 6000);
     Log("[TIMEOUT] Restarting laser" + Environment.NewLine);
 }