Returns list by predict input
instance_find(predicate)
Predicate<T>
Returns: GameObject list
GameObject
Returns list by your requirements for GameObjects like distance.
List<oSampleObject> myList = instance_find<oSampleObject>(x => x.Position.X > 100 && x.Direction < 270);
This code will return objects with Position.X higher than 100 and x.Direction lower than 270.
Back to Instances
There was an error while loading. Please reload this page.