Unity Engine documentationScript ReferenceUnityEditorSelectioncountReturns the number of objects in the Selection.Read time 1 minuteLast updated 5 days agoDefinition Type: Property Namespace: UnityEditor Assembly: UnityEditor.CoreModule public static int count { get; }