手册
脚本 API
unity3d.com
Version:
2017.4
包含此页的版本:
2018.4
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
不含此页的版本:
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.3
5.6
受支持
旧版
手册
脚本 API
语言:
中文
English
中文
日本語
Español
한국어
Русский
脚本 API
Version:
2017.4
包含此页的版本:
2018.4
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
不含此页的版本:
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.3
5.6
受支持
旧版
UnityEditor
UnityEditor.Advertisements
Classes
AdvertisementSettings
UnityEditor.AI
Classes
NavMeshBuilder
NavMeshEditorHelpers
NavMeshVisualizationSettings
UnityEditor.Analytics
Classes
AnalyticsSettings
PerformanceReportingSettings
UnityEditor.AnimatedValues
Classes
AnimBool
AnimFloat
AnimQuaternion
AnimVector3
BaseAnimValue<T0>
UnityEditor.Animations
Classes
AnimatorCondition
AnimatorController
AnimatorControllerLayer
AnimatorState
AnimatorStateMachine
AnimatorStateTransition
AnimatorTransition
AnimatorTransitionBase
BlendTree
ChildAnimatorState
ChildAnimatorStateMachine
ChildMotion
StateMachineBehaviourContext
Enumerations
AnimatorConditionMode
AnimatorLayerBlendingMode
BlendTreeType
TransitionInterruptionSource
UnityEditor.Build
Classes
BuildFailedException
Interfaces
IActiveBuildTargetChanged
IOrderedCallback
IPostprocessBuild
IPreprocessBuild
IProcessScene
UnityEditor.Callbacks
Classes
DidReloadScripts
Attributes
OnOpenAssetAttribute
PostProcessBuildAttribute
PostProcessSceneAttribute
UnityEditor.Compilation
Classes
Assembly
AssemblyBuilder
AssemblyDefinitionException
AssemblyDefinitionPlatform
CompilationPipeline
CompilerMessage
Enumerations
AssemblyBuilderFlags
AssemblyBuilderStatus
AssemblyFlags
CompilerMessageType
UnityEditor.CrashReporting
Classes
CrashReportingSettings
UnityEditor.Events
Classes
UnityEventTools
UnityEditor.EventSystems
Classes
EventSystemEditor
EventTriggerEditor
UnityEditor.Experimental
UnityEditor.Experimental.Animations
Classes
GameObjectRecorder
UnityEditor.Experimental.AssetImporters
Classes
AssetImportContext
AssetImporterEditor
ScriptedImporter
ScriptedImporterEditor
Attributes
ScriptedImporterAttribute
Classes
Lightmapping
UnityEditor.IMGUI
UnityEditor.IMGUI.Controls
Classes
ArcHandle
BoxBoundsHandle
CapsuleBoundsHandle
Enumerations
HeightAxis
JointAngularLimitHandle
MultiColumnHeader
Classes
DefaultGUI
DefaultStyles
MultiColumnHeaderState
Classes
Column
PrimitiveBoundsHandle
Enumerations
Axes
HandleDirection
SearchField
SphereBoundsHandle
TreeView
Classes
CanStartDragArgs
DefaultGUI
DefaultStyles
DragAndDropArgs
RenameEndedArgs
RowGUIArgs
SetupDragAndDropArgs
Enumerations
DragAndDropPosition
TreeViewItem
TreeViewState
Enumerations
TreeViewSelectionOptions
UnityEditor.iOS
UnityEditor.iOS.Xcode
UnityEditor.iOS.Xcode.Extensions
Classes
PBXProjectExtensions
Classes
PBXCapabilityType
PBXProject
PlistDocument
PlistElement
PlistElementArray
PlistElementBoolean
PlistElementDict
PlistElementInteger
PlistElementString
ProjectCapabilityManager
Enumerations
BackgroundModesOptions
MapsOptions
PBXSourceTree
UnityEditor.Media
Classes
AudioTrackAttributes
MediaEncoder
MediaRational
VideoTrackAttributes
UnityEditor.MemoryProfiler
Classes
Connection
FieldDescription
MemorySection
MemorySnapshot
PackedGCHandle
PackedMemorySnapshot
PackedNativeType
PackedNativeUnityEngineObject
TypeDescription
VirtualMachineInformation
UnityEditor.Networking
UnityEditor.Networking.PlayerConnection
Classes
ConnectedPlayer
EditorConnection
UnityEditor.PackageManager
UnityEditor.PackageManager.Requests
Classes
AddRequest
ListRequest
RemoveRequest
Request
Request<T0>
ResetToEditorDefaultsRequest
SearchRequest
Classes
Client
Error
PackageCollection
PackageInfo
Enumerations
ErrorCode
StatusCode
UnityEditor.Purchasing
Classes
PurchasingSettings
UnityEditor.Rendering
Classes
AlbedoSwatchInfo
EditorGraphicsSettings
PlatformShaderSettings
TierSettings
Enumerations
ShaderQuality
UnityEditor.SceneManagement
Classes
EditorSceneManager
SceneSetup
Enumerations
NewSceneMode
NewSceneSetup
OpenSceneMode
UnityEditor.Sprites
Classes
AtlasSettings
Packer
Enumerations
Execution
PackerJob
SpriteUtility
Interfaces
IPackerPolicy
UnityEditor.TestTools
Attributes
RequirePlatformSupportAttribute
UnityEditor.Timeline
Classes
TimelineEditor
UnityEditor.UI
Classes
AnimationTriggersDrawer
AspectRatioFitterEditor
ButtonEditor
CanvasScalerEditor
ColorBlockDrawer
ContentSizeFitterEditor
DropdownEditor
FontDataDrawer
GraphicEditor
GridLayoutGroupEditor
HorizontalOrVerticalLayoutGroupEditor
ImageEditor
InputFieldEditor
LayoutElementEditor
MaskEditor
NavigationDrawer
RawImageEditor
RectMask2DEditor
ScrollbarEditor
ScrollRectEditor
SelectableEditor
SelfControllerEditor
SliderEditor
SpriteStateDrawer
TextEditor
ToggleEditor
UnityEditor.VersionControl
Classes
Asset
Enumerations
States
AssetList
ChangeSet
ChangeSets
ConfigField
Message
Enumerations
Severity
Plugin
Provider
Task
Enumerations
CheckoutMode
CompletionAction
FileMode
MergeMethod
OnlineState
ResolveMethod
RevertMode
SubmitResult
UnityEditor.XR
UnityEditor.XR.Daydream
Enumerations
SupportedHeadTracking
Classes
AlphabeticalSort
AnimationClipCurveData
AnimationMode
AnimationUtility
Enumerations
CurveModifiedType
TangentMode
ArrayUtility
AssemblyReloadEvents
AssetBundleBuild
AssetDatabase
AssetImporter
Classes
SourceAssetIdentifier
AssetModificationProcessor
AssetPostprocessor
AssetPreview
AudioCurveRendering
AudioImporter
AudioImporterSampleSettings
BaseHierarchySort
BuildPipeline
BuildPlayerOptions
BuildPlayerWindow
Classes
BuildMethodException
DefaultBuildMethods
ClipAnimationInfoCurve
ColorPickerHDRConfig
DDSImporter
DecoratorDrawer
DefaultAsset
DragAndDrop
Editor
EditorAnalytics
EditorAnalyticsSessionInfo
EditorApplication
EditorBuildSettings
EditorBuildSettingsScene
EditorCurveBinding
EditorGUI
Classes
ChangeCheckScope
DisabledGroupScope
DisabledScope
IndentLevelScope
PropertyScope
EditorGUILayout
Classes
FadeGroupScope
HorizontalScope
ScrollViewScope
ToggleGroupScope
VerticalScope
EditorGUIUtility
Classes
IconSizeScope
EditorJsonUtility
EditorPrefs
EditorStyles
EditorUserBuildSettings
EditorUtility
EditorWindow
ExpressionEvaluator
FileUtil
GameObjectUtility
GenericMenu
GridBrush
Classes
BrushCell
GridBrushEditor
GridBrushEditorBase
GridPalette
Enumerations
CellSizing
GridSelection
GUIDrawer
Handles
Classes
DrawingScope
HandleUtility
Help
Highlighter
IHVImageFormatImporter
iOSDeviceRequirement
LightEditor
LightingDataAsset
LightmapEditorSettings
Enumerations
FilterMode
FilterType
Lightmapper
Sampling
LightmapParameters
Lightmapping
Enumerations
GIWorkflowMode
LODUtility
MaterialEditor
MaterialProperty
Enumerations
PropFlags
PropType
MaterialPropertyDrawer
Menu
MenuCommand
MeshUtility
ModelImporter
ModelImporterClipAnimation
MonoScript
MovieImporter
ObjectNames
ObjectPreview
PhysicsDebugWindow
PhysicsVisualizationSettings
Enumerations
FilterWorkflow
MeshColliderType
PlayerSettings
Classes
Android
Facebook
iOS
N3DS
Enumerations
LogoStyle
MediaSize
Region
TargetPlatform
PS4
Enumerations
PS4AppCategory
PS4EnterButtonAssignment
PS4RemotePlayKeyAssignment
PSVita
Enumerations
PSVitaAppCategory
PSVitaDRMType
PSVitaEnterButtonAssignment
PSVitaMemoryExpansionMode
PSVitaPowerMode
PSVitaTvBootMode
SplashScreen
Enumerations
AnimationMode
DrawMode
UnityLogoStyle
SplashScreenLogo
Switch
Tizen
tvOS
VRCardboard
VRDaydream
VROculus
WebGL
WSA
Classes
Declarations
WSAFileTypeAssociations
WSASupportedFileType
XboxOne
Enumerations
TizenCapability
WSACompilationOverrides
WSAImageScale
WSAImageType
WSAInputSource
PluginImporter
PopupWindow
PopupWindowContent
PrefabUtility
PropertyDrawer
PropertyModification
SceneAsset
ScriptableWizard
Selection
SerializedObject
SerializedProperty
SessionState
ShaderGUI
ShaderUtil
Enumerations
ShaderPropertyType
SpeedTreeImporter
SpriteMetaData
StaticOcclusionCulling
StaticOcclusionCullingVisualization
SubstanceArchive
SubstanceImporter
SupportedRenderingFeatures
Enumerations
ReflectionProbe
TakeInfo
TextureImporter
TextureImporterPlatformSettings
TextureImporterSettings
Tools
TransformSort
TransformUtils
TrueTypeFontImporter
Undo
UndoPropertyModification
UnwrapParam
Unwrapping
VideoClipImporter
VideoImporterTargetSettings
Enumerations
ActionOnDotNetUnhandledException
AndroidBlitType
AndroidBuildSystem
AndroidBuildType
AndroidETC2Fallback
AndroidETC2FallbackOverride
AndroidGamepadSupportLevel
AndroidMinification
AndroidPreferredInstallLocation
AndroidSdkVersions
AndroidShowActivityIndicatorOnLoading
AndroidSplashScreenScale
AndroidTargetDevice
ApiCompatibilityLevel
AscentCalculationMode
AspectRatio
AssetDeleteResult
AssetMoveResult
AudioSampleRateSetting
BuildAssetBundleOptions
BuildOptions
BuildTarget
BuildTargetGroup
ClipAnimationMaskType
D3D11FullscreenMode
D3D9FullscreenMode
DragAndDropVisualMode
DrawCameraMode
EditorSelectedRenderState
EditorSkin
ExportPackageOptions
FontRenderingMode
FontTextureCase
ForceReserializeAssetsOptions
GizmoType
GraphicsJobMode
HighlightSearchMode
IconKind
ImportAssetOptions
iOSAppInBackgroundBehavior
iOSBackgroundMode
iOSBuildType
iOSLaunchScreenImageType
iOSLaunchScreenType
iOSSdkVersion
iOSShowActivityIndicatorOnLoading
iOSStatusBarStyle
iOSTargetDevice
iOSTargetOSVersion
LightmapBakeQuality
MacFullscreenMode
MessageType
MobileTextureSubtarget
ModelImporterAnimationCompression
ModelImporterAnimationType
ModelImporterGenerateAnimations
ModelImporterGenerateMaterials
ModelImporterHumanoidOversampling
ModelImporterIndexFormat
ModelImporterMaterialLocation
ModelImporterMaterialName
ModelImporterMaterialSearch
ModelImporterMeshCompression
ModelImporterNormalCalculationMode
ModelImporterNormals
ModelImporterTangents
ModelImporterTangentSpaceMode
MouseCursor
PauseState
PivotMode
PivotRotation
PlayModeStateChange
PrefabType
PS4BuildSubtarget
PSP2BuildSubtarget
RemoveAssetOptions
ReplacePrefabOptions
ResolutionDialogSetting
ScriptCallOptimizationLevel
ScriptCompiler
ScriptingImplementation
ScriptingRuntimeVersion
SelectionMode
SemanticMergeMode
SerializedPropertyType
SplashScreenStyle
SpriteImportMode
SpritePackerMode
StaticEditorFlags
StatusQueryOptions
StereoRenderingPath
StrippingLevel
TextureImporterAlphaSource
TextureImporterCompression
TextureImporterCubemapConvolution
TextureImporterFormat
TextureImporterGenerateCubemap
TextureImporterMipFilter
TextureImporterNormalFilter
TextureImporterNPOTScale
TextureImporterRGBMMode
TextureImporterShape
TextureImporterType
TextureResizeAlgorithm
TizenOSVersion
TizenShowActivityIndicatorOnLoading
Tool
tvOSSdkVersion
tvOSTargetOSVersion
UIOrientation
VertexChannelCompressionFlags
VideoBitrateMode
VideoCodec
VideoDeinterlaceMode
VideoEncodeAspectRatio
VideoResizeMode
VideoSpatialQuality
ViewTool
WebGLCompressionFormat
WebGLExceptionSupport
WiiUBuildDebugLevel
WiiUBuildOutput
WiiUTVResolution
WSABuildType
WSASubtarget
XboxBuildSubtarget
Attributes
CallbackOrderAttribute
CanEditMultipleObjects
CustomEditor
CustomEditorForRenderPipelineAttribute
CustomPreviewAttribute
CustomPropertyDrawer
DrawGizmo
InitializeOnLoadAttribute
InitializeOnLoadMethodAttribute
MenuItem
PreferenceItem
UnityEngine
UnityEngine.Accessibility
Classes
VisionUtility
UnityEngine.AI
Classes
NavMesh
NavMeshAgent
NavMeshBuildDebugSettings
NavMeshBuildMarkup
NavMeshBuildSettings
NavMeshBuildSource
NavMeshData
NavMeshDataInstance
NavMeshHit
NavMeshLinkData
NavMeshLinkInstance
NavMeshObstacle
NavMeshPath
NavMeshQueryFilter
NavMeshTriangulation
OffMeshLink
OffMeshLinkData
Enumerations
NavMeshBuildDebugFlags
NavMeshBuildSourceShape
NavMeshCollectGeometry
NavMeshObstacleShape
NavMeshPathStatus
ObstacleAvoidanceType
OffMeshLinkType
UnityEngine.Analytics
Classes
Analytics
AnalyticsSessionInfo
PerformanceReporting
Enumerations
AnalyticsResult
AnalyticsSessionState
Gender
UnityEngine.Animations
Classes
AnimationClipPlayable
AnimationLayerMixerPlayable
AnimationMixerPlayable
AnimationPlayableOutput
AnimatorControllerPlayable
UnityEngine.Apple
UnityEngine.Apple.ReplayKit
Classes
ReplayKit
UnityEngine.Apple.TV
Classes
Remote
UnityEngine.Assertions
UnityEngine.Assertions.Comparers
Classes
FloatComparer
UnityEngine.Assertions.Must
Classes
MustExtensions
Classes
Assert
AssertionException
UnityEngine.Audio
Classes
AudioClipPlayable
AudioMixer
AudioMixerGroup
AudioMixerPlayable
AudioMixerSnapshot
AudioPlayableOutput
AudioSpatializerMicrosoft
Enumerations
RoomSize
Enumerations
AudioMixerUpdateMode
UnityEngine.CrashReportHandler
Classes
CrashReportHandler
UnityEngine.Events
Classes
UnityEvent
UnityEvent<T0>
UnityEvent<T0,T1>
UnityEvent<T0,T1,T2>
UnityEvent<T0,T1,T2,T3>
UnityEventBase
Enumerations
PersistentListenerMode
UnityEventCallState
UnityEngine.EventSystems
Classes
AbstractEventData
AxisEventData
BaseEventData
BaseInput
BaseInputModule
BaseRaycaster
EventSystem
EventTrigger
Classes
Entry
TriggerEvent
ExecuteEvents
HoloLensInputModule
Physics2DRaycaster
PhysicsRaycaster
PointerEventData
Enumerations
FramePressState
InputButton
PointerInputModule
Classes
MouseButtonEventData
RaycastResult
StandaloneInputModule
TouchInputModule
UIBehaviour
Interfaces
IBeginDragHandler
ICancelHandler
IDeselectHandler
IDragHandler
IDropHandler
IEndDragHandler
IEventSystemHandler
IInitializePotentialDragHandler
IMoveHandler
IPointerClickHandler
IPointerDownHandler
IPointerEnterHandler
IPointerExitHandler
IPointerUpHandler
IScrollHandler
ISelectHandler
ISubmitHandler
IUpdateSelectedHandler
Enumerations
EventHandle
EventTriggerType
MoveDirection
UnityEngine.Experimental
UnityEngine.Experimental.Playables
Classes
CameraPlayable
MaterialEffectPlayable
TextureMixerPlayable
TexturePlayableOutput
UnityEngine.Experimental.Rendering
Classes
BlendState
CameraProperties
CoreCameraValues
CullResults
DepthState
DrawRendererSettings
DrawRendererSortSettings
DrawShadowsSettings
FilterRenderersSettings
FilterResults
LODParameters
RasterState
RenderPass
Classes
SubPass
RenderPassAttachment
RenderPipeline
RenderPipelineAsset
RenderPipelineManager
RenderQueueRange
RenderStateBlock
RenderStateMapping
RenderTargetBlendState
ScriptableCullingParameters
ScriptableRenderContext
ShaderPassName
ShadowSplitData
StencilState
VisibleLight
VisibleReflectionProbe
Interfaces
IRenderPipeline
IRenderPipelineAsset
Enumerations
DrawRendererFlags
ReflectionProbeSortOptions
RendererConfiguration
RenderStateMask
SortFlags
VisibleLightFlags
UnityEngine.Experimental.U2D
Classes
AngleRangeInfo
ShapeControlPoint
SpriteShapeMetaData
SpriteShapeParameters
SpriteShapeUtility
UnityEngine.Experimental.UIElements
UnityEngine.Experimental.UIElements.StyleEnums
Enumerations
Align
FlexDirection
Justify
PositionType
Wrap
UnityEngine.Experimental.UIElements.StyleSheets
Classes
StyleValue<T0>
Interfaces
ICustomStyle
Classes
AttachToPanelEvent
BlurEvent
CallbackEventHandler
CreationContext
DetachFromPanelEvent
EventBase
Enumerations
EventFlags
EventBase<T0>
Focusable
FocusChangeDirection
FocusController
FocusEvent
FocusEventBase<T0>
FocusInEvent
FocusOutEvent
IMGUIEvent
KeyboardEventBase<T0>
KeyDownEvent
KeyUpEvent
MouseDownEvent
MouseEnterEvent
MouseEventBase<T0>
MouseLeaveEvent
MouseMoveEvent
MouseOutEvent
MouseOverEvent
MouseUpEvent
PostLayoutEvent
TextField
UQuery
Classes
UQuery<T0>
UQuery<T0>
UQueryExtensions
UxmlFactory<T0>
VisualElement
Classes
Hierarchy
Enumerations
ClippingOptions
MeasureMode
VisualElementExtensions
VisualElementFocusChangeDirection
VisualElementFocusRing
Enumerations
DefaultFocusOrder
WheelEvent
Interfaces
IEventDispatcher
IEventHandler
IFocusEvent
IFocusRing
IKeyboardEvent
IMouseEvent
IPanel
IScheduledItem
IScheduler
IStyle
ITransform
IUIElementDataWatch
IUIElementDataWatchRequest
IUxmlAttributes
IVisualElementScheduledItem
IVisualElementScheduler
Enumerations
Capture
ChangeType
PropagationPhase
UnityEngine.Experimental.Video
Classes
VideoClipPlayable
UnityEngine.iOS
Classes
ADBannerView
Enumerations
Layout
Type
ADInterstitialAd
Device
LocalNotification
NotificationServices
OnDemandResources
OnDemandResourcesRequest
RemoteNotification
Enumerations
ActivityIndicatorStyle
CalendarIdentifier
CalendarUnit
DeviceGeneration
NotificationType
SystemGestureDeferMode
UnityEngine.Networking
UnityEngine.Networking.Match
Classes
MatchInfo
MatchInfoSnapshot
Classes
MatchInfoDirectConnectSnapshot
NetworkMatch
UnityEngine.Networking.NetworkSystem
Classes
AddPlayerMessage
EmptyMessage
ErrorMessage
IntegerMessage
NotReadyMessage
PeerAuthorityMessage
PeerInfoMessage
PeerInfoPlayer
PeerListMessage
ReadyMessage
ReconnectMessage
RemovePlayerMessage
StringMessage
UnityEngine.Networking.PlayerConnection
Classes
MessageEventArgs
PlayerConnection
UnityEngine.Networking.Types
Classes
NetworkAccessToken
Enumerations
AppID
HostPriority
NetworkAccessLevel
NetworkID
NodeID
SourceID
Classes
ChannelQOS
Channels
ClientScene
ConnectionConfig
ConnectionSimulatorConfig
DownloadHandler
DownloadHandlerAssetBundle
DownloadHandlerAudioClip
DownloadHandlerBuffer
DownloadHandlerFile
DownloadHandlerMovieTexture
DownloadHandlerScript
DownloadHandlerTexture
GlobalConfig
HostTopology
LogFilter
Enumerations
FilterLevel
MessageBase
MsgType
MultipartFormDataSection
MultipartFormFileSection
NetworkAnimator
NetworkBehaviour
NetworkBroadcastResult
NetworkClient
NetworkConnection
Classes
PacketStat
NetworkCRC
NetworkDiscovery
NetworkHash128
NetworkIdentity
NetworkInstanceId
NetworkLobbyManager
NetworkLobbyPlayer
NetworkManager
NetworkManagerHUD
NetworkMessage
NetworkMigrationManager
Classes
ConnectionPendingPlayers
PendingPlayerInfo
Enumerations
SceneChangeOption
NetworkProximityChecker
Enumerations
CheckMethod
NetworkReader
NetworkSceneId
NetworkServer
NetworkServerSimple
NetworkStartPosition
NetworkTransform
Enumerations
AxisSyncMode
CompressionSyncMode
TransformSyncMode
NetworkTransformChild
NetworkTransformVisualizer
NetworkTransport
NetworkWriter
PlayerController
SyncList<T0>
Enumerations
Operation
SyncListBool
SyncListFloat
SyncListInt
SyncListString
SyncListStruct<T0>
SyncListUInt
UnityWebRequest
UnityWebRequestAsyncOperation
UnityWebRequestMultimedia
UnityWebRequestTexture
UploadHandler
UploadHandlerRaw
Utility
Interfaces
IMultipartFormSection
Enumerations
ChannelOption
ConnectionAcksType
NetworkError
NetworkEventType
PlayerSpawnMethod
QosType
ReactorModel
Version
Attributes
ClientAttribute
ClientCallbackAttribute
ClientRpcAttribute
CommandAttribute
NetworkSettingsAttribute
ServerAttribute
ServerCallbackAttribute
SyncEventAttribute
SyncVarAttribute
TargetRpcAttribute
UnityEngine.Playables
Classes
AnimationPlayableUtilities
FrameData
Enumerations
EvaluationType
Playable
PlayableAsset
PlayableBehaviour
PlayableBinding
PlayableDirector
PlayableExtensions
PlayableGraph
PlayableOutput
PlayableOutputExtensions
ScriptPlayable<T0>
ScriptPlayableOutput
Interfaces
IPlayable
IPlayableAsset
IPlayableBehaviour
IPlayableOutput
Enumerations
DataStreamType
DirectorUpdateMode
DirectorWrapMode
PlayState
UnityEngine.Profiling
Classes
CustomSampler
Profiler
Recorder
Sampler
UnityEngine.Rendering
Classes
CommandBuffer
GPUFence
GraphicsSettings
ReflectionProbeBlendInfo
RenderTargetIdentifier
SortingGroup
SphericalHarmonicsL2
SplashScreen
Enumerations
AmbientMode
BlendMode
BlendOp
BuiltinRenderTextureType
BuiltinShaderDefine
BuiltinShaderMode
BuiltinShaderType
CameraEvent
CameraHDRMode
ColorWriteMask
CompareFunction
ComputeQueueType
CopyTextureSupport
CullMode
DefaultReflectionMode
GraphicsDeviceType
GraphicsTier
IndexFormat
LightEvent
LightProbeUsage
LightShadowResolution
OpaqueSortMode
PassType
RealtimeGICPUUsage
ReflectionCubemapCompression
ReflectionProbeClearFlags
ReflectionProbeMode
ReflectionProbeRefreshMode
ReflectionProbeTimeSlicingMode
ReflectionProbeUsage
RenderBufferLoadAction
RenderBufferStoreAction
RenderQueue
ShadowCastingMode
ShadowMapPass
ShadowSamplingMode
StencilOp
SynchronisationStage
TextureDimension
UVChannelFlags
UnityEngine.SceneManagement
Classes
Scene
SceneManager
SceneUtility
Enumerations
LoadSceneMode
UnityEngine.Scripting
Attributes
PreserveAttribute
UnityEngine.Serialization
Attributes
FormerlySerializedAsAttribute
UnityEngine.SocialPlatforms
Classes
Range
Interfaces
IAchievement
IAchievementDescription
ILeaderboard
ILocalUser
IScore
ISocialPlatform
IUserProfile
Enumerations
TimeScope
UserScope
UserState
UnityEngine.SpatialTracking
Classes
TrackedPoseDriver
Enumerations
DeviceType
TrackedPose
TrackingType
UpdateType
UnityEngine.Sprites
Classes
DataUtility
UnityEngine.TestTools
Classes
LogAssert
MonoBehaviourTest<T0>
Interfaces
IMonoBehaviourTest
IPostBuildCleanup
IPrebuildSetup
Enumerations
TestPlatform
Attributes
PostBuildCleanupAttribute
PrebuildSetupAttribute
UnityPlatformAttribute
UnityTestAttribute
UnityEngine.Tilemaps
Classes
ITilemap
Tile
Enumerations
ColliderType
TileAnimationData
TileBase
TileData
Tilemap
Enumerations
Orientation
TilemapCollider2D
TilemapRenderer
Enumerations
SortOrder
Enumerations
TileFlags
UnityEngine.Timeline
Classes
ActivationControlPlayable
Enumerations
PostPlaybackState
ActivationTrack
Enumerations
PostPlaybackState
AnimationPlayableAsset
AnimationTrack
AudioPlayableAsset
AudioTrack
ControlPlayableAsset
ControlTrack
DirectorControlPlayable
Enumerations
ClipCaps
UnityEngine.UI
Classes
Button
UnityEngine.XR
Classes
XRSettings
Classes
Animator
AudioSource
Camera
Canvas
CharacterController
Color
Component
Event
GameObject
GUI
GUILayout
Mathf
Mesh
MonoBehaviour
ParticleSystem
Classes
MainModule
Particle
Physics
Projector
Quaternion
RaycastHit
Renderer
Rigidbody
ScriptableObject
TrailRenderer
Transform
Vector3
Enumerations
ForceMode
KeyCode
RenderMode
Other
Classes
Array
Hashtable
NonSerializable
Path
Serializable
String
ClientScene
.localPlayers
切换到手册
public static List<PlayerController>
localPlayers
;
描述
添加到游戏中的所有玩家列表。
这些是此客户端上的玩家,并非服务器上游戏中的所有玩家。客户端并不清楚其他客户端上的玩家对象信息。