/** constructor */ public Touch() { //callback this.callback = null; //list this.list = new System.Collections.Generic.List <Touch_Phase>(); //device_item_list this.device_item_list = new Touch_Device_Item[1]; this.device_item_list_count = 0; }
/** [シングルトン]constructor */ private Touch() { //screen_w this.screen_w = UnityEngine.Screen.width; this.screen_h = UnityEngine.Screen.height; //callback this.callback = null; //list this.list = new System.Collections.Generic.List <Touch_Phase>(); //device_item_list this.device_item_list = new Touch_Device_Item[1]; this.device_item_list_count = 0; this.devicename = ""; }
/** コールバック。設定。 */ public void SetCallBack(CallBack_OnTouch a_callback) { this.callback = a_callback; }