コード例 #1
0
    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;  };
    }
コード例 #2
0
 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();
 }
コード例 #3
0
 public UIManagerBase(float pDiagDist, bool?pVert, UITouchManager pTouchMan, bool pEnableScroll)
 {
     muiOption      = new AmUiOption(muiSwitchSpeedLimit, pVert);
     muiTouchMan    = pTouchMan;
     optnScrlEnable = pEnableScroll;
 }