コード例 #1
0
 public void Load()
 {
     if (DialogEngineRuntime.IsRuntime)
     {
         RetrievedVariable = DialogEngineRuntime.GetCurrentVariablesContainer().FindVariable(VariableName);
         RetrievedVariable.Load(true);
     }
 }
コード例 #2
0
 public void Load()
 {
     if (DialogEngineRuntime.IsRuntime)
     {
         RetrievedVariable = DialogEngineRuntime.GetCurrentVariablesContainer().FindVariable(VariableName);
         if (object.Equals(RetrievedVariable, null))
         {
             Debug.LogError("Unable to retrieve the variable \"" + VariableName + "\". Make sure it is in the list " +
                            "of the variables in the DialogEngineRuntime.");
             return;
         }
         RetrievedVariable.Load(true);
     }
 }