edited August 2014 in ORK Scripting
I need a bit of help understanding how to use the array helper.
I want to create a list of 9 abilities much the same as in the attack settings, where you can select an ability, and an ability level.

what is the correct format?

public Ability[] abilityField = ArrayHelper.CreateArray(9,Ability);
Post edited by gamingislove on
  • edited August 2014
    Moved to scripting.

    The correct syntax in that case would be:

    public Ability[] abilityField = ArrayHelper.CreateArray<Ability>(9);
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • That works. Awesome! Thanks GiL
Sign In or Register to comment.