Derives from AssetImporter to handle importing of SketchUp files.

Inheritance: ModelImporter
Esempio n. 1
0
 internal override void OnEnable()
 {
     this.m_GenerateBackFace   = base.serializedObject.FindProperty("m_GenerateBackFace");
     this.m_MergeCoplanarFaces = base.serializedObject.FindProperty("m_MergeCoplanarFaces");
     this.m_FileUnit           = base.serializedObject.FindProperty("m_FileUnit");
     this.m_GlobalScale        = base.serializedObject.FindProperty("m_GlobalScale");
     this.m_Latitude           = base.serializedObject.FindProperty("m_Latitude");
     this.m_Longitude          = base.serializedObject.FindProperty("m_Longitude");
     this.m_NorthCorrection    = base.serializedObject.FindProperty("m_NorthCorrection");
     this.m_SelectedNodes      = base.serializedObject.FindProperty("m_SelectedNodes");
     this.m_Target             = (this.target as SketchUpImporter);
     base.OnEnable();
 }
 internal override void OnEnable()
 {
   this.m_GenerateBackFace = this.serializedObject.FindProperty("m_GenerateBackFace");
   this.m_MergeCoplanarFaces = this.serializedObject.FindProperty("m_MergeCoplanarFaces");
   this.m_FileUnit = this.serializedObject.FindProperty("m_FileUnit");
   this.m_GlobalScale = this.serializedObject.FindProperty("m_GlobalScale");
   this.m_Latitude = this.serializedObject.FindProperty("m_Latitude");
   this.m_Longitude = this.serializedObject.FindProperty("m_Longitude");
   this.m_NorthCorrection = this.serializedObject.FindProperty("m_NorthCorrection");
   this.m_SelectedNodes = this.serializedObject.FindProperty("m_SelectedNodes");
   this.m_Target = this.target as SketchUpImporter;
   base.OnEnable();
 }