Git Product home page Git Product logo

zrhythm's Introduction

ZRhythm

這是一個免費開源的音樂遊戲
This project is free to use
你可以在這裡下載並且在你的手機裡面測試
you can download here
https://play.google.com/store/apps/details?id=com.BurningxEmpires.ZRhythm2&hl=zh_HK

需要額外下載 NGUI 插件
NGUI require
https://assetstore.unity.com/packages/tools/gui/ngui-next-gen-ui-2413

alt text

裡面包含了在手機抓取圖片或是音訊檔案、還有瀏覽資料夾的功能,你可以在你的專案裡面無償使用這些功能

AndroidFilePicker.PickFolder(callback);

AndroidFilePicker.PickFile(callback);

AndroidFilePicker.PickAudio(callback);

AndroidFilePicker.PickImage(callback);

裡面還包含了呼叫安卓平台一些常見的原生功能:

	public class AlertDialogBox{
		public AlertDialogBox(bool useTheme = false){}

		public AlertDialogBox(Action<int> onCallback,bool useTheme = false){}

		public AlertDialogBox(string title,string text,Action<int> onCallback,bool useTheme = false){}

		public void setCallback(Action<int> callback){}

		public void setTitle(string title){}

		public void setMessage(string message){}

		public void setButton(BUTTON button,string text){}

		public void setButton(int button,string text){}

		public void BreakLine(){}

		public void MakeItScroll(){}

		public void MakeItList(){}

		public AndroidJavaObject getLayout( ){}

		public void setLayoutPadding(int left,int right,int top,int bottom){}

		public AndroidJavaObject addInputText(string text){}

		public AndroidJavaObject addToggleButton(string text,bool check){}

		public AndroidJavaObject addCheckBox(string text,bool check){}

		public AndroidJavaObject addTextView(string text){}

		public AndroidJavaObject setInputText(string text){}

		public AndroidJavaObject setToggleButton(string text,bool enable){}
		
		public bool getToggleEnable(int index){}

		public int getButtonNeutral(){}

		public int getButtonPositive(){}

		public void Cancel(){}

		public void Show(){}
	}
	public static class AndroidTool{
		//https://developer.android.com/reference/android/R.style.html#Theme_Material
		public const int Theme_Light = 16973836;
		public const int Theme_Material = 16974372;
		public const int Theme_Holo_Light = 16973934;

		public static void MakeToast(string message){}

		public static void SetTheme(){}

		public static void SetTheme(int id){}
	}

技術提供:

https://stackoverflow.com/questions/33295300/how-to-get-absolute-path-in-android-for-file http://givemepass.blogspot.tw/2016/09/imagepickercreatechooser.html https://stackoverflow.com/questions/29713587/howto-get-the-real-path-with-action-open-document-tree-intent-lollipop-api-21

預覽圖片

alt text alt text alt text

zrhythm's People

Contributors

burningxempires avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.