C# Class UnityEditor.Selection

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
selectionChanged System.Action

Private Properties

Свойство Type Description
Add void
Add void
GetObjectsMode Object[]
GetTransforms UnityEngine.Transform[]
Internal_CallSelectionChanged void
Remove void
Remove void

Méthodes publiques

Méthode Description
Contains ( Object obj ) : bool

Returns whether an object is contained in the current selection.

Contains ( int instanceID ) : bool

Returns whether an object is contained in the current selection.

GetFiltered ( Type type, SelectionMode mode ) : Object[]

Returns the current selection filtered by type and mode.

Private Methods

Méthode Description
Add ( Object obj ) : void
Add ( int instanceID ) : void
GetObjectsMode ( SelectionMode mode ) : Object[]
GetTransforms ( SelectionMode mode ) : UnityEngine.Transform[]
Internal_CallSelectionChanged ( ) : void
Remove ( Object obj ) : void
Remove ( int instanceID ) : void

Method Details

Contains() public static méthode

Returns whether an object is contained in the current selection.

public static Contains ( Object obj ) : bool
obj Object
Résultat bool

Contains() public static méthode

Returns whether an object is contained in the current selection.

public static Contains ( int instanceID ) : bool
instanceID int
Résultat bool

GetFiltered() public static méthode

Returns the current selection filtered by type and mode.

public static GetFiltered ( Type type, SelectionMode mode ) : Object[]
type System.Type Only objects of this type will be retrieved.
mode SelectionMode Further options to refine the selection.
Résultat Object[]

Property Details

selectionChanged public_oe static_oe property

Delegate callback triggered when currently active/selected item has changed.

public static Action,System selectionChanged
Résultat System.Action