![[Unity2D] Collision, Trigger 충돌 조건 확인 & 총알 발사하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FrBzf2%2FbtqFrU0QHoi%2Fkcau5hVx2FgPpFaUck3Xt1%2Fimg.png)
C#/Unity2020. 7. 7. 17:18[Unity2D] Collision, Trigger 충돌 조건 확인 & 총알 발사하기
hero.cs using System.Collections; using System.Collections.Generic; using System.Reflection; using UnityEngine; // 이동간 절대기준 사용위한 Tweening 라이브러리 사용 using DG.Tweening; using UnityEditorInternal; using JetBrains.Annotations; using System; public class hero : MonoBehaviour { bool _token = false; bool _DontMoveDown = false; bool _DontMoveUp = false; bool _DontMoveLeft = false; bool _DontMoveRight = f..