• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Arrays

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

whydoidoit commented

Creating an array of structs

Apr 9, '13 c#·arrays·null reference

0 Replies

0 Votes

avatar image

Sean Catheroy asked

Can't assign materials to objects from an array

Apr 17, '10 materials·arrays·object-reference-error

3 Replies

0 Votes

avatar image

jrbailey1977 asked

Problems initializing a built-in array of char

Apr 10, '11 arrays·bce0022

2 Replies

0 Votes

avatar image

Dag-Tholander edited

Remove dead enemies from array Closed Wiki

Jun 15, '15 destroy·arrays·remove·missingreferenceexception

1 Reply

0 Votes

avatar image

serialdrifter commented

Comparing values of an array

Jan 31, '12 arrays·distance·values·racing

1 Reply

1 Votes

avatar image

robertbu edited

Builtin Array of different data types to Inspector?

Mar 20, '13 inspector·arrays·builtin

1 Reply

1 Votes

avatar image

AlucardJay commented

Saving or get array of string - PlayerPrefs

May 25, '14 list·arrays·save·get·string.split

0 Replies

0 Votes

avatar image

murkantilism commented

Loading MP3's into an Audio Array and assigning them to members of a GameObject Array

Feb 19, '14 audio·arrays·audioclip·mp3·audioclips array

1 Reply

0 Votes

avatar image

ytwithlove commented

How to randomly generate pickups

Sep 20, '13 c#·javascript·arrays

3 Replies

0 Votes

avatar image

TheValar commented

Instantiate 1 at a time at each transform in array

Oct 31, '13 instantiate·array·time·spawn·arrays

1 Reply

0 Votes

avatar image

TheDarkVoid commented

C# Problem with assigning values arrays Closed

Jul 13, '12 c#·arrays·int·keycode

1 Reply

0 Votes

avatar image

abdulthegamer commented

Setting up player positions in a racing game

May 21, '14 position·arrays·waypoints·race·checkpoints

1 Reply

0 Votes

avatar image

Cherno commented

going through each item of a multi-dimensional array

Oct 20, '13 javascript·arrays·for-loop

1 Reply

0 Votes

avatar image

Berenger commented

Creating an inventory/weapon array and ability to scroll through it

Feb 3, '12 arrays·inventory·item·weapons

1 Reply

0 Votes

avatar image

InfiniBuzz edited

Creating a static array of a class

Jul 2, '13 arrays·static·classes

1 Reply

0 Votes

avatar image

Bunny83 commented

Cannot find the length of an array

Oct 29, '19 gameobject·instantiate·array·arrays·spawning

3 Replies

1 Votes

avatar image

AlucardJay commented

How to create an auido array (JavaScript) Closed

May 25, '14 javascript·array·audio·arrays

1 Reply

0 Votes

avatar image

Fattie commented

create an array of unknown size in a loop

Jan 20, '12 javascript·arrays·loops

1 Reply

0 Votes

avatar image

Stardog commented

Undo/back system using a List/Array

May 21, '11 array·list·arrays·lists·undo·back

2 Replies

0 Votes

avatar image

poday answered

How to initialize array[][] via SerializedProperty?

May 15, '13 editor·array·editor-scripting·arrays·serializedproperty

1 Reply

0 Votes

avatar image

Azzara. edited

Syntax to initialize 2D (Jagged), built-in array at runtime Wiki

Apr 15, '13 javascript·arrays·jagged

1 Reply

0 Votes

avatar image

Joshua commented

How do variable arrays work?

May 23, '11 arrays·variables

2 Replies

0 Votes

avatar image

whydoidoit edited

Using PlayerPrefs to save a C# Generic List Closed

Mar 4, '14 c#·list·playerprefs·arrays·playerprefsx

1 Reply

0 Votes

avatar image

oranmooney commented

Using GetComponent on a GameObject in an Array

Jul 4, '17 arrays

2 Replies

0 Votes

avatar image

MountDoomTeam commented

Array.length edited using scripts

Oct 29, '12 gameobject·array·arrays·length

2 Replies

0 Votes

avatar image

leejponce answered

Assign different sprites to values in an array

Aug 4, '20 sprites·arrays

3 Replies

0 Votes

avatar image

DigDesign commented

Identifier Expected Error ArrayList

Dec 30, '11 c#·arrays·arraylist

-1 Replies

0 Votes

avatar image

vladibo answered

Cannot convert object[] to Vector3[]

Aug 20, '13 c#·serialization·arrays·reflection

2 Replies

0 Votes

avatar image

chaomein commented

Array Index is Out of Range

Feb 4, '12 c#·arrays

1 Reply

0 Votes

avatar image

SisterKy edited

Accessing arrays across scripts in js

Jul 18, '11 arrays·access

1 Reply

0 Votes

  • »
  • ‹
  • 5
  • 6
  • 7
  • 8
  • 9
  • ›
  • »

Followers

avatar image avatar image avatar image avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

c# array javascript list gameobject lists instantiate arraylist unity 5 array of gameobjects scripting problem string random nullreferenceexception for-loop inspector error classes random.range gameobjects strings inventory transform class object


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges