Browse Source

Add get for events in Animation.hx

ShiroSmith 6 years ago
parent
commit
fd6cc2763c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/anim/Animation.hx

+ 1 - 1
h3d/anim/Animation.hx

@@ -35,7 +35,7 @@ class Animation implements hxd.impl.Serializable {
 	@:s public var pause : Bool;
 	@:s public var loop : Bool;
 
-	var events : Array<Array<String>>;
+	public var events(default, null) : Array<Array<String>>;
 
 	var isInstance : Bool;
 	var objects : Array<AnimatedObject>;