コード例 #1
0
        public void BeforeEach()
        {
            _definition    = Substitute.For <IKeyValueDefinition <bool> >();
            _database      = Substitute.For <IKeyValueData <bool> >();
            _boolCondition = new ConditionLocalBoolInternal(_database);

            _database.Get(null).ReturnsForAnyArgs(true);
        }
コード例 #2
0
 public override void OnInit(IDialogueController dialogue)
 {
     _condition = new ConditionLocalBoolInternal(dialogue.LocalDatabase.Bools);
 }