Class implementing the LLMUnity builder.
More...
|
static void | HandleActionFileRecursive (string source, string target, ActionCallback actionCallback) |
| Performs an action for a file or a directory recursively.
|
|
static void | CopyWithOverwrite (string source, string target) |
| Overwrites a target file based on the source file.
|
|
static void | CopyPath (string source, string target) |
| Copies a source file to a target file.
|
|
static void | MovePath (string source, string target) |
| Moves a source file to a target file.
|
|
static bool | DeletePath (string path) |
| Deletes a path after checking if we are allowed to.
|
|
static void | BuildLibraryPlatforms (string platform) |
| Moves libraries in the correct place for building.
|
|
static void | BuildModels () |
| Bundles the model information.
|
|
static void | Build (string platform) |
| Bundles the models and libraries.
|
|
static void | Reset () |
| Resets the libraries back to their original state.
|
|
|
static string | BuildTempDir = Path.Combine(Application.temporaryCachePath, "LLMUnityBuild") |
|
static string | androidPluginDir = Path.Combine(Application.dataPath, "Plugins", "Android", "LLMUnity") |
|
static string | iOSPluginDir = Path.Combine(Application.dataPath, "Plugins", "iOS", "LLMUnity") |
|
Class implementing the LLMUnity builder.
Definition at line 15 of file LLMBuilder.cs.
◆ Build()
static void LLMUnity.LLMBuilder.Build |
( |
string | platform | ) |
|
|
inlinestatic |
◆ BuildLibraryPlatforms()
static void LLMUnity.LLMBuilder.BuildLibraryPlatforms |
( |
string | platform | ) |
|
|
inlinestatic |
Moves libraries in the correct place for building.
- Parameters
-
Definition at line 155 of file LLMBuilder.cs.
◆ BuildModels()
static void LLMUnity.LLMBuilder.BuildModels |
( |
| ) |
|
|
inlinestatic |
◆ CopyPath()
static void LLMUnity.LLMBuilder.CopyPath |
( |
string | source, |
|
|
string | target ) |
|
inlinestatic |
Copies a source file to a target file.
- Parameters
-
source | source file |
target | target file |
Definition at line 69 of file LLMBuilder.cs.
◆ CopyWithOverwrite()
static void LLMUnity.LLMBuilder.CopyWithOverwrite |
( |
string | source, |
|
|
string | target ) |
|
inlinestatic |
Overwrites a target file based on the source file.
- Parameters
-
source | source file |
target | target file |
Definition at line 59 of file LLMBuilder.cs.
◆ DeletePath()
static bool LLMUnity.LLMBuilder.DeletePath |
( |
string | path | ) |
|
|
inlinestatic |
Deletes a path after checking if we are allowed to.
- Parameters
-
Definition at line 89 of file LLMBuilder.cs.
◆ HandleActionFileRecursive()
static void LLMUnity.LLMBuilder.HandleActionFileRecursive |
( |
string | source, |
|
|
string | target, |
|
|
ActionCallback | actionCallback ) |
|
inlinestatic |
Performs an action for a file or a directory recursively.
- Parameters
-
source | source file/directory |
target | targer file/directory |
actionCallback | action |
Definition at line 35 of file LLMBuilder.cs.
◆ MovePath()
static void LLMUnity.LLMBuilder.MovePath |
( |
string | source, |
|
|
string | target ) |
|
inlinestatic |
Moves a source file to a target file.
- Parameters
-
source | source file |
target | target file |
Definition at line 79 of file LLMBuilder.cs.
◆ Reset()
static void LLMUnity.LLMBuilder.Reset |
( |
| ) |
|
|
inlinestatic |
Resets the libraries back to their original state.
Definition at line 210 of file LLMBuilder.cs.
◆ androidPluginDir
string LLMUnity.LLMBuilder.androidPluginDir = Path.Combine(Application.dataPath, "Plugins", "Android", "LLMUnity") |
|
static |
◆ BuildTempDir
string LLMUnity.LLMBuilder.BuildTempDir = Path.Combine(Application.temporaryCachePath, "LLMUnityBuild") |
|
static |
◆ iOSPluginDir
string LLMUnity.LLMBuilder.iOSPluginDir = Path.Combine(Application.dataPath, "Plugins", "iOS", "LLMUnity") |
|
static |
The documentation for this class was generated from the following file: