Exemplo n.º 1
0
 private void Awake()
 {
     _core   = Camera.main.GetComponent <MainCore>();
     _cal    = _core._cal;
     _monCom = _core._monCom;
     speed   = 0.005F;
     mapSize = _core._mapObj.GetComponent <SpriteRenderer>().bounds.size;
     mapPos  = _core._mapObj.transform.position;
 }
 private void Awake()
 {
     _core                     = Camera.main.GetComponent <MainCore>();
     _cal                      = _core._cal;
     _mapCon                   = _core._mapCon;
     _monCom                   = _core._monCom;
     _heroCom                  = _core._heroCom;
     _buffCon                  = _core._buffCon;
     _selectATKCon             = _core._selectATKCon;
     _buffCon._buffListPlayer  = new List <Buff>();
     _buffCon._buffListMonster = new List <Buff>();
 }