A unifying interface for calling Unity from R
print.unifir_script
method hides some of the R6 internals backing the
package, and makes my dissertation chapter render nicer.glue()
to fix errors on R devel (#17)unity_version()
and
create_project()
to fail.InstantiatePrefab
C# requirements to now include UnityEditor
.associate_coordinates()
will now only reproject if both objects have
coordinate reference systems.action()
is now much more modular, outsourcing to a handful of new
internal functionsThis is intentionally a very small patch release, intended to fix three problems:
citation("unifir")
and in the READMEmatch.arg()
in appropriate placesThis release is specifically intended to create a Zenodo copy of the release, in order to have a software DOI pre-JOSS publication. It is identical to v0.2.0.
This is the first version of unifir to land on CRAN
find_unity()
now doesn't escape its Unity path (so the string returned
is the actual path to the Unity engine, not a quoted version).
Accordingly, action()
now wraps unity
in shQuote()
. (#4)add_default_tree()
now imports its trees standing upright by default.
If you manually set x_rotation
to 0, however, the trees will import as
sideways as ever. (#7)create_terrain()
handles non-local terrain files (#6)unifir_prop()
now checks to make sure script
exists and is a
unifir_script
. Previously this errored with a baffling message about
long vectors.find_unity()
doesn't now have a weird break in its documentation
sectionsThis is the first released version of the unifir package! Clocking in at 25 exported functions, 2 vignettes, and 88% code coverage, this package is the first stab at creating a unified API for calling Unity from R.