mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Use Callable for Navigation Agent callbacks
This commit is contained in:
parent
a43db5afa4
commit
22f9ef19e1
12 changed files with 44 additions and 126 deletions
|
@ -223,7 +223,7 @@ public:
|
|||
virtual bool agent_is_map_changed(RID p_agent) const;
|
||||
|
||||
/// Callback called at the end of the RVO process
|
||||
virtual void agent_set_callback(RID p_agent, ObjectID p_object_id, StringName p_method, Variant p_udata = Variant());
|
||||
virtual void agent_set_callback(RID p_agent, Callable p_callback);
|
||||
|
||||
virtual void query_path(const Ref<NavigationPathQueryParameters2D> &p_query_parameters, Ref<NavigationPathQueryResult2D> p_query_result) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue