Search Unity

Old Scripting API

Discussion in 'Documentation' started by UnityUser_721, Jul 20, 2014.

  1. UnityUser_721

    UnityUser_721

    Joined:
    May 3, 2014
    Posts:
    19
    Is there any way to access the old Scripting API?

    There are some stuff found in the old Scripting API but not in the new one.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Like what?

    --Eric
     
  3. UnityUser_721

    UnityUser_721

    Joined:
    May 3, 2014
    Posts:
    19
    I'm learning how to script and I forgot how to use Vector3.magnitude, in the old scripting API there were examples, in the new one there is no example.
     
    Last edited: Jul 20, 2014
  4. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    You can download older versions of Unity and look at the docs (I assume that's what you mean), but I looked at the Unity 3.0 docs and Vector3.magnitude doesn't have any code examples; as far as I know it never did. Maybe you're thinking of Vector3.sqrMagnitude.

    --Eric
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,447