[Unity2D] 몬스터,캐릭터와 충돌 및 공격 변경
C#/Unity2020. 7. 9. 17:28[Unity2D] 몬스터,캐릭터와 충돌 및 공격 변경

GreenMonster.cs using System.Collections; using System.Collections.Generic; using UnityEngine; // 이동간 절대기준 사용위한 Tweening 라이브러리 사용 using DG.Tweening; using System; public class GreenMonster : MonoBehaviour { //////////////////////////////////////////////////////////////////////////////// // 멤버변수 선언 bool _IsMoveAction = false; // 이동 겹치기 방지 bool _DontMoveDown = false; bool _DontMoveUp = false; bool..

image