Ejemplo n.º 1
0
        public void Start()
        {
            PlayerBehaviour player = GameObject.Find(targetName).GetComponent <PlayerBehaviour>();

            Skill            = player.GetPropValue <CooldownSkill>(skillName);
            Skill.OnExecute += TransitionToCooldownStart;
            _Animator        = GetComponent <Animator>();
            SceneLinkedSMB <CooldownSkillUI> .Initialise(_Animator, this);

            UpdateUI();
        }
Ejemplo n.º 2
0
 public DashSkill(PlayerBehaviour player) : base(3, 3, 3)
 {
     this.player = player;
 }