Modify NavAgent Trait
This commit is contained in:
parent
32b745f829
commit
214b84fcf7
|
@ -8,9 +8,9 @@ import iron.system.Tween;
|
|||
class NavAgent extends Trait {
|
||||
|
||||
@prop
|
||||
var speed: Float = 5;
|
||||
public var speed: Float = 5;
|
||||
@prop
|
||||
var turnDuration: Float = 0.4;
|
||||
public var turnDuration: Float = 0.4;
|
||||
|
||||
var path: Array<Vec4> = null;
|
||||
var index = 0;
|
||||
|
|
Loading…
Reference in a new issue