コード例 #1
0
    private void StartEditor()
    {
        ModelInfo info = new ModelInfo();

        info.ID = 1;

        CubeModelData cube = new CubeModelData();

        cube.ID = 0;

        info.Cubes.Add(cube);

        CubeModel model = CubeModel.Create(info);

        if (model != null)
        {
            model.transform.parent = Container;
            model.Editable         = true;

            InputMgr.Instance.Status = GameStatus.Editor;
            InputMgr.Instance.Target = model;
        }
    }