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