示例#1
0
        protected override void Awake()
        {
            base.Awake();
            currentInputContext = new LensedValue <InputContext>(defaultInputContext);
            lastContextId       = currentInputContext.Value.GetInstanceID();

            CacheActionSets();
            InitializeActionSets();

            UpdateCurrentState(defaultInputContext);
        }