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); }
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); }