Ejemplo n.º 1
0
        public override void Initialize()
        {
            base.Initialize();

            WorldNodes = new NodeList(WorldObjects);
            CreateTools();
            WorldNodes.AddCallback(WorldNodesCallback);
            SetTool(ToolType.Select);

            CreateCommonInterfaces();

            CameraPos = WorldObjects.OfType <StartingNode>().First().Center;

            //  SetSelectedNode(WorldObjects.OfType<Node>().First());
            // EditNode(WorldObjects.OfType<Node>().First());

            _objectDragger = new ObjectDragger();
        }
Ejemplo n.º 2
0
        public override void Initialize()
        {
            base.Initialize();

            WorldNodes = new NodeList(WorldObjects);
            CreateTools();
            WorldNodes.AddCallback(WorldNodesCallback);
            SetTool(ToolType.Select);

            CreateCommonInterfaces();

            CameraPos = WorldObjects.OfType<StartingNode>().First().Center;

            //  SetSelectedNode(WorldObjects.OfType<Node>().First());
            // EditNode(WorldObjects.OfType<Node>().First());

            _objectDragger = new ObjectDragger();
        }