コード例 #1
0
ファイル: IsoWorld.cs プロジェクト: liuhuixin/TestCreating
 public virtual void InitScene()
 {
     m_scenes.Clear();
     for (int i = 0; i < root.childCount; ++i)
     {
         IsoScene scene = root.GetChild(i).GetComponent <IsoScene>();
         if (scene)
         {
             m_scenes.Add(scene);
         }
     }
 }