示例#1
0
    public static GameObject GetRoot()
    {
        BZWWorld root = GameObject.FindObjectOfType <BZWWorld>();

        if (root != null)
        {
            return(root.gameObject);
        }

        return(FromBZW.CreateNewBZWRoot(new WorldMap()));
    }
示例#2
0
 static void NewBZW()
 {
     FromBZW.CreateNewBZWRoot(new WorldMap());
 }