コード例 #1
0
   #pragma warning restore 414


    void Awake( )
    {
      #if !(UNITY_FLASH)
        useGUILayout = false;
      #endif
        ExposedVariables.Awake( );
        ExposedVariables.SetParent(this.gameObject);
        if ("1.PLE" != 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();
        }
    }