Exemple #1
0
 // Use this for initialization
 void Start()
 {
     virtualCamera = FindObjectOfType<VirtualCamera>();
     transform.position = virtualCamera.ScreenPosToWorldPos(transform.position);
 }