Unity 3D Question

Hey every one, i recently discoverd inity 3d on youtube
I tried downloading it and my internet keeps dissconnecting
In other words i cant download it,

I was wondering if anyone who has the install files for the latest unity3d (or anyother version.)
Could write them to a disk for me and post it to me

If you wanna helP you can email me louisschprs [at] gmail [dot] com

Comments

  • Hi there and welcome,

    where in ZA do you live? If it is close enough to me I could get the installer to you on a DVD (otherwise I can just post it).

    If you are in JHB I could probably even drop it off tomorrow.
  • If you in capetown you can come to the meet and there's a dozen guys who can help. I will have it on my flash
  • I'm creating a card game prototype and I'm using Quads to show the cards. There can be up to 30 cards visible, each unique. Will I need a material for each card since they all have a different texture?
  • edited
    @Fengol
    You can do various things in that situation :
    1. You could create a script with a public texture variable that you assign the image you want to. Then in the Start function you just set the materials textures to that texture
    public Texture2D myTex;
    
    void Start()
    {
      renderer.material.texture = myTex;
    }


    2. Use sprites
    3. You can dynamically create a new material at runtime for each quad if you so wish.

    Personally I would just use unity's new sprite system.

    Hope that helped.
  • I should maybe also note that there is a sharedMaterial and a material in unity. At runtime if you want to change the actual material for all sprites you should use renderer.sharedMaterial and if you want to change the material the script is attached to you can do renderer.material
  • And once you've used renderer.material (as @Kobusvdwalt9 said), you'll notice that the inspector gets a "(instance)" after the shader name, indicating that that is a single instance.
    shaderinstance.JPG
    395 x 56 - 11K
  • I think the easiest way (for me anyhow) is kobus's first method if one material and just switch the texture as needed.
  • edited
    [deleted[
    Thanked by 1roguecode
  • @bischonator I would also do that but we dont know what he is building. Maybe its a card game that requires 3d physics or something.
  • @Fengol: There are a few Asset Store Card Game/TCG kits available that might save you a ton of time/money with the building of technology and get you right into making the card game logic. Have you checked any of them out?

    https://www.assetstore.unity3d.com/en/#!/content/18184
    https://www.assetstore.unity3d.com/en/#!/content/6193
    https://www.assetstore.unity3d.com/en/#!/content/16967
Sign In or Register to comment.