public UiPlayerAnimator(IUiPlayer uiPlayer) { UiPlayer = uiPlayer; Sprite = uiPlayer.Sprite; Attributes = uiPlayer.Attributes; Animator = uiPlayer.Animator; }
public UiPlayerMovement(IUiPlayer uiPlayer) { UiPlayer = uiPlayer; Parameters = uiPlayer.Parameters; Input = uiPlayer.Input; Rigidbody2D = uiPlayer.Rigidbody2D; Motion = new UiMotion(this); }
protected override void Awake() { base.Awake(); Ui = GetComponentInParent <IUiPlayer>(); UserInput = GetComponent <IUiUserInput>(); }
void Awake() { Ui = GetComponentInParent <IUiPlayer>(); UserInput = GetComponent <IUiUserInput>(); }
void Awake() { Ui = GetComponentInParent <IUiPlayer>(); UiText = GetComponent <UiText>(); PlayerText = Localization.Instance.Get(LocalizationIds.Player); }
void Awake() { CardUtils = transform.parent.GetComponentInChildren <UiPlayerHandUtils>(); UiPlayer = transform.parent.GetComponentInChildren <IUiPlayer>(); }
public UiPlayerAttributes(IUiPlayer uiPlayer) { UiPlayer = uiPlayer; Parameters = uiPlayer.Parameters; }
//-------------------------------------------------------------------------------------------------------------- void Awake() { Controller = GetComponent <IUiPlayer>(); UiPlayerTeam = GetComponentInChildren <IUiPlayerTeam>(); }