Repair shader

This commit is contained in:
haitem
2021-01-30 19:02:37 +01:00
parent 77456cec41
commit d2bd761e2f
5 changed files with 70 additions and 209 deletions

View File

@@ -71,7 +71,7 @@ public class ObjectManager : MonoBehaviour
playerManager = collision.gameObject.GetComponent<PlayerManager>();
if (playerManager.activeAbility.Count > 0 && playerManager.activeAbility[0] == 2)
{
meshRenderer.materials[1].SetFloat("_Outline", 0.25f);
meshRenderer.materials[1].SetFloat("_Outline", 0.1f);
}
else
{