Пример #1
0
 public BaseSkillState(SkillList skillList, SkillStruct skillStruct, BaseActor targetActor = null)
 {
     m_SkillList   = skillList;
     m_SkillStruct = skillStruct;
     m_BaseTarget  = targetActor;
     m_SelfActor   = m_SkillList.GetComponent <BaseActor>();
 }
Пример #2
0
 private void Awake()
 {
     m_Text        = transform.GetChild(0).GetComponent <Text>();
     m_SkillList   = player.GetComponent <SkillList>();
     m_PlayerInput = player.GetComponent <PlayerInput>();
     m_Text.text   = m_SkillList.GetSkill(idx).name;
 }
Пример #3
0
        public void Init()
        {
            m_BuffAgent = GetComponent <BuffAgent>();
            skillList   = GetComponent <SkillList>();
            m_Propty.Reset();

            m_BuffAgent.Init();
        }
Пример #4
0
 public SkillFsm(SkillList skillList)
 {
     m_SkillList = skillList;
 }
Пример #5
0
 public void Awake()
 {
     m_SkillList = GetComponent <SkillList>();
 }
Пример #6
0
 public Roll(SkillList skillList, SkillStruct skillStruct, BaseActor targetActor = null) : base(skillList, skillStruct, targetActor)
 {
     m_AddedBuff         = false;
     m_RealeaseTimeStamp = Time.time + 0.2f;
 }