Example #1
0
    /// <summary>
    /// Configures the art style.
    /// </summary>
    private void configureArtStyle()
    {
        leftWall.GetComponent <SpriteRenderer>().material  = ArtManager.getArtSetResource <Material>("wallMat", (int)artType);
        rightWall.GetComponent <SpriteRenderer>().material = ArtManager.getArtSetResource <Material>("wallMat", (int)artType);

        shard.transform.GetChild(0).gameObject.SetActive(ArtManager.getArtSetShardLight((int)artType));
    }