Example #1
0
    // Update is called once per frame
    void Update()
    {
        uint downMap  = manager.downKeymap;
        uint upMap    = manager.upKeymap;
        uint pressMap = manager.pressKeymap;

        if (StateTool.GetControlState(downMap))
        {
            //  招式识别相关代码
        }
        else
        {
            if (StateTool.GetLeftArrowState(pressMap))
            {
                transform.Translate(new Vector3(-selfState.speed, 0, 0));
            }
            if (StateTool.GetRightArrowState(pressMap))
            {
                transform.Translate(new Vector3(selfState.speed, 0, 0));
            }
            if (StateTool.GetUpArrowState(pressMap))
            {
                transform.Translate(new Vector3(0, selfState.speed, 0));
            }
            if (StateTool.GetDownArrowState(pressMap))
            {
                transform.Translate(new Vector3(0, -selfState.speed, 0));
            }
        }
    }
Example #2
0
        public DefaultClass()
        {
            INVOICE_TOOLS.InitDetails();
            //OtherSettingTools.InitEstimateDetails();
            //OtherSettingTools.InitChallanDetails();
            //OtherSettingTools.InitCreditNoteDetails();
            //OtherSettingTools.InitPurchaseOrderDetails();
            //OtherSettingTools.InitAdvanceReceiptVoucherDetails();
            //OtherSettingTools.InitRefundVoucherDetails();
            //OtherSettingTools.InitReceiptVoucherDetails();
            //OtherSettingTools.InitAdvancePaymentVoucherDetails();
            //OtherSettingTools.InitPaymentVoucherDetails();
            //OtherSettingTools.InitDebitNoteDetails();
            OtherSettingTools.CallAllFunctionOfOtherSettingTools();

            UnitTools.GetUnit();
            ComodityCodeTools.GetHSNCode();
            ComodityCodeTools.GetSACCode();

            BillingTermTools.GetBillingTerms();
            EmployeeDesignationTools.GetDesignation();
            BAnkTools.GetBank();
            UserTools.GetUserName();
            StateTool.GetState();

            FinancialYearTools.GetYear();
            SubGroupTools.GetIncomeExpenseGroup();
            SubGroupTools.GetUnder();

            CashOrBankAccountTools.GetCashAccount();
            CashOrBankAccountTools.GetBankAcHead();

            Supplier.GetSuppliers();
            BillClas.GetAccountHeadForExpense();
            ExpenseTools.GetExpenseAccountHead();
            AccountHeadTools.SetCategory();

            ItemTools.GetItem();
            ItemTools.GetItemCategory();
            ItemTools.GetSubCategory();
            ItemTools.GetItemCompany();

            AccountHeadTools.GetSalesLedgerID();
            AccountHeadTools.GetSalesReturnLedgerID();
            AccountHeadTools.GetPurchaseLedgerID();
            AccountHeadTools.GetPurchaseReturnLedgerID();
            Customertools.GetCustomers();
            ///ledgers
            LedgerTools.GetAllLedgers();
            LedgerTools.GetAccountLedgers();
            LedgerTools.GetPartyLedgers();
            LedgerTools.GetBankLedgers();
            LedgerTools.GetCashLedgers();
            LedgerTools.GetCash_BankLedgers();
            LedgerTools.GetCustomerLedgers();
            LedgerTools.GetSupplierLedgers();
            LedgerTools.GetOtherLedgers();
            LedgerTools.GetReceivableAccountHeadID();

            SubAccountTools.GetSubAccountForExpense();

            CashCustomersTools.GetCashCustomers();
        }