Exemple #1
0
        protected virtual void Awake()
        {
            flag.Bootup();
            cachedFlag = flag.Value;

            Repository.Register(Flag, Value);
        }
Exemple #2
0
 void Awake()
 {
     flag.Bootup();
     Events.Register(flag.Value, Callback);
 }
Exemple #3
0
 void Awake()
 {
     flag.Bootup();
     Events.Subscribe(flag.Value, Callback);
 }