-
-
Notifications
You must be signed in to change notification settings - Fork 18
instance_find
CryoEagle edited this page Jan 6, 2019
·
2 revisions
Returns list by predict input
instance_find(predicate)
Argument | Description |
---|---|
Predicate<T> predicate |
your requirements for GameObjects |
Returns: GameObject
list
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