Esempio n. 1
0
 void OnEnable()
 {
     mainScript                            = FindObjectOfType <PikkartMain> ();
     cloudMarkerObject                     = (CloudMarkerObject)target;
     cloudMarkerIdSP                       = serializedObject.FindProperty("cloudMarkerId");
     cloudMarkerARLogoPatternSP            = serializedObject.FindProperty("cloudMarkerARLogoPattern");
     OnCloudMarkerFoundEventsSP            = serializedObject.FindProperty("OnCloudMarkerFoundEvents");
     OnCloudMarkerLostEventsSP             = serializedObject.FindProperty("OnCloudMarkerLostEvents");
     OnCloudMarkerPatternCodeFoundEventsSP = serializedObject.FindProperty("OnCloudMarkerPatternCodeFoundEvents");
 }
 void OnEnable()
 {
     mainScript = (PikkartMain)target;
     recognitionStorageOptionSP = serializedObject.FindProperty("recognitionStorage");
     recognitionModeOptionSP    = serializedObject.FindProperty("recognitionMode");
     databasesSP                 = serializedObject.FindProperty("databases");
     markerListSP                = serializedObject.FindProperty("markerList");
     discoverListSP              = serializedObject.FindProperty("discoverList");
     useWebcamOnEditorSP         = serializedObject.FindProperty("useWebcamOnEditor");
     isSeeThroughDeviceSP        = serializedObject.FindProperty("isSeeThroughDevice");
     seeThroughFramePredictionSP = serializedObject.FindProperty("seeThroughFramePrediction");
 }