Beispiel #1
0
        void Awake()
        {
            CheckInstance();

            Lib.Initialize(touchNum);

            for (int i = 0; i < touchNum; ++i)
            {
                pointers_.Add(new Pointer(i));
            }
        }
Beispiel #2
0
        void Awake()
        {
            CheckInstance();

            Lib.SetDebugMode(debugMode);
            Lib.SetLogFunc(onDebugLog);
            Lib.SetErrorFunc(onDebugErr);

            Lib.Initialize(touchNum);

            for (int i = 0; i < touchNum; ++i)
            {
                pointers_.Add(new Pointer(i));
            }
        }