Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Differences between Unity 5 and 4 classes

Discussion in 'Documentation' started by feiting, Apr 27, 2015.

  1. feiting

    feiting

    Joined:
    Oct 26, 2012
    Posts:
    33
    I know some of these were moved, a few are just not in order (or weren't), but in general, here's the engine differences: (without hierarchy, of which I will edit my post from earlier possibly, unless anyone else wants to do it)

    Code (CSharp):
    1. Unity 5 Main Engine Class Changes
    2. Removed (and/or just moved elsewhere, and/or renamed)
    3. ADBannerView
    4. AddComponentMenu
    5. ADInterstitialAd
    6. AndroidInput
    7. AndroidJavaClass
    8. AndroidJavaException
    9. AndroidJavaObject
    10. AndroidJavaProxy
    11. AnimationOverrideController
    12. AssemblyIsEditorAssembly
    13. ClothRenderer
    14. ClothSkinningCoefficient
    15. ContextMenu
    16. DisallowMultipleComponent
    17. ExecuteInEditMode
    18. HideInInspector
    19. ImageEffectOpaque
    20. ImageEffectTransformsToLDR
    21. InteractiveCloth
    22. iPhone -obviously moved iOS class(es)-
    23. NSError
    24. NSNotification
    25. iPhoneInput
    26. LocalNotification
    27. MissingComponentException
    28. MissingReferenceException
    29. NotificationServices
    30. CollisionEvent -- removed and out of order
    31. RemoteNotification
    32. RequireComponent
    33. RPC
    34. SerializeField
    35. SkinnedCloth
    36. StackTraceUtility
    37. TextEditor
    38. TrackedReference
    39. Types
    40. UnassignedReferenceException
    41. UnityException
    42.  
    43. Added (or moved into, and/or renamed)
    44. AnimationClipInfo
    45. AnimatorControllerParameter
    46. AreaEffector2D
    47. AssetBundleManifest
    48. AudioConfiguration
    49. BillboardAsset
    50. BillboardRenderer
    51. ClothSkinningCoefficient
    52. ClothSphereColliderPair
    53. ConstantForce2D
    54. ControllerColliderHit
    55. DynamicGI
    56. Effector2D
    57. EllipsoidParticleEmitter
    58. FlareLayer
    59. GroupScope
    60. -these next 5 scopes are out of order, but within the documentation this way-
    61. ScrollViewScope
    62. AreaScope
    63. HorizontalScope
    64. ScrollViewScope
    65. VerticalScope
    66. ---end out of order---
    67. Hash128
    68. MeshParticleEmitter
    69. ParticleCollisionEvent
    70. PhysicsUpdateBehaviour2D
    71. PlatformEffector2D
    72. PointEffector2D
    73. ReflectionProbe
    74. OpenAPI - out of order
    75. ShaderVariantCollection
    76. ShaderVariant
    77. SoftJointLimitSpring
    78. StateMachineBehaviour
    79. SurfaceEffector2D
    80. WindZone
    81.  
    I thought this might help someone, did this by hand even though I could've written a tool. And while I don't write WIPs or anything, I do actively use unity. Oh, Unity Tech, pay attention to my hyphens, they point out oddities in your docs among misc notes about the list.

    I may reorganize this into a course since nobody else seems to...
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    I actually plan to have a blog post on new classes/methods between Unity4.5.x -> Unity 5
    Seems to me like a fun way to get to know some new obscure stuff :)

    The way I'm going to approach it is via a tool (either custom made, or using NDepend, that allows diffing 2 assemblies to see their results).
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,000
  4. feiting

    feiting

    Joined:
    Oct 26, 2012
    Posts:
    33
    @liortal I almost wrote an app to take the text file and compare, but since I'm not doing the "whole" thing, (I did that already, it's on page 2 of this forum), I just did it by hand. But, with a tool, you can determine the moves faster (not that it's simpler to program, lol)

    mgear, I saw that but it's not really useful. It's a giant list, just like unity's classes, in no particular order. At least they have "alphabet" as "an" ordering. Although you see me, elsewhere on the forums, rant about that. Would you line anything in your house alphabetically? No. Why not? The hairdryer and fridge don't belong next to each other. Alphabetized is fine AFTER categories are done.

    I'm looking forward to your videos Lio.

    Thanks
    (Oh, and I have defended Unity in the feature request forums, I ain't hatin', just trying to ease the using)