Beispiel #1
0
        private static void JSUnloadDirectionalLight(string _activity, string _params)
        {
            if (isLoading)
            {
                return;
            }

            try
            {
                JSONNode root = JSON.Parse(_params);
                string   uuid = root["uuid"].Value;
                LightMgr.UnloadDirectionalLight(uuid);
            }
            catch (System.Exception e)
            {
                onNotify("Parse json has error: " + e.Message);
            }
        }