mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
add hud assetbundle to QSBCore
This commit is contained in:
parent
4fdefcb5b2
commit
8b4bd22ddb
@ -50,6 +50,7 @@ public class QSBCore : ModBehaviour
|
|||||||
public static AssetBundle NetworkAssetBundle { get; private set; }
|
public static AssetBundle NetworkAssetBundle { get; private set; }
|
||||||
public static AssetBundle ConversationAssetBundle { get; private set; }
|
public static AssetBundle ConversationAssetBundle { get; private set; }
|
||||||
public static AssetBundle DebugAssetBundle { get; private set; }
|
public static AssetBundle DebugAssetBundle { get; private set; }
|
||||||
|
public static AssetBundle HUDAssetBundle { get; private set; }
|
||||||
public static bool IsHost => NetworkServer.active;
|
public static bool IsHost => NetworkServer.active;
|
||||||
public static bool IsInMultiplayer;
|
public static bool IsInMultiplayer;
|
||||||
public static string QSBVersion => Helper.Manifest.Version;
|
public static string QSBVersion => Helper.Manifest.Version;
|
||||||
@ -174,6 +175,7 @@ public class QSBCore : ModBehaviour
|
|||||||
NetworkAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_network");
|
NetworkAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_network");
|
||||||
ConversationAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_conversation");
|
ConversationAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_conversation");
|
||||||
DebugAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_debug");
|
DebugAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_debug");
|
||||||
|
HUDAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_hud");
|
||||||
|
|
||||||
if (NetworkAssetBundle == null || ConversationAssetBundle == null || DebugAssetBundle == null)
|
if (NetworkAssetBundle == null || ConversationAssetBundle == null || DebugAssetBundle == null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user