コード例 #1
0
    public new string ToString()
    {
        StringBuilder str = new StringBuilder("");

        str.Append("RunePageInfo");
        str.Append(System.Environment.NewLine);
        str.Append(Path_1.ToString());
        str.Append(Path_2.ToString());
        return(str.ToString());
    }
コード例 #2
0
    private void DisplayRunePath(RunePathData primaryRunePathData, RunePathData secondaryRunePathData, bool isEmpty = true)
    {
        if (isEmpty)
        {
            RunePathInfo rpInfo = RunePathInfo.RunePathData_to_RunePathInfo(primaryRunePathData, true); //for debug usee
            Debug.Log("Displaying RunePath: \n" + rpInfo.ToString());                                   //for debug use

            primaryRunePath.Initialize(RunePathInfo.RunePathData_to_RunePathInfo(primaryRunePathData, true));
            secondaryRunePath.Initialize(RunePathInfo.RunePathData_to_RunePathInfo(secondaryRunePathData, false));
        }
    }