コード例 #1
0
ファイル: Main.cs プロジェクト: ElyotChou/UnityBaseSoftRender
    public void main(Elyot3D elyot3D)
    {
        this._elyot3D = elyot3D;

        _loadObj = new LoadObj();
        _loadObj.ReadInfoObj(Application.dataPath + "/african_head.obj");
        MainFunc();
    }
コード例 #2
0
    void Awake()
    {
        _texture = new Texture2D(width, height);
        window.GetComponent <RectTransform>().sizeDelta = new Vector2(width, height);
        window.texture = _texture;

        _elyot3D = new Elyot3D();
        main     = new Main();
    }