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. Dismiss Notice

Disable gameobject after OnTriggerEnter?

Discussion in 'Scripting' started by IntegraC, Feb 7, 2015.

  1. IntegraC

    IntegraC

    Joined:
    Jan 20, 2015
    Posts:
    16
    Fixed it myself.
     
    Last edited: Feb 8, 2015
  2. Ziron999

    Ziron999

    Joined:
    Jan 22, 2014
    Posts:
    278
    create a public boolean?
     
  3. IntegraC

    IntegraC

    Joined:
    Jan 20, 2015
    Posts:
    16
    Appreciate the stock answer, but that didn't fix anything.


    Edit. Fixed it myself.
     
    Last edited: Feb 8, 2015