示例#1
0
    void Start()
    {
        if (Localize.GetLanguageSuffix() == "chinese")
        {
            board = (GameObject)Instantiate(Resources.Load("stats_board.chinese"));
        }
        else
        {
            board = (GameObject)Instantiate(Resources.Load("stats_board.english"));
        }
        board.guiTexture.enabled = false;

        yOffset = (Screen.height - 640) / 2;
        xOffset = (Screen.width - 960) / 2;

        spriteManager = UI.firstToolkit;
    }