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