Search Unity

Create Material..

Discussion in 'Scripting' started by robertseadog, Sep 7, 2005.

  1. robertseadog

    robertseadog

    Joined:
    Jul 23, 2005
    Posts:
    374
    How do I use the createMaterial with existing shaders?

    Any examples (couldn't find in docs..)? I need to create a new mat, assign an existing shader and texture, then assign the created material to a rigidbody.. Oh, how do I delete it?
     
unityunity