- Home /
Pragma or import on first line?
Does it matter if pragma or import is first in Unityscript js? Does the order matter at all?
#pragma strict import System.Collections.Generic;
or
import System.Collections.Generic; #pragma strict
Comment
Answer by tonydemot · Feb 18, 2012 at 11:00 PM
pragma strict any unsafe coding or scrict programming practices so the order shouldn't matter at all when importing things like that you could do it anyway but personally i would keep it at the top :)
Your answer
Follow this Question
Related Questions
Importing Iteration Every Time I Compile 2 Answers
Can i import already compiled code into Unity and then call functions in it? 2 Answers
Multiple usage of import System.Xml; in different scripts, same scene? 1 Answer
Unity plugins 0 Answers
Serialized files over 4.00 GB (4294967295 bytes) cannot be loaded by the player 1 Answer