Beispiel #1
0
        public void ExpandNode(Node _node)
        {
            RepositoryController.Instance.isAction = false;
            NavigatorNode selected   = _sceneNodes.Find(x => !x.nodeData.Equals(null) && x.nodeData.Equals(_node));
            Action        postAction = () =>
            {
                NavigatorNode next = _sceneNodes.Find(x => x.Equals(selected.parent));
                RepositoryController.Instance.isAction = true;
                next.Select();
            };

            StartCoroutine(ExpandNode(postAction));
        }