protected override void OnDisable()
 {
     Pointer3DInputModule.RemoveRaycasters(this);
     sortedRaycastResults.Clear();
     breakPoints.Clear();
     //base.OnDisable();
 }
Example #2
0
 protected override void OnDestroy()
 {
     Pointer3DInputModule.RemoveRaycasters(this);
     base.OnDestroy();
 }