// Use this for initialization protected void Start() { files = new Dictionary <int, string> (); docGetter = gameObject.AddComponent <XmlDocGetter> (); docGetter.fileName = path + "/AssetXML"; docGetter.OnLoadFinish += this.OnXmlLoadFinish; }
// Use this for initialization protected void Start() { files=new Dictionary<int, string> (); docGetter = gameObject.AddComponent<XmlDocGetter> (); docGetter.fileName =path+ "/AssetXML"; docGetter.OnLoadFinish+=this.OnXmlLoadFinish; }