Esempio n. 1
0
 void Start()
 {
     LaunchDarklyClientBehavior.Instance.RegisterFeatureFlagChangedCallback(flagName, LaunchDarklyClientHelpers.Vector3ToLdValue(flagDefault), onFeatureFlagChanged, true);
 }
 private void Awake()
 {
     ldFlagDefault          = LaunchDarklyClientHelpers.ColorToLdValue(flagDefault);
     InitialBackgroundColor = Camera.main.backgroundColor;
     IntendedBackgrondColor = InitialBackgroundColor;
 }
Esempio n. 3
0
 private void onFeatureFlagChanged(LdValue flagValue)
 {
     rotationAxis = LaunchDarklyClientHelpers.LdValueToVector3(flagValue);
 }
 private void SetBackgroundColor(LdValue newColor)
 {
     IntendedBackgrondColor = LaunchDarklyClientHelpers.LdValueToColor(newColor);
 }