private void Start()
 {
     miningScript = miningGame.GetComponent <MiningGameScript>();
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     mgs = transform.parent.GetComponent <MiningGameScript>();
 }