Ejemplo n.º 1
0
        private void _ClearCastSkill(ICastSkill obj)
        {
            _CastSkill.HitNextsEvent -= _AddSkills;
            _CastSkill = null;

            _UsableSkills.Clear();
        }
Ejemplo n.º 2
0
 private void _InBattle(ICastSkill obj)
 {
     if (EntityController.IsMainEntity(_Visible))
     {
         var cam = GameObject.FindObjectOfType <CameraFollow>();
         cam.Watchtarget  = BattleCameraTarget;
         cam.CenterTarget = CenterCameraTarget;
     }
 }
    private void BattleCastControllerProviderOnSupply(ICastSkill cast_skill)
    {
        Debug.Log("CastSkill id : " + cast_skill.Id);
        _CastSkill = cast_skill;
        _CastSkill.HitNextsEvent += _AddHitSkills;

        foreach (var child in _Childs)
        {
            Destroy(child);
        }
        Menu.elements.Clear();
        foreach (var actorStatusType in _CastSkill.Skills)
        {
            _AddSkill(actorStatusType);
        }
        Menu.arrangeElements();
    }
    private void BattleCastControllerProviderOnSupply(ICastSkill cast_skill)
    {
        Debug.Log("CastSkill id : " + cast_skill.Id);
        _CastSkill = cast_skill;
        _CastSkill.HitNextsEvent += _AddHitSkills;

        foreach (var child in _Childs)
        {
            Destroy(child);
        }
        Menu.elements.Clear();
        foreach (var actorStatusType in _CastSkill.Skills)
        {
            _AddSkill(actorStatusType);
        }
        Menu.arrangeElements();
    }
Ejemplo n.º 5
0
 private void _SetCastSkill(ICastSkill obj)
 {
     _CastSkill = obj;
     _CastSkill.HitNextsEvent += _AddSkills;
     _UsableSkills.AddRange(_CastSkill.Skills);
 }
        private void _ClearCastSkill(ICastSkill obj)
        {
            _CastSkill.HitNextsEvent -= _AddSkills;
            _CastSkill = null;

            _UsableSkills.Clear();
        }
 private void _SetCastSkill(ICastSkill obj)
 {
     _CastSkill = obj;
     _CastSkill.HitNextsEvent += _AddSkills;
     _UsableSkills.AddRange(_CastSkill.Skills);
 }
Ejemplo n.º 8
0
 private void _OutBattle(ICastSkill obj)
 {
     if (EntityController.IsMainEntity(_Visible))
     {
         var cam = GameObject.FindObjectOfType<CameraFollow>();
         cam.Watchtarget = NormalCameraTarget;
         cam.CenterTarget = CenterCameraTarget;
     }
 }
 private void BattleCastControllerProviderOnUnsupply(ICastSkill cast_skill)
 {
     _CastSkill.HitNextsEvent -= _AddHitSkills;
     _CastSkill = null;
 }
 private void BattleCastControllerProviderOnUnsupply(ICastSkill cast_skill)
 {
     _CastSkill.HitNextsEvent -= _AddHitSkills;
     _CastSkill = null;
 }
Ejemplo n.º 11
0
 private void _UnsupplyCastBattle(ICastSkill obj)
 {
     _CastSkill = null;
     CastSkillObject.SetActive(false);
 }
Ejemplo n.º 12
0
 private void _SupplyCastBattle(ICastSkill obj)
 {
     _CastSkill = obj;
     CastSkillObject.SetActive(true);
 }