No errors silhuette ting

This commit is contained in:
BOT Alex 2024-04-20 17:26:20 +02:00
parent c76805b98a
commit f2b5c28c4b
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: acef1d7c80f784543acd3e1571e99495, type: 3}
m_Name:
m_EditorClassIdentifier:
DebugTowerPrefab: {fileID: 1927189479841411320, guid: 60899c8a0efa6f74393d369a109d82c3,
DebugTowerPrefab: {fileID: 8488737342646939416, guid: 9415cb10a1bd579269301ca4f61a1554,
type: 3}
SilhouetteMaterial: {fileID: 2100000, guid: 0610eb89b05f0b546929db3664a351d8, type: 2}
--- !u!4 &268589088 stripped

View File

@ -89,7 +89,7 @@ public class TowerPlacementManager : MonoBehaviour
else if (typeof(Renderer).IsAssignableFrom(comp))
{
var renderer = comp as Renderer;
renderer.material = SilhouetteMaterial;
renderer.materials = new Material[] { SilhouetteMaterial , SilhouetteMaterial , SilhouetteMaterial , SilhouetteMaterial , SilhouetteMaterial };
}
}