Ejemplo n.º 1
0
    private void FixedUpdate()
    {
        if (wait > 0)
        {
            wait--;
            return;
        }
        GameLog.Core();
        a++;
        if (a == 12)
        {
            GameLog.CULLING();
            GameLog.setContentRectSize();
            GameLog.setLogCount();

            // Responsive Design :)
            GameLog.Recalculate_RectPos();
            if ((float)Screen.width / (float)Screen.height < 1)
            {
                Txt_Title.enabled = false;
                logCount.enabled  = false;
            }
            else
            {
                Txt_Title.enabled = true; logCount.enabled = true;
            }

            a = 0;
        }
    }