Esempio n. 1
0
 public void ForceFeature(Feature feature)
 {
     //UnforceAll();
     //Debug.LogFormat("[FeatureManager] Forcing {0} active", feature.featureName);
     isForced = true;
     feature.Activate();
     //feature.GetComponentInChildren<ContentManager>().StateChange(PlayState.Playing);
     feature.FeaturePlayState = AR.PlayState.Playing;
 }
Esempio n. 2
0
 private void ActivateFeature(Feature feature, bool forced = false)
 {
     //feature.Unforce();
     //if (forced)
     //{
     //    feature.ForcedActive = true;
     //}
     //else
     //{
     feature.Activate();
     //}
     _activeFeatures.Add(feature);
 }