ジャンル:リズム 概要:アイドルたる者、 街中でファンから撮影を求められれば 最高の顔とポーズで決めなければならない。
- アイドル(プレイヤー)に向かってファンが押し寄せてくる。
- ファンが近づいてきたらタイミングを合わせてボタンを押して、アイドルポーズを決めろ!
- アイドルポーズはプリティ・セクシー・クール・パッションの4種類。ファンが求めているポーズを決めると得点。ノーミスで決め続けるとさらにポイントアップ
- 三回間違えるとゲームオーバーのスコアアタックゲーム。
using UnityEditor; | |
using System.Linq; | |
using UniRx; | |
[CustomEditor(typeof(ObserveTransition))] | |
public class ObserveTransitionInspector : Editor { | |
public override void OnInspectorGUI() | |
{ | |
serializedObject.Update(); | |
var transition = serializedObject.targetObject as ObserveTransition; |
Shader "Custom/Mosaic" { | |
Properties { | |
_MainTex ("Texture", 2D) = "white" {} | |
_MosaicScale ("Mosaic", Range(0.01, 10)) = 1 | |
} | |
SubShader { | |
Pass { | |
GLSLPROGRAM | |
#ifdef VERTEX | |
varying vec2 vUv; |
using UnityEngine; | |
using System.Collections; | |
public class MultiCamera : MonoBehaviour | |
{ | |
public Camera[] cameras; | |
public KeyCode switchKey; | |
private int current = 0; |
test |
using UnityEngine; | |
using System.Collections; | |
using UniRx; | |
public class SkillInput : MonoBehaviour { | |
public enum SkillType { | |
Normal, | |
Charge, | |
None |
public class Charcter : Photon.Monobehaviour { | |
int life = 5; | |
public void Hit() | |
{ | |
photonview.RPC("Damage"); | |
} | |
[RPC] | |
void Damage() |
func makeIncrementer() -> (Int -> String, num: Int, Int -> Int) { | |
func addOne(number: Int) -> String { | |
return String(1 + number) | |
} | |
func addOneInt(number: Int) -> Int{ | |
return number + 1 | |
} | |
return (addOne, 5, addOneInt) | |
} | |
var increment = makeIncrementer() |
public class Polling : MonoBehaviour { | |
public void Begin(float interval, int limit, System.Func<bool> callback) | |
{ | |
StartCoroutine(DoPolling(interval, limit, callback)); | |
} | |
IEnumerator DoPolling(float interval, int limit, System.Func<bool> callback) | |
{ | |
for(int count = 0; count < limit; count++) | |
{ |
using UnityEngine; | |
using System; | |
using System.Collections; | |
/// <summary> | |
/// 全てのTimerクラスをupdateさせる | |
/// </summary> | |
public class TimerExecutor : MonoBehaviour { | |
public event Action timeUpdate; | |