File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Assets/MapEditor/Managers Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public static class Callbacks
4242
4343 public static bool IsInitialised { get ; private set ; }
4444
45- /// <summary>Loads the prefabs from the Rust prefab bundle .</summary>
45+ /// <summary>Loads the Rust bundles into memory .</summary>
4646 /// <param name="bundlesRoot">The file path to the Rust bundles file.</param>
4747 public static void Initialise ( string bundlesRoot )
4848 {
@@ -52,6 +52,9 @@ public static void Initialise(string bundlesRoot)
5252 Debug . Log ( "Bundles already loaded." ) ;
5353 }
5454
55+ /// <summary>Loads the Rust bundles at the currently set directory.</summary>
56+ public static void Initialise ( ) => Initialise ( SettingsManager . RustDirectory + SettingsManager . BundlePathExt ) ;
57+
5558 public static void Dispose ( )
5659 {
5760 if ( ! Coroutines . IsInitialising && IsInitialised )
You can’t perform that action at this time.
0 commit comments