according to the doc here:
this attribute is supported by unity (without specifying minimum unity version)
I’m currently using Unity 4.6.4f1 and I’m receiving a compiler error saying:
error CS0246: The type or namespace name `RuntimeInitializeOnLoadMethod’ could not be found. Are you missing a using directive or an assembly reference?
(I’m copy pasting the example code)
My guess is this is supported only in unity 5. Anyone know anything about this attribute?
Also, the reason i’m looking for this attribute is trying to hook up a call as the first thing unity does after engine is loaded at runtime. Any thoughts on this question?