Skip to content

Commit

Permalink
File scoped namespaces, remove unused usings, and remove warns
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Sep 9, 2024
1 parent 2ba2e5c commit ca63b40
Show file tree
Hide file tree
Showing 25 changed files with 563 additions and 552 deletions.
7 changes: 2 additions & 5 deletions Winch.Examples/DisasterButton/DisasterButton.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
Expand All @@ -7,12 +7,9 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
</PropertyGroup>

<PropertyGroup>
<DebugType>portable</DebugType>
<OutputPath>./bin</OutputPath>
<AssemblyVersion>1.0.*</AssemblyVersion>
<VersionPrefix>$(Version)</VersionPrefix>
<Deterministic>False</Deterministic>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions Winch.Examples/ExampleItems/ExampleItems.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
Expand All @@ -9,7 +9,7 @@
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<DebugType>portable</DebugType>
<OutputPath>./bin</OutputPath>
<AssemblyVersion>1.0.0</AssemblyVersion>
<VersionPrefix>$(Version)</VersionPrefix>
<Deterministic>False</Deterministic>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion Winch.Examples/ExampleItems/ExampleSaveBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace ExampleItems;

/// <summary>
/// Basically the exact same as <see cref="ExampleExtendedSaveDataParticipant"/> but as a <see cref="MonoBehaviour"/> instead.
/// Basically the exact same as <see cref="ExampleSaveParticipant"/> but as a <see cref="MonoBehaviour"/> instead.
/// </summary>
public class ExampleSaveBehaviour : ExtendedSaveBehaviour
{
Expand Down
7 changes: 2 additions & 5 deletions Winch.Examples/IntroSkipper/IntroSkipper.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
Expand All @@ -7,12 +7,9 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
</PropertyGroup>

<PropertyGroup>
<DebugType>portable</DebugType>
<OutputPath>./bin</OutputPath>
<AssemblyVersion>1.0.*</AssemblyVersion>
<VersionPrefix>$(Version)</VersionPrefix>
<Deterministic>False</Deterministic>
</PropertyGroup>

Expand Down
2 changes: 2 additions & 0 deletions Winch/Data/Character/AdvancedSpeakerData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public class AdvancedSpeakerData : SpeakerData
/// <summary>
/// The image of the character. This will show up when you are talking to them.
/// </summary>
#pragma warning disable CS8618
public Sprite portraitSprite;
#pragma warning restore CS8618

/// <summary>
/// Image overrides
Expand Down
Loading

0 comments on commit ca63b40

Please sign in to comment.