Skip to content

Commit dd2cd92

Browse files
authored
Fixed incorrect OnMouseX descriptions
1 parent effd1e7 commit dd2cd92

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

snippets/snippets.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -614,11 +614,11 @@
614614
},
615615
"MonoBehaviour OnMouseDown": {
616616
"prefix": "OnMouseDown",
617-
"description": "OnMouseDown is called when the user has pressed the mouse button while over the GUIElement or Collider.",
617+
"description": "OnMouseDown is called when the user has pressed the mouse button while over the Collider.",
618618
"body": [
619619
"/// <summary>",
620620
"/// OnMouseDown is called when the user has pressed the mouse button while",
621-
"/// over the GUIElement or Collider.",
621+
"/// over the Collider.",
622622
"/// </summary>",
623623
"private void OnMouseDown()",
624624
"{",
@@ -628,10 +628,10 @@
628628
},
629629
"MonoBehaviour OnMouseDrag": {
630630
"prefix": "OnMouseDrag",
631-
"description": "OnMouseDrag is called when the user has clicked on a GUIElement or Collider and is still holding down the mouse.",
631+
"description": "OnMouseDrag is called when the user has clicked on a Collider and is still holding down the mouse.",
632632
"body": [
633633
"/// <summary>",
634-
"/// OnMouseDrag is called when the user has clicked on a GUIElement or Collider",
634+
"/// OnMouseDrag is called when the user has clicked on a Collider",
635635
"/// and is still holding down the mouse.",
636636
"/// </summary>",
637637
"private void OnMouseDrag()",
@@ -642,10 +642,10 @@
642642
},
643643
"MonoBehaviour OnMouseEnter": {
644644
"prefix": "OnMouseEnter",
645-
"description": "Called when the mouse enters the GUIElement or Collider.",
645+
"description": "Called when the mouse enters the Collider.",
646646
"body": [
647647
"/// <summary>",
648-
"/// Called when the mouse enters the GUIElement or Collider.",
648+
"/// Called when the mouse enters the Collider.",
649649
"/// </summary>",
650650
"private void OnMouseEnter()",
651651
"{",
@@ -655,10 +655,10 @@
655655
},
656656
"MonoBehaviour OnMouseExit": {
657657
"prefix": "OnMouseExit",
658-
"description": "Called when the mouse is not any longer over the GUIElement or Collider.",
658+
"description": "Called when the mouse is not any longer over the Collider.",
659659
"body": [
660660
"/// <summary>",
661-
"/// Called when the mouse is not any longer over the GUIElement or Collider.",
661+
"/// Called when the mouse is not any longer over the Collider.",
662662
"/// </summary>",
663663
"private void OnMouseExit()",
664664
"{",
@@ -668,10 +668,10 @@
668668
},
669669
"MonoBehaviour OnMouseOver": {
670670
"prefix": "OnMouseOver",
671-
"description": "Called every frame while the mouse is over the GUIElement or Collider.",
671+
"description": "Called every frame while the mouse is over the Collider.",
672672
"body": [
673673
"/// <summary>",
674-
"/// Called every frame while the mouse is over the GUIElement or Collider.",
674+
"/// Called every frame while the mouse is over the Collider.",
675675
"/// </summary>",
676676
"private void OnMouseOver()",
677677
"{",
@@ -681,10 +681,10 @@
681681
},
682682
"MonoBehaviour OnMouseUp": {
683683
"prefix": "OnMouseUp",
684-
"description": "OnMouseUp is called when the user has released the mouse button.",
684+
"description": "OnMouseUp is called when the user has released the mouse button over the Collider.",
685685
"body": [
686686
"/// <summary>",
687-
"/// OnMouseUp is called when the user has released the mouse button.",
687+
"/// OnMouseUp is called when the user has released the mouse button over the Collider.",
688688
"/// </summary>",
689689
"private void OnMouseUp()",
690690
"{",
@@ -694,11 +694,11 @@
694694
},
695695
"MonoBehaviour OnMouseUpAsButton": {
696696
"prefix": "OnMouseUpAsButton",
697-
"description": "OnMouseUpAsButton is only called when the mouse is released over the same GUIElement or Collider as it was pressed.",
697+
"description": "OnMouseUpAsButton is only called when the mouse is released over the same Collider as it was pressed.",
698698
"body": [
699699
"/// <summary>",
700700
"/// OnMouseUpAsButton is only called when the mouse is released over",
701-
"/// the same GUIElement or Collider as it was pressed.",
701+
"/// the same Collider as it was pressed.",
702702
"/// </summary>",
703703
"private void OnMouseUpAsButton()",
704704
"{",

0 commit comments

Comments
 (0)