private void Awake()
 {
     Time.timeScale = 1;
     m_playerstats  = Instantiate(m_publicplayer);
 }
Example #2
0
    public ScribtablePlayer m_playerstats; //editable stats <--

    private void Awake()
    {
        m_playerstats = Instantiate(m_publicplayer);
    }
 // Start is called before the first frame update
 void Start()
 {
     rb       = GetComponent <Rigidbody2D>();
     m_player = GetComponent <PlayerHealth>().ReturnPlayerStats();
 }