Esempio n. 1
0
 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();
     }
 }
 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();
    }
 }