Exemplo n.º 1
0
        public void CreateUniqueInstance(uint treeID, string newName, string newDescription = "")
        {
            TreeInfo   oldInfo    = TreeManager.instance.m_trees.m_buffer[treeID].Info;
            UniqueTree uniqueTree = oldInfo.GetImmediateCopy(newName);

            TreeInfos.Add(uniqueTree);
            TreeInstances.Add(treeID, uniqueTree);
        }