Sprite drawing/code alteration

Okay, basically what I want to do is draw a sprite that’s a decagon, and each point on the decagon is a variable that can be called to in a code to edit the position.

Essentially, my friend is working on an RPG, no goal in mind, just a learning experience, and I’m working on a few things with him when I have the time, and he’s not a programmer, and I’m not familiar with unity. I want to have the decagon points each represent a stat, and as said stat increases, the inner filling of the decagon grows toward said stat corner. I know how I’d code it conceptually, or if I were working in something like actionscript 3 and can just draw sprites from 100% code, but in unity I am at a complete loss. Any help would be awesome. Thanks guys.

I’ve no idea how you’d do this in ActionScript or whatever. But in Unity I’d start by playing with a procedurally generated mesh to get the shape I wanted (there’s tutes for procedural generation of stuff you can search for), then I’d modify that so that I knew the indices of the vertices that relate to a stat, then I’d make functions to update the mesh data as the stats change.