public void OnLoad(string path) { string json_str = File.ReadAllText(path); object obj = MiniJSON.Json.Deserialize(json_str); m_ActionObject = new ActionObject(); m_ActionObject.ReadJson((Dictionary <string, object>)obj); }
public void OnLoad(string path) { string json_str = File.ReadAllText(path); object obj = MiniJSON.Json.Deserialize(json_str); m_ActionObject = new ActionObject(); m_ActionObject.ReadJson((Dictionary <string, object>)obj); }