Example #1
0
 static void UpdateValue()
 {
     if (_singleton == null)
     {
         _singleton           = ScriptableObject.CreateInstance <ChiselMeshLookup>();
         _singleton.hideFlags = HideFlags.HideAndDontSave;
     }
 }
Example #2
0
 internal void OnDisable()
 {
     data.Dispose();
     _singleton = null;
 }