Search Unity

Bug? Dynamic values not showing On Value Changed () drop down menu

Discussion in 'Editor & General Support' started by Pixitales, Nov 23, 2019.

  1. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    173
    The slider UI was working the other day, today it isnt.... No errors, and restarted Unity. I recently updated to unity 2019.2.6f1, I tested this on other versions and it works but not on my current project. Unity bug?

    Code (CSharp):
    1.  
    2. public class SoundManager : MonoBehaviour
    3. {
    4.     private static SoundManager instance;
    5.     public static SoundManager MyInstance
    6.     {
    7.         get
    8.         {
    9.             if (instance == null)
    10.             {
    11.                 return FindObjectOfType<SoundManager>();
    12.             }
    13.  
    14.             return instance;
    15.         }
    16.     }
    17.  
    18. public void Test(float value)
    19.     {
    20.         Debug.Log(value);
    21.     }
    22. }

     
    Last edited: Nov 23, 2019
  2. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    173
    Sorry wrong section. I thought this was for Ui
     
  3. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    489
    No worries. Moving thread.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,679
unityunity