Пример #1
0
        public override void OnStart()
        {
            var go        = _dialogue.LocalDatabaseExtended.GameObjects.Get(_gameObject.key, _gameObject.defaultValue);
            var goWrapper = new GameObjectWrapper(go);

            var setActive = new SetActiveInternal(goWrapper);

            setActive.SetValue(_setActive);
        }
Пример #2
0
            public void It_should_set_the_GameObject_active_to_true()
            {
                var go = Substitute.For <IGameObjectWrapper>();

                var setActive = new SetActiveInternal(go);

                setActive.SetValue(true);

                go.Received(1).SetActive(true);
            }