public void Serialise() { _storyNPCSerialiser.SerialiseInstance(NPC.GetComponent <StoryNPC>(), new System.IO.FileInfo(Application.streamingAssetsPath + @"\StoryNPC.xml")); }
public void Serialise() { _serialiser.SerialiseInstance(testob.GetComponent <InterfaceTesting>(), new System.IO.FileInfo(Application.streamingAssetsPath + @"\InterfaceTesting.xml")); }