Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

line renderer not working properly

Discussion in 'Scripting' started by lifejug, Mar 11, 2015.

  1. lifejug

    lifejug

    Joined:
    Feb 5, 2015
    Posts:
    1
    I have an enemy Attack script that does long and short range attacks. I tried to implement a laser firing and so far the code ignores all of my enabled = true or false calls and just does what it wants. can someone tell me what the issue is? (There is no other script that calls the line renderer function and renderer is false by default.
     

    Attached Files:

  2. gamer_boy_81

    gamer_boy_81

    Joined:
    Jun 13, 2014
    Posts:
    169
    You haven't detailed the problem. What do you mean by "and just does what it wants" ?
    Please tell me about the problem you're facing.