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