Selects the specified asset in the content view. The asset to select.
(Asset asset)
| 1133 | /// </summary> |
| 1134 | /// <param name="asset">The asset to select.</param> |
| 1135 | public void Select(Asset asset) |
| 1136 | { |
| 1137 | if (asset == null) |
| 1138 | throw new ArgumentNullException(); |
| 1139 | |
| 1140 | var item = Editor.ContentDatabase.Find(asset.ID); |
| 1141 | if (item != null) |
| 1142 | Select(item); |
| 1143 | } |
| 1144 | |
| 1145 | /// <summary> |
| 1146 | /// Selects the specified item in the content view. |
no test coverage detected