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
阅读全文
摘要:public MediaPlayer _mediaPlayer; public Slider _videoSeekSlider; public Text time; float _setVideoSeekSliderValue; private bool _wasPlayingOnScrub; vo
阅读全文
摘要:using UnityEngine; using System.Collections; public class local_storage : MonoBehaviour { // Use this for initialization void Start () { //设定数据 不是代码 /
阅读全文
摘要://获取CPU序列号 public string GetCPUSerialNumber() { try { ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * From Win32_Processor"
阅读全文
摘要:ray = Camera.main.ScreenPointToRay(Input.mousePosition); if (Input.GetMouseButton(0)) { RaycastHit hit; if (Physics.Raycast(ray, out hit)) { if (hit.t
阅读全文
摘要:if(Input.GetMouseButton(1)) {//控制上下左右旋转 obj.transform.Rotate(Vector3.up, -Time.deltaTime * 200 * Input.GetAxis("Mouse X")); obj.transform.Rotate(Vecto
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class ImageDrap : MonoBehaviour,
阅读全文