You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -164,7 +164,7 @@ public TypeReference greetingLoggerType;
164
164
165
165
166
166
167
-
By default, folders are closed. If you want them all to be expanded when you open the dropdown, use ExpandAllFolders = true:
167
+
By default, folders are closed. If you want them all to be expanded when you open the dropdown, use ***ExpandAllFolders*** = true:
168
168
169
169
```csharp
170
170
[TypeOptions(ExpandAllFolders=true)]
@@ -173,7 +173,7 @@ public TypeReference allTypes;
173
173
174
174
175
175
176
-
By default, the searchbar appears when you have more than 10 types in the dropdown list. You can change this behaviour with the SearchbarMinItemsCount option. Here we used SearchbarMinItemsCount = 0 to make searchbar appear even though there are less than 10 types to choose from.
176
+
By default, the searchbar appears when you have more than 10 types in the dropdown list. You can change this behaviour with the ***SearchbarMinItemsCount*** option. Here we used SearchbarMinItemsCount = 0 to make searchbar appear even though there are less than 10 types to choose from.
@@ -190,11 +190,11 @@ You can make the field show just the type name without its namespace. For exampl
190
190
191
191
192
192
193
-
By default, the field shows built-in types by their keyword name instead of the full name (e.g. `int` instead of `System.Int32`). You can change this by setting the *UseBuiltInNames* option to false.
193
+
By default, the field shows built-in types by their keyword name instead of the full name (e.g. `int` instead of `System.Int32`). You can change this by setting the ***UseBuiltInNames*** option to false.
194
194
195
195
196
196
197
-
The *SerializableOnly* option allows you to show only the classes that can be serialized by Unity. It is useful when creating custom generic classes using the types selected from the dropdown. It is a [new feature in Unity 2020](https://unity.com/releases/2020-1/programmer-tools#create-fields-generic-types-directly).
197
+
The ***SerializableOnly*** option allows you to show only the classes that can be serialized by Unity. It is useful when creating custom generic classes using the types selected from the dropdown. It is a [new feature in Unity 2020](https://unity.com/releases/2020-1/programmer-tools#create-fields-generic-types-directly).
***AllowInternal*** option makes internal types appear in the drop-down. By default, only public ones are shown.
207
+
208
+
209
+
206
210
## Inherits Attribute
207
211
208
212
This attribute allows you to choose only from the classes that implement a certain interface or extend a class. It has all the arguments `TypeOptions` provides.
0 commit comments