Search Unity

"Fun With Lasers" Trouble

Discussion in 'Community Learning & Teaching' started by TGIGG51, Jun 30, 2015.

  1. TGIGG51

    TGIGG51

    Joined:
    Apr 29, 2015
    Posts:
    2
    I just started messing around with Unity and I've been going through the tutorials to learn how to make games. I've recently ran into a problem where in the "Fun with Lasers" tutorial; I can't get mainTextureOffset to work. This is the line of code I'm using for it, but the rotation isn't happening when I run the scene. I really want to know how this feature works since it looks very cool. I've looked on the internet and couldn't really find anything that helps that much. Thanks in advance - Mike

    mainTextureOffset: new Vector2(0, Time.time);

    P.S. I threw this same post up on the scripting board, but I feel like this board would better serve the type of discussion I'm trying to have.
     
  2. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664