• 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

Aman3xx0 commented

Change weapons / gameObject / Int with one button / key

Aug 19, '20 arrays·buttons·int

1 Reply

0 Votes

avatar image

Vanishedcandy27 commented

Code only runs when object is selected in the editor

May 4, '19 in Help Room

0 Replies

0 Votes

avatar image

unity_RSGIPd8T1uGoXw answered

Instantiate for each in array

May 9, '19 instantiate·arrays·update problem·loops

1 Reply

0 Votes

avatar image

FullDefilate answered

Need navagent to move towards a given element in an array. Please help.

Apr 23, '19 navmeshagent·arrays

1 Reply

0 Votes

avatar image

Vollmondum commented

Array length is always 0

Apr 17, '19 c#·arrays

1 Reply

0 Votes

avatar image

MATCAVERNA edited

How do I check the distance between multiples objects in an array from the player?

Apr 17, '19 transform·array·position·arrays·distance check

4 Replies

0 Votes

avatar image

Owen-Reynolds commented

Need help comparing arrays/lists to show items that are missing from one of them

Apr 9, '19 in Help Room

2 Replies

0 Votes

avatar image

binn05 asked

Need help with arrays on 2D Roguelike tutorial

Apr 8, '19 in Help Room

0 Replies

0 Votes

avatar image

edgartip2003 commented

How do I track the initial direction of a Non Rigidbody gameobject in 2D?

Apr 6, '19 in Help Room

1 Reply

0 Votes

avatar image

Cherno commented

Optimizing a massive array of GameObjects pls help

Apr 4, '19 instantiate·2d game·optimization·arrays·array of gameobjects

1 Reply

0 Votes

avatar image

mchts answered

how do I move array objects to world coordinates?

Mar 31, '19 c#·unity 5·arrays·vector2·while-loop

1 Reply

0 Votes

avatar image

Tryptex edited

How to detect which how many of a type a variable a script has

May 8, '19 unity 5·scripting problem·unityeditor·arrays·noob

1 Reply

0 Votes

avatar image

saR asked

How can I save this objects ?

Mar 26, '19 in Help Room

0 Replies

0 Votes

avatar image

JJ_FX commented

Function executes only on 1 object

Mar 15, '19 arrays·foreach

1 Reply

0 Votes

avatar image

WarmedxMints commented

Elements of a 2D array are always null

Mar 4, '19 arrays·editorwindow

0 Replies

0 Votes

avatar image

Nizzle83 commented

How to load different sprites on a panel based on player level

Mar 2, '19 ui·scripting beginner·arrays

1 Reply

0 Votes

avatar image

Nachin1998 asked

How do I make a bunch of enemies (i know its an array) spawn from a single moving spot?

Mar 1, '19 in Help Room

0 Replies

0 Votes

avatar image

KDevS edited

How to make certain elements in an array rarer when using random selection?

Feb 27, '19 array·arrays·string·random.range·randomization

4 Replies

1 Votes

avatar image

DoIMakeYou commented

Iterating through shuffled/randomized array issue

Feb 26, '19 c#·arrays·iterate·order-of-execution·shuffle

0 Replies

0 Votes

avatar image

Bunny83 answered

Convert list of floats to float array

Feb 23, '19 arrays·lists

1 Reply

0 Votes

avatar image

SinglePlayerPlus commented

Any way to update a string array mid game?,Update the strings in a string array mid game?

Jan 24, '19 in Help Room

1 Reply

0 Votes

avatar image

jdpeters79 commented

How do I make an array of buttons open corresponding images on click?

Jan 23, '19 arrays·click·indexof

1 Reply

0 Votes

avatar image

chiblue3D asked

Unity 2018 Editor serializedproperty insert new index using a class reference with InsertArrayElementAtIndex

Jan 22, '19 arrays·serializedproperty·class object

0 Replies

0 Votes

avatar image

cjsawyer edited

Showing an array with enum as keys in the property inspector

May 21, '22 arrays·enum·propertydrawer

2 Replies

1 Votes

avatar image

shaydenharley asked

Modify Custom Array Data

Jan 11, '19 in Help Room

0 Replies

0 Votes

avatar image

tomekkie answered

How to edit array/list property with custom PropertyDrawer?

Aug 4, '21 in Help Room

3 Replies

3 Votes

avatar image

GliderGuy commented

Inconsistencies between TransformAccessArray and NativeArray?

Dec 18, '18 transform·arrays

0 Replies

0 Votes

avatar image

besomuk answered

Getting a variable value of each object in an array, all with their own scripts, and getting the sum total

Dec 13, '18 arrays

1 Reply

0 Votes

avatar image

reprogrammed commented

writing multiple strings to a string array in a (non componement) public class

Dec 12, '18 arrays·strings

0 Replies

0 Votes

avatar image

kaosermail answered

Cant add to array..only subtract

Dec 12, '18 c#·arrays·matchmaking

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