コード例 #1
0
 public UiPlayerAnimator(IUiPlayer uiPlayer)
 {
     UiPlayer   = uiPlayer;
     Sprite     = uiPlayer.Sprite;
     Attributes = uiPlayer.Attributes;
     Animator   = uiPlayer.Animator;
 }
コード例 #2
0
 public UiPlayerMovement(IUiPlayer uiPlayer)
 {
     UiPlayer    = uiPlayer;
     Parameters  = uiPlayer.Parameters;
     Input       = uiPlayer.Input;
     Rigidbody2D = uiPlayer.Rigidbody2D;
     Motion      = new UiMotion(this);
 }
コード例 #3
0
 protected override void Awake()
 {
     base.Awake();
     Ui        = GetComponentInParent <IUiPlayer>();
     UserInput = GetComponent <IUiUserInput>();
 }
コード例 #4
0
 void Awake()
 {
     Ui        = GetComponentInParent <IUiPlayer>();
     UserInput = GetComponent <IUiUserInput>();
 }
コード例 #5
0
 void Awake()
 {
     Ui         = GetComponentInParent <IUiPlayer>();
     UiText     = GetComponent <UiText>();
     PlayerText = Localization.Instance.Get(LocalizationIds.Player);
 }
コード例 #6
0
 void Awake()
 {
     CardUtils = transform.parent.GetComponentInChildren <UiPlayerHandUtils>();
     UiPlayer  = transform.parent.GetComponentInChildren <IUiPlayer>();
 }
コード例 #7
0
 public UiPlayerAttributes(IUiPlayer uiPlayer)
 {
     UiPlayer   = uiPlayer;
     Parameters = uiPlayer.Parameters;
 }
コード例 #8
0
        //--------------------------------------------------------------------------------------------------------------

        void Awake()
        {
            Controller   = GetComponent <IUiPlayer>();
            UiPlayerTeam = GetComponentInChildren <IUiPlayerTeam>();
        }