protected AutoAttack SpawnAutoAttack(int id, Vector3 startPosition, Vector3 targetPosition) { AutoAttack autoAttack = _players[id].SpawnAutoAttack(startPosition, targetPosition); autoAttack.SetGameController(this); return(autoAttack); }
protected AutoAttack SpawnAutoAttack(int id, Vector3 startPosition, Vector3 targetPosition) { AutoAttack autoAttack = _players[id].SpawnAutoAttack(startPosition, targetPosition); autoAttack.SetGameController(this); return(autoAttack); }