microgame progress
This commit is contained in:
parent
ecff3c6b69
commit
79fcc7ce34
16 changed files with 2008 additions and 13 deletions
|
|
@ -22,9 +22,14 @@ public class GameManager : MonoBehaviour
|
|||
//this is just for general functions and variables that will be reused
|
||||
public Camera camera;
|
||||
public GameObject pauseMenu;
|
||||
|
||||
public void OnSceneChange()
|
||||
{
|
||||
camera = Camera.main;
|
||||
}
|
||||
public Vector3 GetMouseWorldPos()
|
||||
{
|
||||
return camera.ScreenToWorldPoint(Input.mousePosition);
|
||||
return camera.ScreenToWorldPoint(Input.mousePosition) + new Vector3(0,0,10);
|
||||
}
|
||||
|
||||
public void SetPause(bool state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue