Exemplo n.º 1
0
 public void Onrelease()
 {
     option.canop   = false;
     option.maincam = null;
     option.result  = null;
     option         = null;
     //--------------------
     isinited = false;
 }
Exemplo n.º 2
0
        public void SetupModul()
        {
            switch (inputtype)
            {
            case Inputtype.PHYSICS:
                physicsinput = new Physicsinput();
                physicsinput.Modulinit(option);
                break;

            case Inputtype.AXIS:
                //realse physics input
                if (physicsinput != null)
                {
                    physicsinput.Onrelease();
                    physicsinput = null;
                    option       = null;
                }

                break;
            }
        }
Exemplo n.º 3
0
 public void Modulinit(Userinputoption _option)
 {
     option   = (Physicsinputmoduloption)_option;
     isinited = true;
 }