Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Twarug committed Oct 29, 2023
1 parent 5b0e186 commit 7001543
Show file tree
Hide file tree
Showing 26 changed files with 2,250 additions and 5 deletions.
8 changes: 8 additions & 0 deletions Assets/Animations/Player/BasicAttackDown.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Animations/Player/BasicAttackUp.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Animations/Player/DashDown.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Animations/Player/DashUp.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Animations/Player/DownRun.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Animations/Player/SpecialAttackLeft.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Animations/Player/SpecialAttackRight.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Animations/Player/UpRun.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Assets/DamageSystem/Weapons/MeleeWeapon/MeleeWeapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public override float GetDamage() {
}

private void Awake() {
collider = GetComponentInChildren<PolygonCollider2D>();
//collider = GetComponentInChildren<PolygonCollider2D>();
animator = GetComponent<Animator>();
inner = transform.GetChild(0);
}

public override void Attack() {
collider.enabled = true;
//collider.enabled = true;
//Debug.Log("atck");
if (!isActiveAndEnabled) return;
if (playerAnim.GetCurrentAnimatorStateInfo(0).IsName("BasicAttackTree")) return;
Expand All @@ -36,7 +36,7 @@ public override void Attack() {

private void _OnAttackEnd() {
OnAttackEnd.Invoke();
collider.enabled = false;
//collider.enabled = false;
}

private void OnDrawGizmos() {
Expand Down
Binary file added Assets/Media/Player/Player_attack_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
215 changes: 215 additions & 0 deletions Assets/Media/Player/Player_attack_down.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/Media/Player/Player_attack_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7001543

Please sign in to comment.