示例#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
 private void Start()
 {
     informer = BeatInformer.GetInstance();
 }
示例#4
0
 protected void Start()
 {
     // a licky bom bom dere
     BeatInformer.GetInstance().RegisterReceiver(this);
 }