Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     cameraRef    = Camera.main;
     handManager  = FindObjectOfType <CardHandEventManager>();
     playerScript = FindObjectOfType <Player>();
     initialScale = transform.localScale;
     notification = GameObject.Find("Notifications").GetComponent <TextMeshProUGUI>();
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     initialScale    = transform.localScale;
     initialPosition = transform.position;
     handManager     = GetComponentInParent <CardHandEventManager>();
 }