예제 #1
0
 protected override void OnEnable()
 {
     base.OnEnable();
     _scrollview      = (VRScrollRect)target;
     _setColliderAuto = serializedObject.FindProperty("SetColliderAuto");
     _direction       = serializedObject.FindProperty("Direction");
 }
예제 #2
0
 protected override void OnEnable()
 {
     base.OnEnable();
     vrScrollRect = (VRScrollRect)target;
 }