Skip to content
Snippets Groups Projects
Portrait.cs 688 B
Newer Older
Michael LaFreniere's avatar
Michael LaFreniere committed
using UnityEngine;
using System.Collections;
using UnityEngine.UI;

// ** Can potentially merge with the money script.

// will change the top left player portrait based on the player appearance!
public class Portrait : MonoBehaviour {

    private setAppearance appearance;
    private PlayerStats stats;
    public Text playerName;
    public Image face;
    public Image head;
    public Color color;

	// Use this for initialization
	void Start () {
        stats = GameObject.FindWithTag("Player").GetComponent<PlayerStats>();
        //Debug.Log(stats.getName());
        //playerName.text = stats.getName();

    }
	
	// Update is called once per frame
	void Update () {
	
	}
}