예제 #1
0
 protected override void Start()
 {
     base.Start();
     _currentPath   = _waypointsFilter.GetRandom().GetEntityComponent <AIPath>();
     _movementSpeed = Random.Range(_minMovementSpeed, _maxMovementSpeed);
 }