protected override void Start() { base.Start(); dbRef = Singleton.Instance <DBReference>(); fieldReflection = Singleton.Instance <FieldReflection>(); OpenTaskBtn.IsOn = false; }
private void Awake() { dbReference = Singleton.Instance <DBReference>(); fieldReflection = Singleton.Instance <FieldReflection>(); listenersController = Singleton.Instance <EventListenersController>(); listenersController.AddEmiter("S_UPGRADE", S_UPGRADE); LevelUpBtn.OnClickEvents += OnLevelBtn; }
protected override void Start() { base.Start(); dBReference = Singleton.Instance <DBReference>(); fieldReflection = Singleton.Instance <FieldReflection>(); listenersController = Singleton.Instance <EventListenersController>(); listenersController.AddEmiter("S_TRAINING", S_TRAINING); }
protected override void Start() { base.Start(); fieldReflection = Singleton.Instance <FieldReflection>(); }
public FieldAccessor(string fieldName) { Get = FieldReflection.CreateGetDelegate <TSubject, TField>(fieldName); Set = FieldReflection.CreateSetDelegate <TSubject, TField>(fieldName); }