Skip to content

Commit

Permalink
[animgraph] added resolver parameter to res.loadAnim()
Browse files Browse the repository at this point in the history
  • Loading branch information
EspeuteClement committed Jan 30, 2025
1 parent 041f380 commit e1731b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hrt/animgraph/Resource.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class Resource extends hxd.res.Resource {
return animGraph;
}

public function loadAnim() : AnimGraphInstance {
return load().getAnimation();
public function loadAnim(resolver: hrt.animgraph.AnimGraphInstance.AnimResolver = null) : AnimGraphInstance {
return load().getAnimation(resolver);
}

public static var CACHE_VERSION = 0;
Expand Down

0 comments on commit e1731b6

Please sign in to comment.