iTorn
  • Home
  • Gists
  • Mongo Note
Subscribe
Tagged

Unity

A collection of 3 posts

Unity : Adding rate button in my game
Unity

Unity : Adding rate button in my game

void OnRateButtonClick(){ #if UNITY_ANDROID Application.OpenURL("market://details?id=YOUR_APP_ID"); #elif UNITY_IPHONE Application.OpenURL("itms-apps://itunes.apple.com/app/idYOUR_APP_ID"); #endif }

  • Onyx
Onyx 25 เม.ย. 2016 • 1 min read
Unity3d ScrollView And Drag
Unity

Unity3d ScrollView And Drag

Ref: http://answers.unity3d.com/questions/17347/any-examples-of-an-iphone-like-scrollview-using-un.html   using UnityEngine; using System.Collections; public class scrollView : MonoBehaviour { Vector2 scrollPosition; Touch touch; // The string to display inside the scrollview. 2 buttons below add & clear this string. string longString = "This is a long-ish string"; void OnGUI () { scrollPosition = GUI.BeginScrollView(

  • Onyx
Onyx 11 พ.ย. 2014 • 1 min read
Mac OSX

Unity Asset Store Download Package Path

Mac พิมพ์ “open ~/Library/Unity/Asset Store” ใน terminal Window เข้าไปตามนี้เลย “C:UsersaccountNameAppDataRoamingUnityAsset Store”  แต่ใน Window อันนี้ไม่แน่ใจเพราะ ไม่ได้ใช้ win นะ  

  • Onyx
Onyx 28 ส.ค. 2014 • 1 min read
iTorn © 2022
Powered by Ghost