// Use this for initialization
	void Start () {
		playerHealth = FindObjectOfType<ProfundumPlayerHealth> ();
		camMovement = FindObjectOfType<MainCameraMovement> ();
		innerOffsetVector = innerOffset.transform.position;
		_camMovement = FindObjectOfType<MainCameraMovement> ();
	}
示例#2
0
 void Start()
 {
     playerHealth = FindObjectOfType<PlayerHealthController> ();
     _camMovement = FindObjectOfType<MainCameraMovement> ();
     _cinematics = FindObjectOfType<Cinematics> ();
 }