コード例 #1
0
        private void _ClearCastSkill(ICastSkill obj)
        {
            _CastSkill.HitNextsEvent -= _AddSkills;
            _CastSkill = null;

            _UsableSkills.Clear();
        }
コード例 #2
0
 private void _InBattle(ICastSkill obj)
 {
     if (EntityController.IsMainEntity(_Visible))
     {
         var cam = GameObject.FindObjectOfType <CameraFollow>();
         cam.Watchtarget  = BattleCameraTarget;
         cam.CenterTarget = CenterCameraTarget;
     }
 }
コード例 #3
0
    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();
    }
コード例 #4
0
    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();
    }
コード例 #5
0
 private void _SetCastSkill(ICastSkill obj)
 {
     _CastSkill = obj;
     _CastSkill.HitNextsEvent += _AddSkills;
     _UsableSkills.AddRange(_CastSkill.Skills);
 }
コード例 #6
0
        private void _ClearCastSkill(ICastSkill obj)
        {
            _CastSkill.HitNextsEvent -= _AddSkills;
            _CastSkill = null;

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