public void Initialize(IronBellyTestSetting ironBellyTestSetting) { AreaOfMove areaOfMove = ironBellyTestSetting.areaOfMove; transform.position = areaOfMove.GetRandomPointInArea(); randomMove.Initialize(areaOfMove); findNearestNeighbour.Initialize(ironBellyTestSetting.useLineRender); gameObject.SetActive(true); }
public void SetUp() { positionHandler = new PositionHandler(); prefab = Resources.Load <FindNearestNeighbour>("TestResources/GameObject_FindNearestNeighbour"); areaOfMove = new AreaOfMove(); }
public void Initialize(AreaOfMove areaOfMove) { _areaOfMove = areaOfMove; target = _areaOfMove.GetRandomPointInArea(); }