Compare commits

..

3 commits

Author SHA1 Message Date
50f4647d25 Remove debug message in startup 2021-04-17 16:48:51 -04:00
NorbiPeti
8fac84d591
Change name to Techblox 2021-04-13 00:51:25 +02:00
4d0ecd64f4 Add version info to compiled DLLs 2020-08-24 09:25:44 -04:00
6 changed files with 19 additions and 10 deletions

View file

@ -2,6 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />-->
<PropertyGroup>
<Version>4.0.0</Version>
<Authors>Exmods</Authors>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{14092533-98BB-40A4-9AFC-27BB75672A70}</ProjectGuid>

View file

@ -20,7 +20,6 @@ namespace IllusionInjector
public void OnApplicationStart()
{
Debug.LogWarning($"OnApplicationStart Test Warning");
Invoke(plugin => plugin.OnApplicationStart(), "OnApplicationStart");
}
@ -37,8 +36,10 @@ namespace IllusionInjector
try
{
callback(plugin);
#if DEBUG
if (!string.IsNullOrEmpty(name))
Debug.LogWarning($"Executed {name} for plugin {plugin.Name}");
#endif
}
catch (Exception ex)
{

View file

@ -2,6 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />-->
<PropertyGroup>
<Version>4.0.0</Version>
<Authors>Exmods</Authors>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D1C61AF5-0D2D-4752-8203-1C6929025F7C}</ProjectGuid>
@ -33,22 +35,22 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.dll</HintPath>-->
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>-->
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>-->
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>-->
<Private>False</Private>
</Reference>

View file

@ -11,7 +11,7 @@ namespace IllusionPlugin
/// Gets a list of executables this plugin should be excuted on (without the file ending)
/// </summary>
/// <example>{ "PlayClub", "PlayClubStudio" }</example>
public string[] Filter { get; } = new[] {"Gamecraft", "GamecraftPreview"};
public string[] Filter { get; } = new[] {"Techblox", "TechbloxPreview"};
public virtual void OnLateUpdate()
{

View file

@ -2,6 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />-->
<PropertyGroup>
<Version>4.0.0</Version>
<Authors>Exmods</Authors>
<ProjectGuid>{E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
@ -34,22 +36,22 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.dll</HintPath>-->
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.CoreModule.dll</HintPath>-->
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>-->
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\ref\Gamecraft_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<HintPath>..\..\ref\TechbloxPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>
<!--<HintPath>..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.Physics2DModule.dll</HintPath>-->
<Private>False</Private>
</Reference>

View file

@ -2,6 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />-->
<PropertyGroup>
<Version>4.0.0</Version>
<Authors>Exmods</Authors>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D1390268-F68B-4A55-B50D-EAD25756C8EF}</ProjectGuid>