-
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
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 System.Collections; | |
| using System.Collections.Generic; | |
| public class BezierCurveScript : MonoBehaviour { | |
| public class BezierPath | |
| { | |
| public List<Vector3> pathPoints; | |
| private int segments; |
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
| Shader "UI/Dissolve" | |
| { | |
| Properties | |
| { | |
| [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
| _Color ("Tint", Color) = (1,1,1,1) | |
| _StencilComp ("Stencil Comparison", Float) = 8 | |
| _Stencil ("Stencil ID", Float) = 0 | |
| _StencilOp ("Stencil Operation", Float) = 0 |
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 UnityEngine; | |
| public class FpsController : MonoBehaviour { | |
| public float mouseSensitivityX = 1.0f; | |
| public float mouseSensitivityY = 1.0f; | |
| public float walkSpeed = 10.0f; |
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
| Shader "Custom/StencilMask" { | |
| Properties { | |
| _StencilMask("Stencil mask", Int) = 0 | |
| } | |
| SubShader { | |
| Tags { | |
| "RenderType" = "Opaque" | |
| "Queue" = "Geometry-100" | |
| } |
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
| Shader "Custom/Stencilled" { | |
| Properties { | |
| _StencilMask("Stencil mask", Int) = 0 | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| _Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
| _Metallic ("Metallic", Range(0,1)) = 0.0 | |
| } | |
| SubShader { | |
| Tags { "RenderType"="Opaque" } |
So, it has been an interesting journey, but time to remove git-lfs. Here follows a summary of the approach I used to safely remove git-lfs,
- commit & push everything
- create a branch, something like fix/remove-lfs
- remove hooks
git lfs uninstall - remove lfs stuff from .gitattributes (open file, delete content - don't delete the file!)
- list all lfs files,
git lfs ls-files - run
git rm --cachedfor each file- if your list is big, copy the contents into a file.txt
- make sure you remove the number and asterik on each line, you only want the paths to the files