示例#1
0
        private void Start()
        {
            hitCollider.enabled = false;

            characterController = AttackInputSourceRegistry.Instance.GetAttackInputSource(controllerId);

            logger.AssertNotNull(characterController);
        }
 public void AddAttackInputSource(int id, IAttackInputSource controller)
 {
     mappingById.Add(id, controller);
 }
 public void AddAttackInputSource(string id, IAttackInputSource controller)
 {
     AddAttackInputSource(id.GetHashCode(), controller);
 }