public static void DEBUG_MSG(object s) { if (DEBUGLEVEL.DEBUG >= debugLevel) { HDebug.Log(getHead() + s); } }
private void CallbackDownloader(AssetBundleInitalStatus initStatus) { SetLabelTextValue(status, ""); this.aStatus = initStatus; if (initStatus == AssetBundleInitalStatus.HttpError) { HDebug.Log("Download resource error"); } else if (initStatus == AssetBundleInitalStatus.HttpTimeover) { HDebug.Log("Download timeover"); } else if (initStatus == AssetBundleInitalStatus.Start) { progress.SetActive(true); percent.SetActive(true); count.SetActive(true); } else { SetLabelTextValue(this.status, "Please touch"); progress.SetActive(false); percent.SetActive(false); count.SetActive(false); goMainFlag = true; } }
public void OnClickLocalNoti5Min() { DateTime date = DateTime.Now.AddMinutes(5); HDebug.Log("register time : " + date); NotificationManager.Instance.ScheduleLocalNotification(date, "Hellgate schedule local notification 5 minute"); }
public void OnClickLocalNoti30Second() { DateTime date = DateTime.Now.AddSeconds(30); HDebug.Log("register time : " + date); NotificationManager.Instance.ScheduleLocalNotification(date, "Hellgate schedule local notification 30 second", "HellgateNoti30Sec"); }
private static async void handleException(Task task) { await task; //do nothing if (task.Exception != null) { HDebug.Log(task.Exception); } }
private void OnProgress(int progress) { if (progress >= 100) { SetButton(backButton, WebViewManager.Instance.CanGoBack()); SetButton(forwardButton, WebViewManager.Instance.CanGoForward()); } HDebug.Log("OnProgress : " + progress); }
public void OnClickGcmApnsId() { string id = NotificationManager.Instance.GetRegistrationId(); if (id == "") { HDebug.Log("Please on click register"); return; } HDebug.Log(id); }
void UpdateVisibleChunks() { if (go2 == null) { go2 = GameObject.CreatePrimitive(PrimitiveType.Capsule); } for (int i = 0; i < terrainChunksVisibleLastUpdate.Count; i++) { terrainChunksVisibleLastUpdate[i].SetVisible(false); } terrainChunksVisibleLastUpdate.Clear(); currentChunkCoord.x = Mathf.RoundToInt(viewerPosition_inChunkSpace.x / chunkSize.x); currentChunkCoord.y = Mathf.RoundToInt(viewerPosition_inChunkSpace.y / (chunkSize.y)); go2.transform.position = viewerPosition_inChunkSpace; HDebug.Log(currentChunkCoord); for (int yOffset = -chunksVisibleInViewDst.y; yOffset <= chunksVisibleInViewDst.y; yOffset++) { for (int xOffset = -chunksVisibleInViewDst.x; xOffset <= chunksVisibleInViewDst.x; xOffset++) { Vector2Int viewedChunkCoord = currentChunkCoord + new Vector2Int(xOffset, yOffset); HDebug.Log("sub " + viewedChunkCoord); IDictionary <Vector2Int, MapChunk> chunks = controller.GetMap().GetChunks(); if (chunks.ContainsKey(viewedChunkCoord)) { chunks[viewedChunkCoord].UpdateMapChunk(viewerPosition_inChunkSpace, maxViewDst + betterView); if (chunks[viewedChunkCoord].IsVisible()) { terrainChunksVisibleLastUpdate.Add(chunks[viewedChunkCoord]); } } else { //terrainChunkDictionary.Add(viewedChunkCoord, new TerrainChunk(viewedChunkCoord, chunkSize, transform, mapMaterial)); } } } }
protected void DoReleaseSelectedSkill() { entity.DoReleaseSkill(entity.GetControllRemote().SelectedSkillID); HDebug.Log("entity " + entity.gameObject.name + ":" + "target " + entity.GetTargetEntity().gameObject.name); }
private void OnError(string message) { HDebug.Log("OnError : " + message); }
private void RemoteNotificationReceived(string text) { HDebug.Log("RemoteNotificationReceived : " + text); }
private void LocalNotificationReceived(string text) { HDebug.Log("LocalNotificationReceived : " + text); }
private void DevicePushIdReceived(string token) { HDebug.Log("DevicePushIdReceived : " + token); }
public void OnClickLocalNotiAllCancel() { HDebug.Log("All Cacenl"); NotificationManager.Instance.CancelAllLocalNotifications(); }
public void OnClickLocalNoti1MinCancel() { HDebug.Log("Cacenl HellgateNoti1Min"); NotificationManager.Instance.CancelLocalNotification("HellgateNoti1Min"); }