@@ -17,7 +17,7 @@ class PracticeModManager : MonoBehaviour
1717 public Camera playerCamera ;
1818 public ResizeScript resizeScript ;
1919 public Text playerText ;
20- public Text grabbedObejctText ;
20+ public Text grabbedObjectText ;
2121 public PauseMenu pauseMenu ;
2222
2323 Vector3 storedPosition ;
@@ -122,7 +122,7 @@ void Update()
122122
123123 if ( GameObject . Find ( "GrabbedObjectText" ) == null && GameObject . Find ( "UI_PAUSE_MENU" ) != null )
124124 {
125- grabbedObejctText = NewGrabbedObjectText ( ) ;
125+ grabbedObjectText = NewGrabbedObjectText ( ) ;
126126 }
127127
128128 SLPMod_Console . instance . active = false ;
@@ -176,9 +176,9 @@ void Update()
176176 playerText . text = GetPlayerTextString ( ) ;
177177 }
178178
179- if ( grabbedObejctText != null )
179+ if ( grabbedObjectText != null )
180180 {
181- grabbedObejctText . text = GetGrabbedObjectTextString ( ) ;
181+ grabbedObjectText . text = GetGrabbedObjectTextString ( ) ;
182182 }
183183
184184 if ( Input . GetKey ( KeyCode . F1 ) )
@@ -218,6 +218,14 @@ void Update()
218218 debugFunctions = ! debugFunctions ;
219219 GameManager . GM . enableDebugFunctions = debugFunctions ;
220220 }
221+
222+ if ( resizeScript . isGrabbing && Input . GetKey ( KeyCode . LeftShift ) )
223+ {
224+ resizeScript . ScaleObject ( 1f + ( Input . mouseScrollDelta . y * 0.05f ) ) ;
225+ }
226+
227+
228+
221229 }
222230
223231 public void SetMouseMinY ( float mouseMinY )
0 commit comments