Free Download Manager adalah software alternative selain menggunakan internet download manager. Jadi klu misalkan pengen aman dari software bajakan, naah silahkan install FDM ini yang langkah2nya seperti terlihat pada gambar-gambar dibawah :
Trus sebaiknya kita juga install add-onsnya buat google chrome biar apapun yang kita download dari googlechrome bisa automatis kedetek buat didownload oleh fdmnya. Caranya silahkan kunjugi chrome storenya disini ....
So in this scene, I have canvas with two buttons as shown in the picture below
This restart button has a tag 'restart_tag' and exit with 'exit_tag' button...
And in this scene, I want to reference to my buttons using variabel in my script and this variabel is a private var not a public, so I can't drag and drop button because it's a private. So what we can do for achieving this ?
We have several ways... :)
First... We can use a public function from canvas class namely GetComponentsInChildren<Button>(), this function will gonna return all of the button within this canvas as an array. Here is the example code :