06 2021 档案

摘要:public void Test() { string path = Application.streamingAssetsPath + @"\0.png,0,0,581,391";//从纸张的0. 0点,将图像调整为750×350点(计算:150mm/28.346 px/cm=529点,100mm 阅读全文
posted @ 2021-06-28 20:13 All_Nighter 阅读(411) 评论(0) 推荐(0)
摘要:public MediaPlayer _mediaPlayer; public Slider _videoSeekSlider; public Text time; float _setVideoSeekSliderValue; private bool _wasPlayingOnScrub; vo 阅读全文
posted @ 2021-06-22 15:05 All_Nighter 阅读(707) 评论(0) 推荐(0)
摘要:using UnityEngine; using System.Collections; public class local_storage : MonoBehaviour { // Use this for initialization void Start () { //设定数据 不是代码 / 阅读全文
posted @ 2021-06-18 20:40 All_Nighter 阅读(58) 评论(0) 推荐(0)
摘要://获取CPU序列号 public string GetCPUSerialNumber() { try { ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * From Win32_Processor" 阅读全文
posted @ 2021-06-18 14:36 All_Nighter 阅读(988) 评论(1) 推荐(0)
摘要:ray = Camera.main.ScreenPointToRay(Input.mousePosition); if (Input.GetMouseButton(0)) { RaycastHit hit; if (Physics.Raycast(ray, out hit)) { if (hit.t 阅读全文
posted @ 2021-06-05 16:36 All_Nighter 阅读(43) 评论(0) 推荐(0)
摘要:if(Input.GetMouseButton(1)) {//控制上下左右旋转 obj.transform.Rotate(Vector3.up, -Time.deltaTime * 200 * Input.GetAxis("Mouse X")); obj.transform.Rotate(Vecto 阅读全文
posted @ 2021-06-05 16:35 All_Nighter 阅读(48) 评论(0) 推荐(0)
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class ImageDrap : MonoBehaviour, 阅读全文
posted @ 2021-06-02 10:12 All_Nighter 阅读(132) 评论(0) 推荐(0)