public void SetInit(AmUiOption pOption, UIManagerBase pMan) { Optn = pOption; Pstn = new CuVect(gameObject, Optn); Size = new CuVect(gameObject, Optn, IsPosi: false); //muiManager = pMan; //muiManager.delSetState += pStt => { muiState = pStt; }; }
public CuVect(GameObject par, AmUiOption opt, bool IsPosi = true) // deprecate { parent = par; if (IsPosi) { SaveV = targV = initV = par.transform.position; } else { SaveV = targV = initV = par.transform.localScale; } option = opt; this.IsPosition = IsPosi; //(" CuVect :: CuVect >> [ " + parent.name + " ] curV : " + SaveV + " , tarV : " + targV + " {{{ Creation }}}" ).HtLog(); }
public UIManagerBase(float pDiagDist, bool?pVert, UITouchManager pTouchMan, bool pEnableScroll) { muiOption = new AmUiOption(muiSwitchSpeedLimit, pVert); muiTouchMan = pTouchMan; optnScrlEnable = pEnableScroll; }