Contains
Returns whether an object is contained in the current selection.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
Contains(EntityId)
Returns whether an object is contained in the current selection.
public static bool Contains(EntityId entityId)
Parameters
Returns
Type | Description |
|---|---|
| bool |
Contains(int)
Returns whether an object is contained in the current selection.
public static bool Contains(int instanceID)
Parameters
Returns
Type | Description |
|---|---|
| bool |
Contains(Object)
Returns whether an object is contained in the current selection.
public static bool Contains(Object obj)
Parameters
Returns
Type | Description |
|---|---|
| bool |