public void OnEnable() { primitiveTarget = (BPrimitive)target; versionStyle.fontSize = 10; meshSettings = serializedObject.FindProperty("meshSettings"); }