Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int p = 0; p < titles.Count; p++)
- {
- try
- {
- if (filter.propertiesAdded.Count == 0)
- {
- filter.propertiesAdded.Add(titleArray[0]);
- }
- if (!filter.propertiesAdded[p].Equals(titleArray[p]))
- {
- Debug.Log(filter.propertiesAdded.Count + "count in if statement");
- filter.propertiesAdded.Add(titleArray[p]);
- Debug.Log("Adding: " + titleArray[p]);
- }
- }
- catch (System.IndexOutOfRangeException e)
- {
- Debug.Log(p + "= index");
- Debug.Log(filter.propertiesAdded.Count + "filter count");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement