private void Awake()
 {
     Instance       = this;
     eventClient    = GetComponent <PlayerEventClient>();
     _health        = Player.GetComponent <Health>();
     _canvasManager = GetComponent <CanvasManager>();
 }
Ejemplo n.º 2
0
 void Start()
 {
     client  = GameManager.Instance.eventClient;
     _health = GetComponentInParent <Health>();
 }
 private void Awake()
 {
     Instance = this;
 }