注: SUS は今や Sliding Universal Score の略であり、 SeaUrchin Score ではありません。
- テキストデータであり、全て printable character で構成される。
- 拡張子:
*.sus - EOL: CRLF もしくは LF
- エンコード: 常に UTF-8
#で始まる行がデータとして意味を持ち、それ以外の行はコメントとして無視される。- 文字列データを指定する部分は
" ~ "でクォートする。
如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.
| using UnityEngine; | |
| using System.Collections; | |
| public static class Vibration | |
| { | |
| #if UNITY_ANDROID && !UNITY_EDITOR | |
| public static AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); | |
| public static AndroidJavaObject currentActivity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity"); | |
| public static AndroidJavaObject vibrator = currentActivity.Call<AndroidJavaObject>("getSystemService", "vibrator"); |