浏览代码

Add get for events in Animation.hx

ShiroSmith 6 年之前
父节点
当前提交
fd6cc2763c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>;