#pragma warning restore 414
 
 
 void Awake( )
 {
    #if !(UNITY_FLASH)
    useGUILayout = false;
    #endif
    ExposedVariables.Awake( );
    ExposedVariables.SetParent( this.gameObject );
    if ( "1.CMR" != uScript_MasterComponent.Version )
    {
       uScriptDebug.Log( "The generated code is not compatible with your current uScript Runtime " + uScript_MasterComponent.Version, uScriptDebug.Type.Error );
       ExposedVariables = null;
       UnityEngine.Debug.Break();
    }
 }
Esempio n. 2
0
   #pragma warning restore 414


    void Awake( )
    {
      #if !(UNITY_FLASH)
        useGUILayout = false;
      #endif
        ExposedVariables.Awake( );
        ExposedVariables.SetParent(this.gameObject);
        if ("1.CMR" != uScript_MasterComponent.Version)
        {
            uScriptDebug.Log("The generated code is not compatible with your current uScript Runtime " + uScript_MasterComponent.Version, uScriptDebug.Type.Error);
            ExposedVariables = null;
            UnityEngine.Debug.Break();
        }
    }