Modify NavAgent Trait

This commit is contained in:
QuantumCoderQC 2021-09-03 21:00:58 +02:00
parent 32b745f829
commit 214b84fcf7

View file

@ -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;