- connect to pc (using adapter)
- Done
- You can test it with these apps
- 3d scan: https://www.microsoft.com/en-us/store/p/3d-scan/9nblggh68pmc
- 3d builder: https://www.microsoft.com/en-us/store/p/3d-builder/9wzdncrfj3t6
This file contains hidden or 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
| PROBLEM: | |
| Parts that are behind the mesh are shown on top of the front face.. (they should be invisible and behind, since alpha=1) | |
| SOLUTION: | |
| instead of alpha keyword, use keepalpha and add blending mode | |
| http://answers.unity3d.com/answers/1154646/view.html |
This file contains hidden or 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
| // rotate target transform from Quaternion A to Quaternion B, within duration | |
| // to call | |
| StartCoroutine(RotateLerp(transform, Quaternion.Euler(0,90,0))); | |
| IEnumerator RotateLerp(Transform target, Quaternion endRot) | |
| { | |
| float duration = 1.5f; | |
| var startRot = target.rotation; // current rotation |
This file contains hidden or 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 UnityEngine.UI; | |
| // attach this to UI Text component | |
| // it shows current version number from Android Player settings | |
| public class GetVersion : MonoBehaviour | |
| { | |
| void Awake() | |
| { |
This file contains hidden or 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
| // install git if want to clone with it | |
| sudo yum install git | |
| git clone https://github.com/madirish/kojoney2.git | |
| // use installer | |
| cd kojoney2 | |
| chmod +x installer.sh | |
| ./installer.sh | |
| // change ssh port |
This file contains hidden or 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
| - Select texture file in project window | |
| - Right click Find References in scene | |
| - Select the gameobject it refers | |
| - Set inspector to debug mode | |
| - See material for Saved Properties/TexEnvs/Element0, most likely its there |
This file contains hidden or 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
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\Unity] | |
| "Icon"="\"D:\\Program Files\\Unity55Beta\\Editor\\Unity.exe\"" | |
| @="Open with Unity 5.5" | |
| [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\Unity\command] | |
| @="\"D:\\Program Files\\Unity55Beta\\Editor\\Unity.exe\" -projectPath \"%V\"" | |
This file contains hidden or 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
| NEW | |
| If drag & drop to itunes doesnt work then | |
| - Right click over ipa file | |
| - Open in iTunes | |
| - Then it appears on the apps list (sync to install) | |
| OLD | |
| - Click ... and select Apps (shows all available apps on this machine, not the ipad) | |
| - Remove your old app from the list if its there (right click, delete) | |
| - Then drag and drop the .ipa file here (cannot drag and drop it directly to the ipad) |
This file contains hidden or 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
| - Download openssl binary : https://indy.fulgan.com/SSL/ (i used https://indy.fulgan.com/SSL/openssl-0.9.8r-x64_86-win64-rev2.zip ) | |
| - Unzip | |
| - Go to that folder with command prompt *Run command prompt as Administrator! | |
| cmd> openssl genrsa -out mykey.key 2048 | |
| - Download missing openssl.cfg file from this page https://docs.oracle.com/cd/E19509-01/820-3503/ggeyz/index.html and place it to the same folder with openssl (with filename openssl.cfg) | |
| cmd> set OPENSSL_CONF=c:\YourOpensslFolder\openssl.cnf | |
| cmd> openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest -subj "/emailAddress=yourAddress@example.com, CN=BenchMan, C=US" | |
| - Now you can upload the generated "CertificateSigningRequest.certSigningRequest" file into Apple Developer site (when creating new Production Certificate) | |
| references: |
This file contains hidden or 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 System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| //using System.Reflection; | |
| public class UndoListener : EditorWindow | |
| { | |
| [MenuItem("Window/Listener")] | |
| static void Init() |