oct
This commit is contained in:
@@ -79,7 +79,7 @@ public class PlayerAttack : NetworkBehaviour{
|
||||
Vector3 direction = GetPlayerLookDir();
|
||||
|
||||
//if(isServer){
|
||||
pnet.MagicalAttack(direction, magicalProjectileSpawnOffset, damage);
|
||||
pnet.MagicalAttack(direction, magicalProjectileSpawnOffset, damage);
|
||||
/*}else{
|
||||
Debug.Log(direction);
|
||||
CmdMagicalAttack(direction);
|
||||
@@ -91,10 +91,6 @@ public class PlayerAttack : NetworkBehaviour{
|
||||
magicalAttack(direction);
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Vector3 GetPlayerLookDir(){
|
||||
Vector3 direction = Vector3.right;
|
||||
if(leftAnim.activeSelf){
|
||||
|
||||
Reference in New Issue
Block a user