public void OnEnable()
 {
     baker = (ObiParticleBaker) target;
     cache = serializedObject.FindProperty("cache");
     frameSkip = serializedObject.FindProperty("frameSkip");
     fixedBakeFramerate = serializedObject.FindProperty("fixedBakeFramerate");
     interpolate = serializedObject.FindProperty("interpolate");
     loopPlayback = serializedObject.FindProperty("loopPlayback");
     bakeOnAwake = serializedObject.FindProperty("bakeOnAwake");
     playOnAwake = serializedObject.FindProperty("playOnAwake");
 }
 public void OnEnable()
 {
     baker              = (ObiParticleBaker)target;
     cache              = serializedObject.FindProperty("cache");
     frameSkip          = serializedObject.FindProperty("frameSkip");
     fixedBakeFramerate = serializedObject.FindProperty("fixedBakeFramerate");
     interpolate        = serializedObject.FindProperty("interpolate");
     loopPlayback       = serializedObject.FindProperty("loopPlayback");
     bakeOnAwake        = serializedObject.FindProperty("bakeOnAwake");
     playOnAwake        = serializedObject.FindProperty("playOnAwake");
 }