Exemple #1
0
    public static void Clear(DataVariable dataVar)
    {
        DataVarUIHandler h = GetHandlerForDataVar(dataVar);

        if (h != null)
        {
            h.Clear();
        }
    }
Exemple #2
0
 public override void Clear()
 {
     //Debug.Log("DataVariable:Clear()");
     base.Clear();
     DataVarUIHandler.Clear(this);
     MinValue    = float.MinValue;
     MaxValue    = float.MaxValue;
     range       = 0f;
     minMaxReady = false;
     label       = "DefaultLabel";
     filename    = "None";
     UIhandler   = null;
 }