protected override void Awake() { base.Awake(); Handler = GetComponentInParent <IUiCharacterData>(); Handler.OnSetData += OnSetData; }
void Awake() => MyData = GetComponent <IUiCharacterData>();
void Awake() { MyRenderer = GetComponent <SpriteRenderer>(); Handler = GetComponentInParent <IUiCharacterData>(); Handler.OnSetData += OnSetData; }