public void valueChange(System.Single v) { if (val == null) { val = transform.Find("ValueText").GetComponent <Text> (); } val.text = v.ToString(); }
public void HandleSliderChanged(System.Single value) { if (floatValue == null) { return; } DebugMenu.instance.OverrideDefaultData(); valueLabel.text = value.ToString(); floatValue.UpdateValue(value); //UnityEngine.Debug.Log(titleLabel.text + " changed: " + value); }
public static void LogMe(this System.Single f) { System.Console.WriteLine(f.ToString()); }
/// <summary> /// Converts the numeric value of this instance to its equivalent string representation. /// </summary> /// <returns>The string representation of the value of this instance.</returns> public override string ToString() => _value.ToString();