Exemplo n.º 1
0
 // Use this for initialization
 private void Start()
 {
     ActionControler.StatuController.SetStatu(Status.IDLE);
     TrapMeDisplay = ActionControler.Me as TrapDisplay;
     ThisTrapVo    = TrapMeDisplay.GetTrapVo();
     vp_Timer.In(ThisTrapVo.SysTrapVo.AttackInterval * 0.001f, ActionAttack);
 }
Exemplo n.º 2
0
        // Use this for initialization
        private void Start()
        {
            ActionControler.StatuController.SetStatu(Status.IDLE);
            TrapMeDisplay             = ActionControler.Me as TrapDisplay;
            ThisTrapVo                = TrapMeDisplay.GetTrapVo();
            _skillBaseVo              = BaseDataMgr.instance.GetSysSkillBaseVo(uint.Parse(StringUtils.GetValueListFromString(ThisTrapVo.SysTrapVo.SkillIds)[0]));
            LastAttackedActionDisplay = new List <ActionDisplay>();
            _startTime                = 0;
            Vector3 pos = transform.position;

            EffectMgr.Instance.CreateMainEffect(EffectId.Main_CylinderStandby, pos, true, null, false);
        }