static void OnPlayModeStateChange(UnityEditor.PlayModeStateChange state)
 {
     if (state == UnityEditor.PlayModeStateChange.EnteredPlayMode)
     {
         if (_instance != null)
         {
             StateUpdater.CreateGameObject(_instance.Update, UpdaterGOName);
         }
     }
 }
 public static SamplerUpdater GetInstance()
 {
     if (_instance == null)
     {
         _instance = new SamplerUpdater();
         #if !UNITY_EDITOR
         StateUpdater.CreateGameObject(_instance.Update, UpdaterGOName);
         #endif
     }
     return(_instance);
 }