Ejemplo n.º 1
0
    // 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]);
        }
    }
Ejemplo n.º 2
0
        //========================================================================================
        //                                    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("");
 }
Ejemplo n.º 5
0
    private void Debug()
    {
        string s = "MediumEnemy : " + NowTarget.name;

        id = DebugLog.ChaseLog(s, id);
    }
Ejemplo n.º 6
0
        public override void SceneOtherInit()
        {
#if UNITY_DEBUG
            LogId = DebugLog.ChaseLog("", LogId);
#endif
        }