• 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

Indexof

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

adambarakat3 asked

Trying to get the index of a gameObject in a list

Oct 2, '20 in Help Room

0 Replies

0 Votes

avatar image

Karishi commented

Finding an object's list index via the object's attached script

Sep 26, '20 in Help Room

1 Reply

0 Votes

avatar image

crestviewspirit247 published

Grab a specific item from a list

Mar 9, '20 c#·list·lists·indexof

3 Replies

0 Votes

avatar image

WarOnGravity answered

Search Game Inventory Button Object Text Strings

Feb 23, '20 c#·ui·contains·indexof·string comparison

2 Replies

0 Votes

avatar image

Larry-Dietz commented

Foreach's char loop not functioning as expected

Dec 1, '19 c#·string·debug·foreach·indexof

1 Reply

0 Votes

avatar image

marenamitchell asked

.IndexOf Error--Must have StringComparison

Oct 25, '19 in Help Room

0 Replies

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

I_Am_Err00r commented

How to find x item in list? Closed

Nov 4, '18 arrays·lists·foreach·while-loop·indexof

2 Replies

0 Votes

avatar image

revolute commented

Comparing an object with a Serializible Array with same object returns -1?

May 30, '17 arrays·puzzle·indexof

0 Replies

0 Votes

avatar image

Vonricter answered

[ANSWERED] IndexOf and LastIndexOf both returning -1 when an item is on the list.

May 14, '17 in Help Room

1 Reply

0 Votes

avatar image

gameplay4all commented

How can I check if a certain Touch exists?

Apr 3, '17 android·touch·touches·exists·indexof

2 Replies

0 Votes

avatar image

IgorAherne answered

Finding all the same strings in a List

Feb 5, '17 in Help Room

2 Replies

0 Votes

avatar image

sh_code edited

argumentexception: index out of bounds

Oct 14, '16 bounds·argumentexception·indexof

1 Reply

0 Votes

avatar image

Wylie-Modro commented

System.Array.IndexOf iterating when it should not

Oct 5, '16 in Help Room

1 Reply

0 Votes

avatar image

joelgarcia commented

How do I reference button clicked to use in IndexOf

Sep 4, '16 in Help Room

1 Reply

0 Votes

avatar image

iSpam commented

IndexOf returning -1 c#

Jul 13, '16 c#·array·indexof

2 Replies

1 Votes

avatar image

lingoded answered

How to load multiple sprites at runtime from List?

Jun 9, '16 in Help Room

1 Reply

0 Votes

avatar image

Lakish commented

How to find IndexOf vector3 List ? position search

May 2, '16 position·list·arraylist·vector3.position·indexof

2 Replies

0 Votes

avatar image

UncleGubbsy edited

Total war Style Movement System with Right Click Closed

Apr 5, '16 in Help Room

0 Replies

1 Votes

avatar image

Zero147 commented

My code works, I just don't understand WHY it works

Aug 30, '14 indexof

3 Replies

0 Votes

avatar image

gjf edited

ArrayList indexOf always returns -1

Jul 11, '14 arraylist·indexof

1 Reply

0 Votes

avatar image

fjalla commented

How do I get the index of an item in a for loop? (js)

Dec 30, '13 for loop·generic list·indexof

2 Replies

0 Votes

avatar image

ReVo_ edited

For loop & Foreach don't complete inside IEnumerator when using IndexOf

Oct 20, '13 ienumerator·for-loop·indexof

2 Replies

0 Votes

avatar image

DESTRUKTORR answered

Implicit Downcast warning from "List.IndexOf" ...Bad? Unavoidable? Closed

Sep 1, '13 list·generics·warning·indexof

1 Reply

0 Votes

avatar image

Eric5h5 commented

Search a substring in an array of Strings

Jan 24, '13 javascript·array·hit·indexof

1 Reply

0 Votes

avatar image

Jean-Fabre answered

hashtable key or value index?

Dec 22, '11 key·index·hashtable·indexof

2 Replies

0 Votes

avatar image

Caiuse edited

Find all strings beginning with specified characters

Jun 20, '11 array·playerpref·indexof

1 Reply

0 Votes

avatar image

headkitgames asked

How fast is "System.Array.IndexOf" on iPhone?

Mar 24, '11 iphone·fast·indexof

2 Replies

0 Votes

avatar image

Christophe F edited

Code differences between Unity Editor and real iPhone ; a String.Split or IndexOf problem.

Dec 16, '10 editor·iphone·split·indexof

2 Replies

0 Votes

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

list lists index array c# arrays foreach gameobject for-loop iphone string string comparison arraylist android bounds generic list trigger editor argumentexception for loop ontriggerenter split vector3 hashtable touch
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges