示例#1
0
        public string GetTooltipWorldEditorSelection(SimObject obj)
        {
            string text = "Objects: " + obj.call("getCount");

            if (!obj.getCanSave())
                text = text + '\n' + "Persistent: No";
            else
                text = text + '\n' + "Persistent: Yes";

            return text;
        }