void Start()
 {
     Mcontroller     = GameObject.Find("Mcontroller(Clone)");
     ControlerConfig = Mcontroller.GetComponent <McontrollerConfig>();
     M       = ControlerConfig.M[ControlerConfig.getLastIndex()];
     Mconfig = M.GetComponent <Mconfig>();
 }
Exemple #2
0
 public void newMatrix(int[] dim)
 {
     config = Mcontroller.GetComponent <McontrollerConfig>();
     config.DefEmpty();
     config.setDim(config.getLastIndex(), dim);
 }