1. 程式人生 > >(一)Unity5.0新特性------轉載自官方-unity5.0正式釋出了,看看帶來哪些重要的新特性!

(一)Unity5.0新特性------轉載自官方-unity5.0正式釋出了,看看帶來哪些重要的新特性!

  • Added "-force-gl-ref" cmd-line option support for the OSX Editor.
  • Added link to editor settings when sprite packer is disabled
  • Animation Window refreshed when tabbed into
  • AnimationState.time is updated when scrubbing animation in the AnimationWindow.
  • Audio preview is refreshed after import settings are changed
  • CanvasGroup methods were not getting registered in the UI module, resulting in MissingMethodExceptions
  • Changing framerate in animation window now repositions animation events correctly
  • Cloth inspector to support multi-editing
  • Color picker code now has correct color space conversion and is now working accurately.
  • Confined cursor mode doesn't confine cursor to last active editor pane
  • Create a new project upgrade warning system that does not depend on serialized files or version control.
  • Deleting an asset does not make deleted objects from other assets appear again.
  • Disallow empty names for sprites
  • Don't ignore assets whose names contain "StreamingAssets"
  • Don't immediately hide popup windows when there are unity windows on secondary screen on OSX
  • Don't let user rename GameObjects with HideFlags.NotEditable set
  • Drag-and-drop does not accept simple Renderers as a valid target for assigning skybox material.
  • Editor no longer freezes when scene view camera is really far from origin
  • Empty animation window no longer increases CPU usage
  • Ensure correct waking order of components when duplicating a GameObject.
  • Ensure screen width and height in player settings is at least 1
  • Expose static methods from context objects to JS.
  • Fixed an occasional crash when reimporting shaders.
  • Fixed assetBundle search filter doesn't work correctly.
  • Fixed assert when loading scene containing reference to one of its objects that no longer exist.
  • Fixed asserts when displaying multiple objects in inspector preview.
  • Fix asset when using hideFlags to make objects persist after exiting play mode.
  • Fixed audio source priority slider showing "–" when editing multiple objects
  • Fixed AudioSourceInspector.cs throwing null refs on UndoRedoPerformed
  • Fixed broken inspector setup with multiple inspectors when shaders are using custom editors
  • Fixed changing loaded level index before OnApplicationQuit message when exiting play mode.
  • Fixed clipping of multi-line text in text fields.
  • Fixed confirmation dialog "Losing Prefabs" shown twice when trying to delete child object
  • Fixed console errors when inspecting player settings in debug view.
  • Fixed crash occasionally happens when you create a prefab. Related to the object sorting in the prefab.
  • Fixed crash when executing a menu item from a static constructor.
  • Fixed crash when maximizing game view on OSX.
  • Fixed crash when removing components from a prefab, but prefab instances would have depending components.
  • Fixed crash when script name is longer than 32 characters.
  • Fixed crash with corrupted scene when having invalid references in the list of transform children.
  • Fixed custom cursors to properly update in OS X editor.
  • Fixed custom PropertyDrawer being called with wrong SerializedProperty when property is inside a nested class.
  • Fixed double firing of playmodeStateChanged
  • Fixed Edge Collider 2D sometimes not showing handles
  • Fixed editor errors when undoing the insertion of a new LOD level in LOD group.
  • Fixed error spam: "GUI Error: You are pushing more GUIClips than you are popping .." when setting cam.targetTexture = null in OnPostRender.
  • Fixed exceptions happening when a read-only plugin is used.
  • Fixed font corruption after asset import.
  • Fixed freeze during Editor startup when using input devices with large number of emulated buttons (some wireless mouses)Fixed GameObject not selectable by label icon
  • Fixed freeze on floating-point exception
  • Fixed Import Package window being broken due to illegal characters in path
  • Fixed incorrect fade group animation in player settings
  • Fixed inspector rendering when a script changes RenderTexture.active.
  • Fixed isPlayingOrWillChangePlaymode to work as expected.
  • Fixed keyboard shortcuts (home/end/page up/page down) in object selector
  • Fixed Mac Editor Projects with hidden folders inside Assets are usable again
  • Fixed many texture/mesh related error messages to ping the source object that caused it.
  • Fixed material inspector could collapse its controls by clicking on the header. Controls are now always visible.
  • Fixed memory leak when calling 'Object.Destroy' and returning to edit mode.
  • Fixed meshes getting lost if they only lived in the scene and only were referenced by a mesh collider.
  • Fixed missing header for state machine behaviours
  • Fixed navigation keyboard shortcuts in object selector
  • Fixed NullReferenceException from uninitialized icon if CurveEditor is shown before Inspector
  • Fixed NullReferenceException when Tools.viewTool is queried outside OnGUI
  • Fixed numeric accuracy of transform coordinates when copy/pasting or duplicating objects.
  • Fixed occasional crash/hang on exit.
  • Fixed page down in object selector on Windows
  • Fixed position of GUI elements in inspector when using PropertyDrawers.
  • Fixed possible corruption of editor window rendering in OS X Editor.
  • Fixed possible crash when placing prefabs with child objects.
  • Fixed projectsettings.asset serialization error
  • Fixed property list in Animation Controller editor allowing to drag invalid element from bottom of list.
  • Fixed race condition in memory allocation system.
  • Fixed rename overlay is not removed when undoing
  • Fixed Skybox components not taken into account in camera preview popup
  • Fixed so TextMesh text field uses TextArea instead of single text field
  • Fixed Sprite Editor crash when docked to top of the layout
  • Fixed stack traces not being generated correctly.
  • Fixed text corruption in TextMesh components when reimporting fonts.
  • Fixed that text fields in an unfocused window could break another windows textfield if busy repainting
  • Fixed tooltips not always showing up when they should.
  • Fixed typing into the search field between transition animations for Add Component menu
  • Fixed unparenting when deleting object in Editor once OnDestroy is called
  • Fixed updating color fields in material inspector to work when warnings are displayed.
  • Fixed user cannot close a custom editor window from a previous project.
  • Fixed utility windows always loading last width & height if larger than requested width & height.
  • Fixed when mouse was not processed in the Editor in play mode after building Android or iOS.
  • Fixed Windows Editor not showing progress over taskbar icon, when doing initial project import.
  • Fixed Windows Editor unresponsive to user's input in some tablets.
  • Folders named "something.unity" will be listed as folders and not scenes in a search
  • FPS controls now only affects the active scene view
  • I18n: Issues with Asian Input Method Editors inside the Windows version of the Editor.
  • I18n: Issues importing assets when their path/asset/component names contain Asian characters.
  • I18n: Issues storing/retrieving strings from PlayerPrefs when PC is set to Asian locale.
  • I18n: Editor crashes on start-up if computer / user / project name contains Asian characters.
  • IMGUI: Fixed crash when using GUI.Window recursively.
  • IMGUI: Fixed line spacing when multiple sizes are used in text markup
  • IMGUI: Fixed renaming of existing controls using GUI.SetNextControlName.
  • IMGUI: ContextClick events are now never received by in-game GUIs (as documented, the event is editor only).
  • Initialize Scene View 2D mode correctly when upgrading from version
  • Input.mousePosition now returns correct position when called in Awake and Start in the editor
  • Make key combinations ignore Caps Lock key.
  • No more errors after applying new preset in the curve editor
  • Object Picker is now able to show a hierarchy of sub assets (used for AudioMixerGroups for now).
  • Opened scene will no longer be accidentally marked as modified.
  • Opening multiple locked inspectors works
  • OSX corner resize gizmo doesn't block input when not shown.
  • Packages: Fix importing package with long paths on Windows
  • Particles: Fixed particles that are out of view casting incorrect shadows.
  • Particles: Fixed systems using Distance emission not stopping correctly.
  • Particles: ParticleSystem will no correctly remove any of its particles and reset its emitter state when being deactivated.
  • Prevent each script from opening in a new Visual Studio instance.
  • Prevent MinMaxSlider getting into error state when clicking in the thumb area
  • Prevent right clicking on controls behind preview window
  • Reduce serialization depth limit warnings
  • Remove unsupported OSX menu items (Start Dictation & Special Characters)
  • Removing curve in animation window doesn't remove other curves with similar name
  • Reverting a prefab no longer fails if two added components depends on each other.
  • Select Dependencies operation no longer breaks editor fonts
  • Shadows working correctly when zoomed in animation preview window
  • Show at most one error when attempting to deleting multiple components
  • Sprite name was emptied when copy pasting position etc. values on editor
  • Swatches in the Color Picker tool are now gamma corrected when using linear colour space.
  • Synchronize EditorUserBuildSettings.selectedStandaloneTarget when switching build targets with SwitchActiveBuildTarget() or -buildTarget.
  • Tooltips use current skin instead always using light skin
  • Warn in Lighting window UI when a skybox with nonsensical shader is used
  • Will exit play mode when switching build platform.
  • Unity crashes while adding component to destroyed object.
  • Undoing changes in the Animator throws an error.
  • Use unique sprite name when creating new sprites manually