Example #1
0
    public void SetArenaView(AttackerStyle style)
    {
        _matBorder.color = style.arenaColor;

        if (_spotLight != null)
        {
            _spotLight.color = style.lightingColor;
        }
    }
Example #2
0
    private void SetStyle(AttackerStyle style)
    {
        _avatarSharedMaterial       = new Material(_avatarReferenceMaterial);
        _avatarSharedMaterial.color = style.avatarColor;

        _head.sharedMaterial  = _avatarSharedMaterial;
        _handL.sharedMaterial = _avatarSharedMaterial;
        _handR.sharedMaterial = _avatarSharedMaterial;

        ColorShards();
    }