private void OnLocationGotNotify(string msg) { if (msg.get_Length() > 0) { ApolloStringParser apolloStringParser = new ApolloStringParser(msg); ApolloLocation @object = apolloStringParser.GetObject <ApolloLocation>("Location"); if (this.onLocationGotEvent != null) { try { this.onLocationGotEvent(@object); } catch (Exception ex) { ADebug.Log("onLocationGotEvent:" + ex); } } } }
private void OnLocationGotNotify(string msg) { if (msg.Length > 0) { ApolloStringParser parser = new ApolloStringParser(msg); ApolloLocation aRelation = null; aRelation = parser.GetObject <ApolloLocation>("Location"); if (this.onLocationGotEvent != null) { try { this.onLocationGotEvent(aRelation); } catch (Exception exception) { ADebug.Log("onLocationGotEvent:" + exception); } } } }