Exemplo n.º 1
0
    public void Load(string fileName, string path)
    {
        Vector3Serialisable nodeListSerialisable = new Vector3Serialisable();

        SaveLoad.SaveLoadUtilities <Vector3Serialisable> .Load(out nodeListSerialisable, fileName, path);

        nodeListSerialisable.SetValuesToNodeList(out nodeList, out isLoopOpen);
    }
Exemplo n.º 2
0
    public void Load()
    {
        Vector3Serialisable nodeListSerialisable = new Vector3Serialisable();

        SaveLoad.SaveLoadUtilities <Vector3Serialisable> .Load(out nodeListSerialisable, "TrackBesierPoints.Besier", saveLoad.dataPath);

        nodeListSerialisable.SetValuesToNodeList(out points, out loop);
    }
Exemplo n.º 3
0
    public void LoadFile(string fileName)
    {
        Vector3Serialisable nodeListSerialisable = new Vector3Serialisable();

        SaveLoad <Vector3Serialisable> .Load(out nodeListSerialisable, fileName);

        nodeListSerialisable.SetValuesToNodeList(out nodeList, out isLoopOpen);
    }
Exemplo n.º 4
0
    public void Save(string fileName, string path)
    {
        Vector3Serialisable nodeListSerialisable = new Vector3Serialisable(nodeList, isLoopOpen);

        SaveLoad.SaveLoadUtilities <Vector3Serialisable> .Save(nodeListSerialisable, fileName, path);
    }
Exemplo n.º 5
0
    public void Save()
    {
        Vector3Serialisable nodeListSerialisable = new Vector3Serialisable(new List <Vector3>(points), loop);

        SaveLoad.SaveLoadUtilities <Vector3Serialisable> .Save(nodeListSerialisable, "TrackBesierPoints.Besier", saveLoad.dataPath);
    }
Exemplo n.º 6
0
    public void Save(string fileName)
    {
        Vector3Serialisable nodeListSerialisable = new Vector3Serialisable(nodeList, isLoopOpen);

        SaveLoad <Vector3Serialisable> .Save(nodeListSerialisable, fileName);
    }