Esempio n. 1
0
 protected override void Initialize()
 {
     base.Initialize();
     mainCam = Camera.main;
     // Make sure the character preview has the same outfit
     customScreenPreviewRenderer.EquipAll(customChar);
 }
Esempio n. 2
0
 protected virtual void Initialize()
 {
     // Make sure the character renderer has the correct sprites
     charRenderer.EquipAll(customChar);
     currentHP            = maxHP;
     healthBar.fillAmount = 1f;
 }