Ejemplo n.º 1
0
        public void Load()
        {
            loadStarted = true;
            splineList  = null;
            selected    = null;

            SplineFileManager window = (SplineFileManager)EditorWindow.GetWindow(typeof(SplineFileManager), true, "Load Splines from File");

            window.Show();
        }
Ejemplo n.º 2
0
        public void Save(List <GameObject> sl)
        {
            int i = 0;

            saveStarted = true;
            splineList  = sl;
            selected    = new bool[splineList.Count];

            // Default true
            for (i = 0; i < selected.Length; i++)
            {
                selected[i] = true;
            }

            SplineFileManager window = (SplineFileManager)EditorWindow.GetWindow(typeof(SplineFileManager), true, "Save Splines to File");

            window.Show();
        }