public void Awake() { ship = GetComponent <SSShip>(); Vector3 screenSize = new Vector3(Screen.width, Screen.height); screenBounds = Camera.main.ScreenToWorldPoint(new Vector3(screenSize.x, screenSize.y)); }
public void Awake() { ship = GetComponent<SSShip>(); Vector3 screenSize = new Vector3(Screen.width, Screen.height); screenBounds = Camera.main.ScreenToWorldPoint(new Vector3(screenSize.x, screenSize.y)); }