Skip to content

Instantly share code, notes, and snippets.

View gemfile0's full-sized avatar
🏠
Working from home

박기용 gemfile0

🏠
Working from home
  • Home
  • Suwon, Korea
  • 19:09 (UTC +09:00)
View GitHub Profile
@Josef212
Josef212 / NesteScrollRect.cs
Last active July 12, 2024 09:38
A nested ScrollRect for unity
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)
{
@androidzhibinw
androidzhibinw / Unity-Profiler-Android.md
Last active November 8, 2023 01:43
Unity profiler for Android
  1. First you select development build for Android.(Build Settings-> Android -> check Develop Build box)

  2. Here is the guide from Unity doc: https://docs.unity3d.com/Manual/ProfilerWindow.html

  3. Before the 'adb forward' you should check the port(34999) first using: netstat -a -o -n | find "34999"

  4. Kill the process that alreay take the port "34999" using: taskkill /F /PID process_id

  5. adb forward --remove-all

@lordcodes
lordcodes / build-unity-project.sh
Created November 21, 2016 21:48
Script to build your Unity project, written for use on Travis.
#! /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 \
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active July 17, 2024 14:20
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: