Socket
Book a DemoInstallSign in
Socket

@umm/camera_resizer

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umm/camera_resizer

Camera resizer calculate from canvas

latest
Source
npmnpm
Version
1.0.19
Version published
Maintainers
6
Created
Source

What?

Orthographic な Camera のサイズを Canvas のサイズから算出して設定する

Why?

  • スクリーンサイズによって UI とオブジェクトのズレが生じるのをどうにかしたかった。

Install

$ npm install github:umm-projects/camera_resizer.git

Usage

  • Canvas がアタッチされている GameObject に OrthographicCameraResizer をアタッチしてください。

License

Copyright (c) 2017 Tetsuya Mori

Released under the MIT license, see LICENSE.txt

FAQs

Package last updated on 11 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts