Skip to main content

StyleOptionWrapper.DataLoad

Declaration#

public void DataLoad(Stream stream)

Parameters#

NameDescription
streamStream to use

Description#

Load wrapper from stream

Usage#

Example
using NullSave.GDTK;using System.IO;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(StyleOptionWrapper target)    {        using (FileStream fs = new FileStream(Path.Combine(Application.persistentDataPath, "testFile.dat"), FileMode.Open, FileAccess.Read))        {            target.DataLoad(fs);        }    }
}