예제 #1
0
        /// <summary>
        /// Run code on Aurora's UI thread. Only available on Started..
        /// </summary>
        public object InvokeOnUIThread(Delegate method, params object[] args)
        {
            try
            {
                return(TacticalMap.Invoke(method, args));
            }
            catch (Exception e)
            {
                LogError($"Invoke exception {e.Message}");

                return(null);
            }
        }