Пример #1
0
 protected override void PostAwake()
 {
     Available = true;
     // notify
     Subjects.NotifyUpdate(Subject.Ball);
 }
Пример #2
0
 void Awake()
 {
     Subjects = GameObject.FindObjectOfType <Subjects>();
     PostAwake();
 }
Пример #3
0
 void Destory()
 {
     // notify
     Subjects.NotifyUpdate(Subject.Stage);
 }
Пример #4
0
 // Start is called before the first frame update
 void Start()
 {
     // notify
     Subjects.NotifyUpdate(Subject.Stage);
 }
 void Start()
 {
     Subjects.Add(Subject.Ball, this);
 }
Пример #6
0
 /// <summary>
 /// The Unity Start() method.
 /// Stage の監視を開始し, Start 時点での状態を通知する.
 /// </summary>
 public void Start()
 {
     Subjects.Add(Subject.Stage, this);
     onStageStateChanged(isStageFound);
 }