Ejemplo n.º 1
0
    void Start()
    {
        Instance             = this;
        camera.enabled       = true;
        camera.targetTexture = Texture = new RenderTexture(Screen.width, Screen.height, 0, RenderTextureFormat.ARGB32);

        parent = transform.parent;
    }
Ejemplo n.º 2
0
    void Start()
    {
        Instance = this;
        camera.enabled = true;
        camera.targetTexture = Texture = new RenderTexture(Screen.width, Screen.height, 0, RenderTextureFormat.ARGB32);

        parent = transform.parent;
    }