예제 #1
0
    void updateUI()
    {
        PlayerDataModule pd = ModuleManager.Instance.FindModule <PlayerDataModule>();

        if (pd == null)
        {
            return;
        }

        nameLb.text  = pd.GetName();
        levelLb.text = pd.GetLevel().ToString();
        gradeLb.text = pd.GetGrade().ToString();

        UIAtlasHelper.SetSpriteImage(faceSp, pd.GetFace());
    }