private void Start() { _text = GetComponent <Chess2Text>(); if (_isForFirstPlayer) { _figure = _field.FirstFigure; } else { _figure = _field.SecondFigure; } _text.Text = _figure.Talent.Name; }
private void Awake() { _text = GetComponentInChildren <Chess2Text>(); }