예제 #1
0
    private void SpawnVFX()
    {
        var color = _gameConfig.GetPlatformColorBy(Type);

        _vfx.GetComponent <Renderer>().sharedMaterial.color = color;
        _vfx.Play();
    }
예제 #2
0
    private void OnNextPlatform(PlatformType type)
    {
        var color = _config.GetPlatformColorBy(type);

        Renderer.material.color = color;
    }