• 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

john434 published

How to create arrays in C#

Dec 23, '12 arrays

4 Replies

2 Votes

avatar image

Bunny83 commented

C# array initialization

Oct 25, '16 c#·arrays·values·initialization

3 Replies

2 Votes

avatar image

zakkar published

Arrays declaration c#

Jan 26, '12 arrays·declaration

3 Replies

2 Votes

avatar image

Bunny83 commented

How to split a string into array? Closed

Jul 20, '20 arrays·string·split

2 Replies

2 Votes

avatar image

WaqasHaiderDev commented

Is there any way to view 2d arrays in the inspector?

May 28, '20 arrays·2d array·multidimensional array

7 Replies

7 Votes

avatar image

vikasawasthi255 commented

Need help with converting an array to a list in C#`

Jan 7, '21 c#·list·arrays

4 Replies

2 Votes

avatar image

supergrugno commented

How to find the index of an Object in an Array

Mar 2, '22 javascript·arrays·index

2 Replies

1 Votes

avatar image

Wasan_Sari published

Array of Arrays

Feb 22, '16 in Help Room

3 Replies

2 Votes

avatar image

Ayelis commented

how to create multidimensional arrays in javascript

Mar 31, '18 javascript·arrays

4 Replies

5 Votes

avatar image

Mashimaro7 commented

Naming array elements in editor

Dec 17, '20 editor·arrays·class·name·element

3 Replies

0 Votes

avatar image

Miryum edited

How to play a random audio clip from an array in C#?

Apr 30, '22 in Help Room

3 Replies

0 Votes

avatar image

Bunny83 commented

Searching a List of GameObjects by name

Jun 5, '19 list·arrays·find·game object·find-gameobject

2 Replies

3 Votes

avatar image

TheOtherUserName commented

Adding prefabs to a list or an array from a folder and instantiating them.

Jul 27, '20 instantiate·prefabs·arrays·lists

2 Replies

21 Votes

avatar image

Quade81 commented

How do I make an array of game objects in C#

Aug 2, '12 c#·arrays

3 Replies

0 Votes

avatar image

HammockHead commented

How can I Raycast to multiple objects

Sep 29, '13 raycast·arrays·tag·waypoint·raycastall

1 Reply

1 Votes

avatar image

Jeff-Kesselman edited

How can I create an array of objects in C#?

Nov 11, '14 c#·arrays

1 Reply

0 Votes

avatar image

GunLengend answered

How to instantiate a random object from an array?

Oct 3, '16 instantiate·arrays·random.range

3 Replies

2 Votes

avatar image

PixelFireXY edited

Can I change inspector 'Element 0' to something else?

Apr 6, '20 arrays·custom-editor

6 Replies

6 Votes

avatar image

mmoya3273 commented

How to create an array of Transforms Closed

Feb 1, '21 gameobject·array·list·arrays

1 Reply

0 Votes

avatar image

Bunny83 commented

Getting the size of an array of GameObjects

Aug 16, '17 arrays

2 Replies

1 Votes

avatar image

ocimum commented

Adding objects to a Array

Jul 29, '15 array·arrays

2 Replies

1 Votes

avatar image

Bryan-Legend answered

Organizing variables in the inspector

Oct 20, '14 javascript·arrays·variables·classes

5 Replies

0 Votes

avatar image

Kos-Dvornik answered

How do I save a custom class of variables to playerprefs?

Feb 20, '16 c#·playerprefs·serialization·arrays·save

2 Replies

2 Votes

avatar image

Prune_Tracy commented

C# - How to set the sprites in a Static Sprite[] array

Jun 1, '20 arrays·static variable·spritemanager

1 Reply

1 Votes

avatar image

jhina published

C# Point structure

Sep 27, '15 c#·arrays·vector2·struct

1 Reply

1 Votes

avatar image

Louis-N-D answered

I'm trying to shuffle an array's order

Mar 15, '20 in Help Room

3 Replies

3 Votes

avatar image

the Jack edited

Problems adding GameObjects to a GameObject array (C#)

Jul 7, '10 array·arrays·gameobjects

2 Replies

0 Votes

avatar image

hoy_smallfry commented

Need some help looping through an array or list

Mar 4, '13 list·arrays

2 Replies

0 Votes

avatar image

aman_jha commented

Add an object to Array

Aug 7, '14 javascript·arrays

2 Replies

0 Votes

avatar image

thorbrian edited

Array of arrays = No serialization?

Dec 1, '11 serialization·arrays

4 Replies

2 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

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