コード例 #1
0
 private new void Start()
 {
     BeatInformer.GetInstance().RegisterReceiver(this);
     TempoStartInformer.GetInstance().RegisterReceiver(this);
     desiredPosition = new Vector3();
     rb = GetComponent <Rigidbody>();
 }
コード例 #2
0
 public static BeatInformer GetInstance()
 {
     if (instance == null)
     {
         instance = new BeatInformer();
     }
     return(instance);
 }
コード例 #3
0
ファイル: Tempo.cs プロジェクト: MaxwellDexter/RhythmTool
 private void Start()
 {
     informer = BeatInformer.GetInstance();
 }
コード例 #4
0
 protected void Start()
 {
     // a licky bom bom dere
     BeatInformer.GetInstance().RegisterReceiver(this);
 }