void Awake()
 {
     _movement = gameObject.AddComponent <Components.PlayerMovement>();
     _relics   = gameObject.AddComponent <Components.RelicManager>();
     _slash    = gameObject.AddComponent <Components.Slash>();
     _health   = gameObject.AddComponent <Components.Health>();
     _health.TotalStuff();
 }
Exemple #2
0
 void Awake()
 {
     _movement = gameObject.AddComponent<Components.PlayerMovement> ();
     _relics = gameObject.AddComponent<Components.RelicManager> ();
     _slash = gameObject.AddComponent<Components.Slash> ();
     _health = gameObject.AddComponent<Components.Health> ();
     _death = gameObject.AddComponent<Components.Death> ();
     _health.TotalStuff ();
 }