Пример #1
0
 public void Onrelease()
 {
     option.canop   = false;
     option.maincam = null;
     option.result  = null;
     option         = null;
     //--------------------
     isinited = false;
 }
Пример #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;
            }
        }
Пример #3
0
 public void Modulinit(Userinputoption _option)
 {
     option   = (Physicsinputmoduloption)_option;
     isinited = true;
 }