protected override string GetDisplayText()
        {
            bool  isScanning = IsScannerActive();
            float range      = scanner.GetScanRange();
            float speed      = scanner.GetScanInterval();

            return(string.Format("Scanner Room {0}( <color=lightblue>{1}m</color> | <color=lightblue>{2}s</color> )",
                                 isScanning ? "<color=lime>[Scanning...]</color> " : "",
                                 Mathf.RoundToInt(range),
                                 Mathf.RoundToInt(speed)
                                 ));
        }
        static private bool AddResourceNodeIfWithinScanRange(MapRoomFunctionality mapRoom, List <ResourceTracker.ResourceInfo> resourceNodes, ResourceTracker.ResourceInfo info)
        {
            float scanRange    = mapRoom.GetScanRange();
            float sqrScanRange = scanRange * scanRange;

            if (mapRoom.typeToScan == info.techType && (mapRoom.wireFrameWorld.position - info.position).sqrMagnitude <= sqrScanRange)
            {
                Logger.Debug(string.Format("Techtype \"{0}\" is within scan range.", info.techType));
                resourceNodes.Add(info);
            }
            else
            {
                if (mapRoom.typeToScan == info.techType)
                {
                    Logger.Debug(string.Format("Techtype \"{0}\" is out of scan range.", info.techType));
                }
            }

            return(false);
        }