Skip to content

Commit

Permalink
Added graphic setting and reverted default build config
Browse files Browse the repository at this point in the history
  • Loading branch information
Indigocoder1 committed Sep 14, 2024
1 parent a86deef commit 1c2a2d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Nautilus.sln
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{418502DD-372D-4EF9-8021-B262552DFEDE}.BZ.STABLE|Any CPU.ActiveCfg = BZ.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.BZ.STABLE|Any CPU.Build.0 = BZ.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.Debug|Any CPU.ActiveCfg = BZ.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.Debug|Any CPU.Build.0 = BZ.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.Debug|Any CPU.ActiveCfg = SN.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.Debug|Any CPU.Build.0 = SN.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.Release|Any CPU.ActiveCfg = SN.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.Release|Any CPU.Build.0 = SN.STABLE|Any CPU
{418502DD-372D-4EF9-8021-B262552DFEDE}.SN.STABLE|Any CPU.ActiveCfg = SN.STABLE|Any CPU
Expand Down
6 changes: 6 additions & 0 deletions Nautilus/Utility/ThunderkitUtilities/ApplySNMaterial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ public void AssignMaterials()
case MaterialSetMode.AllChildObjectsIncludeInactive:
ApplyMaterialsOnChildren(true);
break;
case MaterialSetMode.AllChildGraphics:
foreach (var graphic in GetComponentsInChildren<Graphic>(true))
{
graphic.material = GetMaterial(materialType);
}
break;
}
}

Expand Down

0 comments on commit 1c2a2d5

Please sign in to comment.