Example #1
0
 private void CompleteHander()
 {
     layer = null;
     item  = null;
     info  = null;
     OnEnd();
 }
Example #2
0
 public ChangeCoverActor(CoverLayer coverLayer, FightCoverItem coverItem, CoverInfo coverInfo)
     : base()
 {
     layer = coverLayer;
     item  = coverItem;
     info  = coverInfo;
 }
Example #3
0
    void Start()
    {
        fightUI        = GameObject.Find("Canvas/layer_0/FightModule/fightUI").GetComponent <FightUI>();
        floorLayer     = GameObject.Find("Canvas/layer_0/FightModule/layers/fight_mask/animLayer/floor").GetComponent <FloorLayer>();
        coverLayer     = GameObject.Find("Canvas/layer_0/FightModule/layers/fight_mask/animLayer/cover").GetComponent <CoverLayer>();
        fancelayer     = GameObject.Find("Canvas/layer_0/FightModule/layers/fight_mask/animLayer/fence").GetComponent <FanceLayer>();
        floorHideLayer = GameObject.Find("Canvas/layer_0/FightModule/layers/fight_mask/animLayer/floor_hide").GetComponent <FloorHideLayer>();
        monsterLayer   = GameObject.Find("Canvas/layer_0/FightModule/layers/fight_mask/animLayer/monster").GetComponent <MonsterLayer>();
        effectLayer    = GameObject.Find("Canvas/layer_0/FightModule/layers/effect").GetComponent <EffectLayer>();
        fightModule    = GameObject.Find("Canvas/layer_0/FightModule").GetComponent <FightModule>();

        PropModel.Instance.PropRefreshEvent     = PropRefreshEvent;
        PropModel.Instance.PropChangeCellsEvent = PropChangeCellsEvent;
    }