Exemple #1
0
    public GUI_info GetGUIInfo()
    {
        GUI_info myInfo = new GUI_info();

        myInfo.name            = myName;
        myInfo.myLevelInfo     = myLevelInfo;
        myInfo.myPriorities    = myPriorities;
        myInfo.myStats         = currentStats;
        myInfo.myStatusEffects = myStatusEffects;
        return(myInfo);
    }
    public GUI_info GetGUIInfo()
    {
        GUI_info myInfo = new GUI_info();

        myInfo.name            = playerLaminaBrainScript.myName;
        myInfo.myLevelInfo     = playerLaminaBrainScript.myLevelInfo;
        myInfo.myPriorities    = playerLaminaBrainScript.myPriorities;
        myInfo.myStats         = playerLaminaBrainScript.currentStats;
        myInfo.myStatusEffects = playerLaminaBrainScript.myStatusEffects;
        return(myInfo);
    }
Exemple #3
0
 public void SetUp(GUI_info newInfo)
 {
     myInfo      = newInfo;
     myName.text = "Name:     " + newInfo.name;
     laminaIcon.overrideSprite = Resources.Load <Sprite>(newInfo.name + "Lamina_FaceSprite");
 }