No errors silhuette ting
This commit is contained in:
parent
c76805b98a
commit
f2b5c28c4b
|
@ -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
|
||||
|
|
|
@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue