// Update is called once per frame void Update() { if (!isInitialized) { return; } score = Score.instance.GetScore(); debugId = DebugLog.ChaseLog("city" + score, debugId); for (int i = 0; i < ScoreList.Count; i++) { if (ScoreList[i] <= score) { CityStaArray[i] = 1; } else { break; } } for (int i = 0; i < CityModelCnt; i++) { AnimatorArray[i].SetInteger("CitySta", CityStaArray[i]); } }
//======================================================================================== // private //======================================================================================== void DebugDraw() { #if UNITY_DEBUG string str = string.Format("現在の時間 : {0:f2} ", TimeCount); DebugLog.ChaseLog(str, LogId); #endif }
void DebugUpdate() { string s = "位置" + NowFrameData.Position.ToString() + "カメラサイズ" + NowFrameData.OrthoSize.ToString(); DebugLog.ChaseLog(s, DebugId); }
void DebugInit() { DebugId = DebugLog.ChaseLog(""); }
private void Debug() { string s = "MediumEnemy : " + NowTarget.name; id = DebugLog.ChaseLog(s, id); }
public override void SceneOtherInit() { #if UNITY_DEBUG LogId = DebugLog.ChaseLog("", LogId); #endif }