コード例 #1
0
        public void SetEntityHighlights(string[] highlightEntityIds, UnityEngine.Color color, string indoorMapId = null)
        {
            if (string.IsNullOrEmpty(indoorMapId))
            {
                indoorMapId = GetActiveIndoorMapId();
            }

            if (!string.IsNullOrEmpty(indoorMapId))
            {
                foreach (var highlightEntityId in highlightEntityIds)
                {
                    var colorInterop = color.ToColorInterop();
                    NativeIndoorMapsApi_SetIndoorHighlight(NativePluginRunner.API, indoorMapId, highlightEntityId, ref colorInterop);
                }
            }
        }