From 269d5704202d29d1f367abfb2df44fa19997fd18 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 10 Jun 2016 14:57:56 -0300 Subject: Add 'from' argument to Array.find() --- core/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/array.h') diff --git a/core/array.h b/core/array.h index 9472a6dd2..4fb22a4dc 100644 --- a/core/array.h +++ b/core/array.h @@ -71,7 +71,7 @@ public: void sort_custom(Object *p_obj,const StringName& p_function); void invert(); - int find(const Variant& p_value) const; + int find(const Variant& p_value, int p_from=0) const; int find_last(const Variant& p_value) const; int count(const Variant& p_value) const; -- cgit v1.2.3-70-g09d2