Post Archive with Feature Rows

[유니티] 게임 비활성화, 종료 시 처리

최대 1 분 소요

유니티로 게임을 만들면 홈버튼을 눌러서 비활성화할 때와 게임을 종료할 때의 처리를 진행해야할 필요가 있다. 이러한 기능들은 유니티에서 제공하고 있기 때문에 MonoBehaviour가 지원하는 기본 함수를 사용하여 간단하게 적용할 수 있다.

[유니티] 가속도센서로 2D 중력 제어하기

최대 1 분 소요

스마트폰을 기울이면 그에 맞춰서 안에 있는 물체들이 움직이도록 자이로센서를 이용해서 구현해보려고 이런 저런 뻘짓을 하다가 실패했다. Input.gyro를 이용하면 구현 가능할 것 같았는데 VR같은 경우는 3D라 쉽게 적용이 가능했지만 2D 같은 경우에는 Quaternion이 어쩌구...

placeholder image 1

Placeholder 1

This is some sample content that goes here with Markdown formatting.

placeholder image 2

Placeholder 2

This is some sample content that goes here with Markdown formatting.

Read More

Placeholder 3

This is some sample content that goes here with Markdown formatting.

placeholder image 2

Placeholder Image Left Aligned

This is some sample content that goes here with Markdown formatting. Left aligned with type="left"

Read More

placeholder image 2

Placeholder Image Right Aligned

This is some sample content that goes here with Markdown formatting. Right aligned with type="right"

Read More

placeholder image 2

Placeholder Image Center Aligned

This is some sample content that goes here with Markdown formatting. Centered with type="center"

Read More