protected override void OnEnable() { base.OnEnable(); _scrollview = (VRScrollRect)target; _setColliderAuto = serializedObject.FindProperty("SetColliderAuto"); _direction = serializedObject.FindProperty("Direction"); }
protected override void OnEnable() { base.OnEnable(); vrScrollRect = (VRScrollRect)target; }