private bool CheckTypes() { if (VariableManager.GetTypeOf(var.GetName()) == VariableManager.Type.Int) { return((val.GetType() == VariableManager.Type.Int) && (val2.GetType() == VariableManager.Type.Int)); } else { return(true); } }
public string GetName() { return(lastToggle ? vvm.GetName() : TMPinput.text); }