UI 자동화를 위해 바인딩 기능 구현
- 유니티 에셋 인증 오류로 meta 재생성
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f04a4f1be0f3364478dd7276aebb2f24
|
||||
guid: f04a4f1be0f3364478dd7276aebb2f24
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@@ -16,6 +16,8 @@ public class PlayerController : MonoBehaviour
|
||||
// Managers.Input.KeytAction += OnKyeboard;
|
||||
Managers.Input.MouseAction -= OnMouseClicked;
|
||||
Managers.Input.MouseAction += OnMouseClicked;
|
||||
|
||||
Managers.Resource.Instantiate("UI/UI_Button");
|
||||
}
|
||||
|
||||
public enum PlayerState
|
||||
@@ -126,7 +128,7 @@ public class PlayerController : MonoBehaviour
|
||||
Debug.DrawRay(Camera.main.transform.position, ray.direction * 100.0f, Color.red, 1.0f);
|
||||
|
||||
RaycastHit hit;
|
||||
if(Physics.Raycast(ray, out hit, 100.0f, LayerMask.GetMask("Wall")));
|
||||
if(Physics.Raycast(ray, out hit, 100.0f, LayerMask.GetMask("Wall")))
|
||||
{
|
||||
_destPos = hit.point;
|
||||
_state = PlayerState.Moving;
|
||||
|
||||
@@ -1,2 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 07c76605d2feab34488f71316e532b7f
|
||||
guid: 07c76605d2feab34488f71316e532b7f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
Reference in New Issue
Block a user