You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
522 B
C#
22 lines
522 B
C#
3 months ago
|
using SRF;
|
||
|
using UnityEngine;
|
||
|
|
||
|
using static D2D.Utilities.CommonGameplayFacade;
|
||
|
|
||
|
public class SurfaceMaterialRandom : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField] private MeshRenderer[] meshRenderers;
|
||
2 months ago
|
[SerializeField] private MeshRenderer[] meshRenderersbackup;
|
||
1 month ago
|
|
||
3 months ago
|
private Material currentMaterial;
|
||
|
|
||
|
private void Awake()
|
||
|
{
|
||
2 months ago
|
//currentMaterial = _gameData.groundMaterials.Random();
|
||
3 months ago
|
|
||
2 months ago
|
//foreach (var item in meshRenderers)
|
||
|
//{
|
||
|
// item.material = currentMaterial;
|
||
|
//}
|
||
3 months ago
|
}
|
||
|
}
|