Esempio n. 1
0
    public void main(Elyot3D elyot3D)
    {
        this._elyot3D = elyot3D;

        _loadObj = new LoadObj();
        _loadObj.ReadInfoObj(Application.dataPath + "/african_head.obj");
        MainFunc();
    }
Esempio n. 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();
    }