示例#1
0
        public void Init(Contexts contexts)
        {
            _contexts = contexts;

            _inputButton = contexts.input.gameInputButton;
            //在new方法中自己定义的函数
            _entitaInputService = contexts.service.gameServiceEntitasInputService.EntitasInputService;
        }
示例#2
0
 public void Init(Contexts contexts)
 {
     _inputButton        = contexts.input.gameInputButton;
     _entitaInputService = contexts.service.gameServiceEntitasInputService.EntitasInputService;
 }