[Unity2D] Collision, Trigger 충돌 조건 확인 & 총알 발사하기
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..

image