public string[] getNamesOfVariablesByType(SharedVariable.SharedType type) { List <string> result = new List <string>(); foreach (KeyValuePair <string, SharedVariable> value in variables) { if (value.Value.type == type) { result.Add(value.Key); } } return(result.ToArray()); }
public EditorSharedVariable(string name_, SharedVariable.SharedType type_) { name = name_; type = type_; }
public EditorSharedVariable() { name = ""; type = SharedVariable.SharedType.GAMEOBJECT; }