Пример #1
0
    private void Start()
    {
        if (generateRandomMaterial)
        {
            randomMaterial = MaterialUtils.CreateMaterialWithRandomColor($"{gameObject.name}_material");
        }

        Generate();
    }