internal override void Find(Type type, object instance, Match match, IMatchCounter matchCounter) { if (UnityEventBaseFinder.m_persistantCalls == null) { return; } IList l = (IList)UnityEventBaseFinder.PersistentCallGroup.GetValue(UnityEventBaseFinder.m_persistantCalls.GetValue(instance)); for (int i = 0; i < l.Count; i++) { if ((UnityEngine.Object)UnityEventBaseFinder.PersistentCall.GetValue(l[i]) == this.window.TargetAsset) { match.arrayIndexes.Add(i); match.valid = true; } } matchCounter.AddPotentialMatchCounter(l.Count); if (match.valid == true) { matchCounter.AddEffectiveMatchCounter(match.arrayIndexes.Count); } }
internal abstract void Find(Type type, object instance, Match subMatch, IMatchCounter matchCounter);