示例#1
0
        void Dump(DumpScriptEvent dumpScriptEvent)
        {
            var assets = Resolve <IAssetManager>();
            var events = assets.LoadScript(dumpScriptEvent.ScriptId);

            foreach (var e in events)
            {
                Raise(new LogEvent(LogEvent.Level.Info, e.ToString()));
            }
        }
示例#2
0
        void Dump(DumpScriptEvent dumpScriptEvent)
        {
            var assets = Resolve <IAssetManager>();
            var events = assets.LoadScript(dumpScriptEvent.ScriptId);

            foreach (var e in events)
            {
                Info(e.ToString());
            }
        }