diff --git a/Assets/FungusLua/Scripts/LuaUtils.cs b/Assets/FungusLua/Scripts/LuaUtils.cs index c2c380a1..582986a8 100644 --- a/Assets/FungusLua/Scripts/LuaUtils.cs +++ b/Assets/FungusLua/Scripts/LuaUtils.cs @@ -123,7 +123,7 @@ namespace Fungus // Don't register fungus types if the Fungus library is not present if (!isFungusInstalled && - typeName.StartsWith("Fungus.")) + typeName.Contains("Fungus.")) { continue; }