private void Awake() { mouseBoundary = transform.parent.GetComponent <MouseBoundry>(); mazeInOutPoints = new MazeInOutPoints( mouseBoundary, this, new MazeInOutPointsController()); }
public GamePlaneLoader(IPlaneBuilder _planeBuilder, ISaveTextReader _saveTextReader, IGamePlaneDeleter _gamePlaneDeleter, IMazeWallseLoader _mazeWallseLoader, IMazeInOutPoints _mazeInOutPoints) { planeBuilder = _planeBuilder; saveTextReader = _saveTextReader; gamePlaneDeleter = _gamePlaneDeleter; mazeWallseLoader = _mazeWallseLoader; mazeInOutPoints = _mazeInOutPoints; }