This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//for PhotoshopCS3 | |
preferences.rulerUnits = Units.PIXELS; | |
//サムネイルの最大サイズ max pixels | |
maxpx = 640; | |
//サムネイルを保存するフォルダ名。このスクリプト実行時に聞かれるフォルダの下に作成する。 | |
thumbDir = 'thumbnail'; | |
//特定のフォルダ以下のすべてのJPGを開く | |
var dirObj = new Folder("C:/Users/name/Pictures/iCloud Photos/Shared/ブログ用"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.EventSystems; | |
using System.Collections.Generic; | |
public class test : MonoBehaviour { | |
void Update () { | |
var pointer = new PointerEventData(EventSystem.current); | |
Vector2 mousePos = Input.mousePosition; |