コード例 #1
0
 public void DisplayRunePageInfo()
 {
     string[] strs = primaryRunePath.GetSelectedRunes();
     foreach (string str in strs)
     {
         Debug.Log(str + " is selected");
     }
 }
コード例 #2
0
    private RuneInfo GetRuneInfo()
    {
        RuneInfo rInfo = new RuneInfo();

        rInfo.Initialize(primaryRunePath.GetRunePathName(), secondaryRunePath.GetRunePathName());
        string[] strs = primaryRunePath.GetSelectedRunes();
        foreach (string str in strs)
        {
            rInfo.AddRuneStone(str);
        }
        strs = secondaryRunePath.GetSelectedRunes(false);
        foreach (string str in strs)
        {
            rInfo.AddRuneStone(str);
        }
        return(rInfo);
    }