mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +00:00
fix probe materials
This commit is contained in:
parent
05c261929b
commit
3737e38e34
Binary file not shown.
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user