Search Unity

arr.RemoveAt

Discussion in 'Scripting' started by yellowlabrador, Aug 30, 2007.

  1. yellowlabrador

    yellowlabrador

    Joined:
    Oct 20, 2005
    Posts:
    562
    Hi all,

    Wanted to make sure I understand this.

    If the array size is 10 and I use removeAt(5), then
    array. Length is =9.
     
  2. VeganApps

    VeganApps

    Joined:
    Jun 30, 2006
    Posts:
    263
    Yes. Then the array length is 9.
     
  3. yellowlabrador

    yellowlabrador

    Joined:
    Oct 20, 2005
    Posts:
    562
    Thank you
    :)

    Ray
     
  4. Jessy

    Jessy

    Joined:
    Jun 7, 2007
    Posts:
    7,325
    Are you calling your array "are" instead of "arr"? That sounds confusing to me. :?:
     
  5. yellowlabrador

    yellowlabrador

    Joined:
    Oct 20, 2005
    Posts:
    562
    are was a typo, don't know how to edit it sorry

    Now I corrected it :)

    Ray
     
  6. Jessy

    Jessy

    Joined:
    Jun 7, 2007
    Posts:
    7,325
    Rock on. You learn something new all the time in Unity-Land.