Skip to contents

All functions

validate_path() validate_single_path()
Validate a file path exists
action()
Build and execute a unifir_script
add_default_player() add_default_tree()
Add assets to a Unity scene
add_light()
Add a light to a Unity scene
add_prop()
Add a prop to a unifir script
add_texture()
Add a Texture2D layer to a terrain tile object
associate_coordinates()
Associate vector coordinates with a raster surface for Unity import
available_assets
Vector of assets unifir can download and import
check_debug()
Check if unifir should run in debug mode
create_if_not()
Create directory if it doesn't exist
create_terrain()
Create a terrain tile with optional image overlay
create_unity_project()
Create a new Unity project.
find_unity()
Find the Unity executable on a machine.
get_asset()
Download prefabs for Unity
import_asset()
Import assets into Unity.
instantiate_prefab()
Add a prefab to a Unity scene
load_png()
Create a Texture2D from a PNG file
load_scene()
Load a scene in a Unity project.
make_script()
Create an empty unifir_script object.
new_scene()
Create a new scene in a Unity project.
read_raw()
Read a RAW file in as a float array
save_scene()
Save a scene in a Unity project.
set_active_scene()
Set a single scene to active.
set_script_defaults()
Fill in plot holes in a script
unifir_prop()
The class for unifir prop objects
unity_version()
Print the version of the Unity Editor in use.
waiver()
A waiver object.