private void UpdateBranchKeys(BranchOnString branch) { _branchKeys.Clear(); foreach (var key in branch.Instructions.Keys) { _branchKeys.Add(key); } AssetDatabase.ImportAsset(AssetDatabase.GetAssetPath(branch)); }
private void AddBranch(BranchOnString branch, string key) { branch.Instructions.Add(key, null); UpdateBranchKeys(branch); }