void OnRenderObject() { if (objectInfo.draw && objectInfo.selectable[mode]) { MouseSelection.Submit(this); } }
void OnRenderObject() { bool selectable = !dead && !dying; if (selectable && monStat != null) { selectable = monStat.interact || (!monStat.npc && monStat.killable); } if (selectable) { MouseSelection.Submit(this); } }
private void OnRenderObject() { MouseSelection.Submit(this); }