예제 #1
0
    public List <Sprite> getTongueTipsFor(TongueType type)
    {
        TongueSkin skin = tongues.Find(x => x.type == type);

        if (skin != null)
        {
            return(skin.tipTextures);
        }
        return(new List <Sprite>());
    }
예제 #2
0
    public Texture getLineSkinFor(TongueType type)
    {
        TongueSkin skin = tongues.Find(x => x.type == type);

        if (skin != null)
        {
            return(skin.lineTexture);
        }
        return(Resources.Load <Texture>(""));
    }