Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

changing/adding new texture2D for painting textures

Discussion in 'Scripting' started by Krodil, Jul 3, 2012.

  1. Krodil

    Krodil

    Joined:
    Jun 30, 2010
    Posts:
    141
    hey guys,
    I am using UnityPaint as foundation for a drawing app.
    It uses a texture2D to paint on, but I want to..via a button.. load/create a new texture and add that to the variable in the script.
    Thus giving me a new canvas and another drawing (deleting/wiping pixels is a secondary option but would prefer help on makking a new 'canvas').
    Hope it makes sense,
    Krodil
     
  2. oliver123123

    oliver123123

    Joined:
    Mar 1, 2013
    Posts:
    1
    hello.Did you solve the problem?I encountered the same problem now