// Use this for initialization
    void Start()
    {
        XDebug.LogBlue("Hello");
        XDebug.LogGreen("Hello");
        XDebug.LogRed("Hello");
        XDebug.LogYellow("Hello");


        XDebug.LogBlue("Hello", "*****");
        XDebug.LogGreen("Hello", "*****");
        XDebug.LogRed("Hello", "*****");
        XDebug.LogYellow("Hello", "*****");
    }
    // Use this for initialization
    void Start()
    {
        XDebug.LogGreen("First Child with Matching Tag: " + this.transform.FindFirstChildWithTag("Player").name);
        XDebug.LogGreen("Last Child with Matching Tag: " + this.transform.FindLastChildWithTag("Player").name);


        GameObject[] childrenFound = this.transform.FindAllChildrenWithTag("Player");

        XDebug.LogBlue("Children Found: " + childrenFound.Length, "****");
        for (int i = 0; i < childrenFound.Length; i++)
        {
            XDebug.LogGreen(childrenFound[i].name);
        }
    }
示例#3
0
 public static void Debug2()
 {
     XDebug.LogGreen("aft field in value:", _in);
 }