| 1234567891011121314151617 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class EnemyArrow : EnemyBase {
- public bool movingLeft = false;
- internal override bool isPressingCrouch() => false;
- internal override bool isPressDownJump() => false;
- internal override bool isPressingLeft() => movingLeft;
- internal override bool isPressingRight() => !movingLeft;
- internal override void OnHitEnemy(Collision2D collision) {
- Destroy(gameObject);
- }
- }
|