public void Show(WTEntity correspondingEntity) { isShowing = true; this.isVisible = true; this.correspondingEntity = correspondingEntity; }
virtual public void HandleAddedToEntity(WTEntity entity) { this.entity = entity; entity.AddChild(this); }
public void Dismiss() { isShowing = false; this.isVisible = false; for (int i = tableCells.Count - 1; i >= 0; i--) { WTTableCell cell = tableCells[i]; RemoveTableCell(cell); } correspondingEntity = null; }