Ejemplo n.º 1
0
    public Dictionary <int, GameObject> cubes_Blocks = new Dictionary <int, GameObject>();    //for Dynamic create BlockID

    // Use this for initialization
    void Start()
    {
        RFIB = new RFIBricks_Cores(ReaderIP, ReaderPower, Sensitive, EnableAntenna, Flag_ToConnectTheReade);

        //RFIB.setSerialcomPort("COM3");


        RFIB.setShowSysMesg(false);
        RFIB.setShowReceiveTag(false);
        RFIB.setShowDebugMesg(false);
        //RFIB.setSysTagBased("7428 0000");
        RFIB.setSysTagBased("2250 0000");
        RFIB.setAllowBlockType(AllowBlockType);

        //[OPTIMIZATION]
        RFIB.setRefreshTime(300);
        RFIB.setDisappearTime(300);
        RFIB.setDelayForReceivingTime(200);

        RFIB.Num_Allow_LosslyStack = 1;
        RFIB.startReceive();

        if (Flag_AddPreStackOnce)
        {
            RFIB.setPreStackOrders(PreStackOrders);
        }

        DrawBoard();
        setBoardIDandSpecialMaterialBlcok();
    }