Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Help for short java script

Discussion in 'Scripting' started by sonnolo, Aug 29, 2015.

  1. sonnolo

    sonnolo

    Joined:
    Feb 22, 2015
    Posts:
    26
    Hello i ave try this script because when return to main menu scene start in pause but i think something wrong
    this the script

    #pragma strict

    function OnLevelWasLoaded(){ pauseEnabled == false;

    }
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Single = should be used for assignments.

    And code tags too!