Set of parameters used to define an Android device or group of Android devices.
Specify a list of parameters to identify an Android device or set of Android devices. Enter values for one or multiple parameters. The parameter values are processed using logical AND operation to check if the device properties match with all the specified values.
Unity ignores the filter if all parameters are empty.
| Property | Description |
|---|---|
| vulkanDeviceAllowFilters | Specifies a list of VulkanDeviceFilterData parameters to allow Android devices to always use Vulkan API when running Unity applications. This API is only available in the Unity Editor. The list is immutable at runtime. |
| vulkanDeviceDenyFilters | Specifies a list of VulkanDeviceFilterData parameters to restrict Android devices from using Vulkan API when running Unity applications. This API is only available in the Unity Editor. The list is immutable at runtime. |
| vulkanGraphicsJobsDeviceFilters | Specifies a list of VulkanGraphicsJobsDeviceFilterData parameters to indicate which Graphics Jobs mode the Android device should use running Unity applications with the Vulkan API. This API is only available in the Unity Editor. The list is immutable at runtime. |
| Constructor | Description |
|---|---|
| VulkanDeviceFilterLists | Create a VulkanDeviceFilterLists. |
| Method | Description |
|---|---|
| EnsureValidOrThrow | Ensures all filters defined in VulkanDeviceFilterData.vulkanDeviceDenyFilters, VulkanDeviceFilterData.vulkanDeviceAllowFilters, and VulkanDeviceFilterData.vulkanGraphicsJobsDeviceFilters are valid. This API is only available in the Unity Editor. |
| Property | Description |
|---|---|
| hideFlags | Controls whether the object is hidden, saved with the scene, and editable by the user. |
| name | The name of the object. |
| Method | Description |
|---|---|
| GetEntityId | Gets the EntityId of the object. |
| GetHashCode | Returns the hash code for the object. |
| ToString | Returns the name of the object. |
| Method | Description |
|---|---|
| Destroy | Removes a GameObject, component, or asset. |
| DestroyImmediate | Destroys the specified object immediately. Use with caution and in Edit mode only. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindAnyObjectByType | Retrieves any active loaded object of Type T. |
| FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
| Instantiate | Clones the object original and returns the clone. |
| InstantiateAsync | Captures a snapshot of the original object that's related to another GameObject and obtains an AsyncInstantiateOperation instance of the resulting objects. |
| Operator | Description |
|---|---|
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |
| operator == | Compares two object references to see if they refer to the same object. |