Example #1
0
        void OnEnable()
        {
            controllerNames = XmlLayoutUtilities.GetXmlLayoutControllerNames();
            controllerNames.Insert(0, "Create New");
            controllerNames.Insert(0, "None");

            xmlFileNames = GetAssetsOfType <TextAsset>(".xml").Select(x => AssetDatabase.GetAssetPath(x).Substring("Assets/".Length)).ToList();
            xmlFileNames.Insert(0, "Create New");
            xmlFileNames.Insert(0, "None");
        }