示例#1
0
        private void UpdateBranchKeys(BranchOnString branch)
        {
            _branchKeys.Clear();
            foreach (var key in branch.Instructions.Keys)
            {
                _branchKeys.Add(key);
            }

            AssetDatabase.ImportAsset(AssetDatabase.GetAssetPath(branch));
        }
示例#2
0
 private void AddBranch(BranchOnString branch, string key)
 {
     branch.Instructions.Add(key, null);
     UpdateBranchKeys(branch);
 }