Exemplo n.º 1
0
 protected override void OnStart()
 {
     dataUnit       = GetData <DataUnit>();
     dataProjectile = GetData <DataProjectile>();
     animator       = GetComponent <Animator>();
     gameManager    = Toolbox.Get <GameManager>();
     dataSpell      = GetData <DataSpell>();
     sideTurn       = dataUnit.stats.side == Side.right ? Side.left : Side.right;
 }
Exemplo n.º 2
0
 protected override void OnStart()
 {
     dataUnit       = GetData <DataUnit>();
     dataProjectile = GetData <DataProjectile>();
 }