public void OnEnable()
        {
            WordAbstractBehaviour arg_22_0 = (WordAbstractBehaviour)base.target;

            this.mSerializedObject = new SerializedWord(base.serializedObject);
            WordEditor.EditorConfigureTarget(arg_22_0, this.mSerializedObject);
        }
 public static void EditorConfigureTarget(WordAbstractBehaviour wb, SerializedWord serializedObject)
 {
     if (wb == null)
     {
         Debug.LogError("WordAbstractBehaviour parameter is null !");
         return;
     }
     if (VuforiaUtilities.GetPrefabType(wb) == PrefabType.Prefab)
     {
         return;
     }
     if (!SceneManager.Instance.SceneInitialized)
     {
         SceneManager.Instance.InitScene();
     }
     using (serializedObject.Edit())
     {
         if (!serializedObject.InitializedInEditor && !EditorApplication.isPlaying)
         {
             serializedObject.Mode         = WordTemplateMode.Template;
             serializedObject.SpecificWord = "Word";
             WordEditor.UpdateMesh(wb);
             serializedObject.InitializedInEditor = true;
         }
     }
 }