This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| #! /bin/sh | |
| project_path=$(pwd)/src/NAME_OF_PROJECT | |
| log_file=$(pwd)/build/unity-mac.log | |
| error_code=0 | |
| echo "Building project for Mac OS." | |
| /Applications/Unity/Unity.app/Contents/MacOS/Unity \ | |
| -batchmode \ |
First you select development build for Android.(Build Settings-> Android -> check Develop Build box)
Here is the guide from Unity doc: https://docs.unity3d.com/Manual/ProfilerWindow.html
Before the 'adb forward' you should check the port(34999) first using: netstat -a -o -n | find "34999"
Kill the process that alreay take the port "34999" using: taskkill /F /PID process_id
adb forward --remove-all
| using UnityEngine; | |
| using UnityEngine.EventSystems; | |
| using UnityEngine.UI; | |
| public class NestedScrollRect : ScrollRect | |
| { | |
| public override void OnInitializePotentialDrag(PointerEventData eventData) | |
| { | |
| for(int i = 0; i < m_parentInitializePotentialDragHandlers.Length; ++i) | |
| { |