Beispiel #1
0
        public override void OnInspectorGUI()
        {
            RATCalibrationData data = (RATCalibrationData)target;

            DrawDefaultInspector();

            if (data.calibration != null && GUILayout.Button("Reload Calibration Data"))
            {
                data.LoadAsset();
            }
            EditorGUILayout.LabelField("Loaded: " + data.IsLoaded);
        }
Beispiel #2
0
 void Start()
 {
     calibrationData = GetComponent <RATCalibrationData>();
 }