示例#1
0
    protected override void Start()
    {
        base.Start();
        currentCharacter = TargetCharacter.Player;

        abilitiesState = PlayerAbilitiesState.UnBlocked;

        healthPoint    = save.HealthPoint;
        maxHealthPoint = save.maxHealthPoint;
        damage         = save.damage;
        agility        = save.agility;
        healingPer     = save.healingPer;
        armorBuffPer   = save.armorBuffPer;
        armor          = save.armor;
    }
示例#2
0
 public void BlockButtons()
 {
     abilitiesState = PlayerAbilitiesState.Blocked;
 }
示例#3
0
 public void UnBlockButtons()
 {
     abilitiesState = PlayerAbilitiesState.UnBlocked;
     canvas.GetComponent <ButtonControl>().ChangeButtonToUnPressed();
 }