void Start() { _windowName = GetActiveWindowTitle(); for (int i = 0; i < _touches.Length; i++) _touches[i] = new Win8Touch(); }
static bool Win8Touch_GetTouch(int iIndex, ref Win8Touch win8Touch){ return true; }
public static Win8Touch GetTouch(int index) { Win8Touch win8Touch = new Win8Touch(); if (!Win8Touch_GetTouch(index, ref win8Touch)) Debug.LogError("Win8Touch_GetTouch error!"); return win8Touch; }
static extern bool Win8Touch_GetTouch(int iIndex, ref Win8Touch win8Touch);