fix probe materials

This commit is contained in:
Mister_Nebula 2022-02-13 15:30:35 +00:00
parent 05c261929b
commit 3737e38e34
3 changed files with 7 additions and 2 deletions

Binary file not shown.

View File

@ -24,7 +24,10 @@ namespace QSB.PlayerBodySetup.Remote
"Structure_HEA_PlayerShip_Screens_mat",
"Effects_RecallWhiteHole_mat",
"Effects_HEA_Vapor_mat",
"Props_HEA_Lightbulb_OFF_mat"
"Props_HEA_Lightbulb_OFF_mat",
"Props_HEA_PlayerProbe_mat",
"Props_HEA_PlayerProbeLightbulb_mat",
"Effects_RecallBlackHole_mat"
};
private static void ReplaceMaterial(Renderer renderer, int index, Material mat)

View File

@ -1,6 +1,6 @@
using QSB.Player;
using QSB.PlayerBodySetup.Remote;
using UnityEngine;
using UnityEngine.PostProcessing;
namespace QSB.Tools.ProbeTool
{
@ -12,6 +12,8 @@ namespace QSB.Tools.ProbeTool
player.Probe = qsbProbe;
qsbProbe.SetOwner(player);
FixMaterialsInAllChildren.ReplaceMaterials(newProbe);
newProbe.gameObject.SetActive(true);
}
}