Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     GetComponent <Button>().onClick.AddListener(() =>
     {
         if (gameFlow.CanSetting())
         {
             ChangeCanvas();
         }
     }
                                                 );
 }