├── .gitignore ├── README.md ├── Trunk └── Demo │ ├── Chain Reaction Normal │ └── Chain Reaction │ │ ├── Assets │ │ ├── Configs.meta │ │ ├── Configs │ │ │ ├── All Colors.asset │ │ │ ├── All Colors.asset.meta │ │ │ ├── Fade.asset │ │ │ ├── Fade.asset.meta │ │ │ ├── Popcorn.asset │ │ │ ├── Popcorn.asset.meta │ │ │ ├── Shrink.asset │ │ │ └── Shrink.asset.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── Black.mat │ │ │ ├── Black.mat.meta │ │ │ ├── Blue.mat │ │ │ ├── Blue.mat.meta │ │ │ ├── Green.mat │ │ │ ├── Green.mat.meta │ │ │ ├── Purple.mat │ │ │ ├── Purple.mat.meta │ │ │ ├── Red.mat │ │ │ ├── Red.mat.meta │ │ │ ├── White.mat │ │ │ ├── White.mat.meta │ │ │ ├── Yellow.mat │ │ │ └── Yellow.mat.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── Ball.prefab │ │ │ ├── Ball.prefab.meta │ │ │ ├── Cube (3).prefab │ │ │ └── Cube (3).prefab.meta │ │ ├── Scenes.meta │ │ ├── Scenes │ │ │ ├── Game.unity │ │ │ └── Game.unity.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── Ball.cs │ │ │ ├── Ball.cs.meta │ │ │ ├── FadeReactor.cs │ │ │ ├── FadeReactor.cs.meta │ │ │ ├── Game.cs │ │ │ ├── Game.cs.meta │ │ │ ├── GameConfig.cs │ │ │ ├── GameConfig.cs.meta │ │ │ ├── MouseManager.cs │ │ │ ├── MouseManager.cs.meta │ │ │ ├── Reactor.cs │ │ │ ├── Reactor.cs.meta │ │ │ ├── ReactorTypes.cs │ │ │ ├── ReactorTypes.cs.meta │ │ │ ├── Score.cs │ │ │ ├── Score.cs.meta │ │ │ ├── ShrinkReactor.cs │ │ │ ├── ShrinkReactor.cs.meta │ │ │ ├── SlipReactor.cs │ │ │ └── SlipReactor.cs.meta │ │ ├── Chain Reaction.csproj │ │ ├── Chain Reaction.sln │ │ ├── Normal Package.unitypackage │ │ └── ProjectSettings │ │ ├── AudioManager.asset │ │ ├── ClusterInputManager.asset │ │ ├── DynamicsManager.asset │ │ ├── EditorBuildSettings.asset │ │ ├── EditorSettings.asset │ │ ├── GraphicsSettings.asset │ │ ├── InputManager.asset │ │ ├── NavMeshAreas.asset │ │ ├── NetworkManager.asset │ │ ├── Physics2DSettings.asset │ │ ├── ProjectSettings.asset │ │ ├── ProjectVersion.txt │ │ ├── QualitySettings.asset │ │ ├── TagManager.asset │ │ ├── TimeManager.asset │ │ └── UnityConnectSettings.asset │ ├── Chain Reaction SOLID Unity │ └── Chain Reaction Solid │ │ ├── .collabignore │ │ ├── Assembly-CSharp.csproj │ │ ├── Assets │ │ ├── Configs.meta │ │ ├── Configs │ │ │ ├── All Colors Fade.asset │ │ │ ├── All Colors Fade.asset.meta │ │ │ ├── All Prefabs Fade.asset │ │ │ ├── All Prefabs Fade.asset.meta │ │ │ ├── All Prefabs Shrink.asset │ │ │ ├── All Prefabs Shrink.asset.meta │ │ │ ├── All Prefabs Slip.asset │ │ │ └── All Prefabs Slip.asset.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── Black.mat │ │ │ ├── Black.mat.meta │ │ │ ├── Blue.mat │ │ │ ├── Blue.mat.meta │ │ │ ├── Green.mat │ │ │ ├── Green.mat.meta │ │ │ ├── Purple.mat │ │ │ ├── Purple.mat.meta │ │ │ ├── Red.mat │ │ │ ├── Red.mat.meta │ │ │ ├── White.mat │ │ │ ├── White.mat.meta │ │ │ ├── Yellow.mat │ │ │ └── Yellow.mat.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── Ball.prefab │ │ │ ├── Ball.prefab.meta │ │ │ ├── Cube (3).prefab │ │ │ └── Cube (3).prefab.meta │ │ ├── Scenes.meta │ │ ├── Scenes │ │ │ ├── Game.unity │ │ │ └── Game.unity.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── IoC.meta │ │ │ └── IoC │ │ │ ├── BindingStyle.cs │ │ │ ├── BindingStyle.cs.meta │ │ │ ├── Cleanup.cs │ │ │ ├── Cleanup.cs.meta │ │ │ ├── Di.cs │ │ │ ├── Di.cs.meta │ │ │ ├── DiBinding.cs │ │ │ ├── DiBinding.cs.meta │ │ │ ├── DiBindings.cs │ │ │ ├── DiBindings.cs.meta │ │ │ ├── DoNotBindAttribute.cs │ │ │ ├── DoNotBindAttribute.cs.meta │ │ │ ├── Exceptions.meta │ │ │ ├── Exceptions │ │ │ ├── BindingKeyNotFoundException.cs │ │ │ ├── BindingKeyNotFoundException.cs.meta │ │ │ ├── BindingKeyWithNoReferencesException.cs │ │ │ ├── BindingKeyWithNoReferencesException.cs.meta │ │ │ ├── BindingNotConversionException.cs │ │ │ ├── BindingNotConversionException.cs.meta │ │ │ ├── BindingNotSingletonException.cs │ │ │ ├── BindingNotSingletonException.cs.meta │ │ │ ├── BindingPathNotConfiguredException.cs │ │ │ ├── BindingPathNotConfiguredException.cs.meta │ │ │ ├── CyclicalDependencyException.cs │ │ │ ├── CyclicalDependencyException.cs.meta │ │ │ ├── NoBindingsFoundException.cs │ │ │ ├── NoBindingsFoundException.cs.meta │ │ │ ├── OutputTypeUndefinedException.cs │ │ │ └── OutputTypeUndefinedException.cs.meta │ │ │ ├── IBindingConfiguration.cs │ │ │ ├── IBindingConfiguration.cs.meta │ │ │ ├── ICleanup.cs │ │ │ ├── ICleanup.cs.meta │ │ │ ├── IDiBinding.cs │ │ │ ├── IDiBinding.cs.meta │ │ │ ├── Properties.meta │ │ │ └── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ └── AssemblyInfo.cs.meta │ │ ├── Chain Reaction Solid.csproj │ │ ├── Chain Reaction Solid.sln │ │ ├── Logs │ │ └── Packages-Update.log │ │ ├── ProjectSettings │ │ ├── AudioManager.asset │ │ ├── ClusterInputManager.asset │ │ ├── DynamicsManager.asset │ │ ├── EditorBuildSettings.asset │ │ ├── EditorSettings.asset │ │ ├── GraphicsSettings.asset │ │ ├── InputManager.asset │ │ ├── NavMeshAreas.asset │ │ ├── NetworkManager.asset │ │ ├── Physics2DSettings.asset │ │ ├── PresetManager.asset │ │ ├── ProjectSettings.asset │ │ ├── ProjectVersion.txt │ │ ├── QualitySettings.asset │ │ ├── TagManager.asset │ │ ├── TimeManager.asset │ │ ├── UnityConnectSettings.asset │ │ ├── VFXManager.asset │ │ └── XRSettings.asset │ │ └── VS │ │ ├── Behaviours │ │ ├── Behaviours.csproj │ │ ├── BehavioursBindings.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── ViewModels │ │ │ └── GameConfig.cs │ │ └── Views │ │ │ ├── Ball.cs │ │ │ ├── FadeReactor.cs │ │ │ ├── Game.cs │ │ │ ├── MouseManager.cs │ │ │ ├── ReactorBase.cs │ │ │ ├── ScoreView.cs │ │ │ ├── ShrinkReactor.cs │ │ │ └── SlipReactor.cs │ │ ├── ChainReaction.sln │ │ ├── IoC │ │ └── IoC.csproj │ │ ├── Lib.Tests │ │ ├── Domain │ │ │ └── Controllers │ │ │ │ └── BallControllerTests.cs │ │ ├── Helpers │ │ │ └── BallHelper.cs │ │ ├── Lib.Tests.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ │ ├── Lib │ │ ├── DiBindings.cs │ │ ├── Domain │ │ │ ├── Configurations │ │ │ │ └── IGameConfig.cs │ │ │ ├── Controllers │ │ │ │ ├── BallController.cs │ │ │ │ ├── GameController.cs │ │ │ │ └── MouseManagerController.cs │ │ │ └── Enums │ │ │ │ └── ReactorTypes.cs │ │ ├── Interfaces │ │ │ ├── IBall.cs │ │ │ ├── IFadeReactor.cs │ │ │ ├── IGame.cs │ │ │ ├── IReactor.cs │ │ │ ├── IScore.cs │ │ │ ├── IShrinkReactor.cs │ │ │ └── ISlipReactor.cs │ │ ├── Lib.csproj │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ └── UnityBase │ │ ├── DiBindings.cs │ │ ├── InjectBehaviour.cs │ │ ├── Objects │ │ ├── DiGameObject.cs │ │ ├── DiMaterial.cs │ │ ├── IGameObject.cs │ │ └── IMaterial.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── Statics │ │ ├── DiDebug.cs │ │ └── IDebug.cs │ │ └── UnityBase.csproj │ └── Chain Reaction SOLID │ └── Chain Reaction Solid │ ├── Assets │ ├── Configs.meta │ ├── Configs │ │ ├── All Colors Fade.asset │ │ ├── All Colors Fade.asset.meta │ │ ├── All Prefabs Fade.asset │ │ ├── All Prefabs Fade.asset.meta │ │ ├── All Prefabs Shrink.asset │ │ ├── All Prefabs Shrink.asset.meta │ │ ├── All Prefabs Slip.asset │ │ └── All Prefabs Slip.asset.meta │ ├── Materials.meta │ ├── Materials │ │ ├── Black.mat │ │ ├── Black.mat.meta │ │ ├── Blue.mat │ │ ├── Blue.mat.meta │ │ ├── Green.mat │ │ ├── Green.mat.meta │ │ ├── Purple.mat │ │ ├── Purple.mat.meta │ │ ├── Red.mat │ │ ├── Red.mat.meta │ │ ├── White.mat │ │ ├── White.mat.meta │ │ ├── Yellow.mat │ │ └── Yellow.mat.meta │ ├── Plugins.meta │ ├── Plugins │ │ ├── Behaviours.dll │ │ ├── Behaviours.dll.mdb │ │ ├── Behaviours.dll.mdb.meta │ │ ├── Behaviours.dll.meta │ │ ├── Behaviours.pdb │ │ ├── Behaviours.pdb.meta │ │ ├── IoC.dll │ │ ├── IoC.dll.mdb │ │ ├── IoC.dll.mdb.meta │ │ ├── IoC.dll.meta │ │ ├── IoC.pdb │ │ ├── IoC.pdb.meta │ │ ├── Lib.dll │ │ ├── Lib.dll.mdb │ │ ├── Lib.dll.mdb.meta │ │ ├── Lib.dll.meta │ │ ├── Lib.pdb │ │ ├── Lib.pdb.meta │ │ ├── UnityBase.dll │ │ ├── UnityBase.dll.mdb │ │ ├── UnityBase.dll.mdb.meta │ │ ├── UnityBase.dll.meta │ │ ├── UnityBase.pdb │ │ └── UnityBase.pdb.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── Ball.prefab │ │ ├── Ball.prefab.meta │ │ ├── Cube (3).prefab │ │ └── Cube (3).prefab.meta │ ├── Scenes.meta │ └── Scenes │ │ ├── Game.unity │ │ └── Game.unity.meta │ ├── Chain Reaction Solid.csproj │ ├── Chain Reaction Solid.sln │ ├── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── Physics2DSettings.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ └── UnityConnectSettings.asset │ └── VS │ ├── Behaviours │ ├── Behaviours.csproj │ ├── BehavioursBindings.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── ViewModels │ │ └── GameConfig.cs │ └── Views │ │ ├── Ball.cs │ │ ├── FadeReactor.cs │ │ ├── Game.cs │ │ ├── MouseManager.cs │ │ ├── ReactorBase.cs │ │ ├── ScoreView.cs │ │ ├── ShrinkReactor.cs │ │ └── SlipReactor.cs │ ├── ChainReaction.sln │ ├── IoC │ ├── BindingStyle.cs │ ├── Cleanup.cs │ ├── Di.cs │ ├── DiBinding.cs │ ├── DiBindings.cs │ ├── DoNotBindAttribute.cs │ ├── Exceptions │ │ ├── BindingKeyNotFoundException.cs │ │ ├── BindingKeyWithNoReferencesException.cs │ │ ├── BindingNotConversionException.cs │ │ ├── BindingNotSingletonException.cs │ │ ├── BindingPathNotConfiguredException.cs │ │ ├── CyclicalDependencyException.cs │ │ ├── NoBindingsFoundException.cs │ │ └── OutputTypeUndefinedException.cs │ ├── IBindingConfiguration.cs │ ├── ICleanup.cs │ ├── IDiBinding.cs │ ├── IoC.csproj │ └── Properties │ │ └── AssemblyInfo.cs │ ├── Lib.Tests │ ├── Domain │ │ └── Controllers │ │ │ └── BallControllerTests.cs │ ├── Helpers │ │ └── BallHelper.cs │ ├── Lib.Tests.csproj │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── Lib │ ├── DiBindings.cs │ ├── Domain │ │ ├── Configurations │ │ │ └── IGameConfig.cs │ │ ├── Controllers │ │ │ ├── BallController.cs │ │ │ ├── GameController.cs │ │ │ └── MouseManagerController.cs │ │ └── Enums │ │ │ └── ReactorTypes.cs │ ├── Interfaces │ │ ├── IBall.cs │ │ ├── IFadeReactor.cs │ │ ├── IGame.cs │ │ ├── IReactor.cs │ │ ├── IScore.cs │ │ ├── IShrinkReactor.cs │ │ └── ISlipReactor.cs │ ├── Lib.csproj │ └── Properties │ │ └── AssemblyInfo.cs │ ├── UnityBase │ ├── DiBindings.cs │ ├── InjectBehaviour.cs │ ├── Objects │ │ ├── DiGameObject.cs │ │ ├── DiMaterial.cs │ │ ├── IGameObject.cs │ │ └── IMaterial.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Statics │ │ ├── DiDebug.cs │ │ └── IDebug.cs │ └── UnityBase.csproj │ └── packages │ ├── Castle.Core.4.0.0 │ ├── ASL - Apache Software Foundation License.txt │ ├── CHANGELOG.md │ ├── Castle.Core.4.0.0.nupkg │ ├── LICENSE │ ├── lib │ │ ├── net35 │ │ │ ├── Castle.Core.dll │ │ │ └── Castle.Core.xml │ │ ├── net40-client │ │ │ ├── Castle.Core.dll │ │ │ └── Castle.Core.xml │ │ ├── net45 │ │ │ ├── Castle.Core.dll │ │ │ └── Castle.Core.xml │ │ └── netstandard1.3 │ │ │ ├── Castle.Core.dll │ │ │ └── Castle.Core.xml │ └── readme.txt │ ├── MSTest.TestAdapter.1.1.11 │ └── MSTest.TestAdapter.1.1.11.nupkg │ ├── MSTest.TestFramework.1.1.11 │ ├── MSTest.TestFramework.1.1.11.nupkg │ └── lib │ │ ├── dotnet │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll │ │ ├── cs │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── de │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── es │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── fr │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── it │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ja │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ko │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pl │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pt │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ru │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── tr │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── zh-Hans │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ └── zh-Hant │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── net45 │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll │ │ ├── cs │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── de │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── es │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── fr │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── it │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ja │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ko │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pl │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pt │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ru │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── tr │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── zh-Hans │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ └── zh-Hant │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── netcoreapp1.0 │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll │ │ ├── cs │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── de │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── es │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── fr │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── it │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ja │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ko │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pl │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pt │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ru │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── tr │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── zh-Hans │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ └── zh-Hant │ │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ └── uap10.0 │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll │ │ ├── cs │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── de │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── es │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── fr │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── it │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ja │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ko │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pl │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── pt │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── ru │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── tr │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ ├── zh-Hans │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ │ └── zh-Hant │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.XML │ ├── Moq.4.7.25 │ ├── Moq.4.7.25.nupkg │ └── lib │ │ ├── net45 │ │ ├── Moq.dll │ │ └── Moq.xml │ │ └── netstandard1.3 │ │ ├── Moq.dll │ │ └── Moq.xml │ └── NUnit.3.7.0 │ ├── CHANGES.md │ ├── LICENSE.txt │ ├── NOTICES.txt │ ├── NUnit.3.7.0.nupkg │ └── lib │ ├── net20 │ ├── NUnit.System.Linq.dll │ ├── nunit.framework.dll │ └── nunit.framework.xml │ ├── net35 │ ├── nunit.framework.dll │ └── nunit.framework.xml │ ├── net40 │ ├── nunit.framework.dll │ └── nunit.framework.xml │ ├── net45 │ ├── nunit.framework.dll │ └── nunit.framework.xml │ ├── netstandard1.3 │ ├── nunit.framework.dll │ └── nunit.framework.xml │ └── netstandard1.6 │ ├── nunit.framework.dll │ └── nunit.framework.xml └── docs ├── _config.yml └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | # =============== # 2 | # Unity generated # 3 | # =============== # 4 | [Tt]emp/ 5 | [Oo]bj/ 6 | [Bb]uild 7 | [Ll]ibrary/ 8 | sysinfo.txt 9 | *.stackdump 10 | 11 | # ============ # 12 | # VS generated # 13 | # ============ # 14 | [Dd]ebug/ 15 | [Rr]elease/ 16 | [Pp]ackages/ 17 | x64/ 18 | x32/ 19 | build/ 20 | .vs/ 21 | [Bb]in/ 22 | [Oo]bj/ 23 | [Tt]est[Rr]esult*/ 24 | [Bb]uild[Ll]og.* 25 | *.suo 26 | *.user 27 | *.sln.docstates 28 | *.psess 29 | *.vsp 30 | *.vspx 31 | publish/ 32 | AppPackages/ 33 | 34 | # ============ # 35 | # OS generated # 36 | # ============ # 37 | .DS_Store* 38 | ._* 39 | .Spotlight-V100 40 | .Trashes 41 | ehthumbs.db 42 | [Tt]humbs.db 43 | [Dd]esktop.ini -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UnitySOLID 2 | SOLID for Unity. Test Cases, Dependency Injection, etc. 3 | 4 | This project focuses on adding SOLID to Unity, along with Unit Testing and Dependency Injection. Basically most of the professional programming standards the business world is becomming acustomed to. 5 | 6 | Available CC0 7 | 8 | General Road Map: 9 | 1) Demo Project (done) 10 | - See https://github.com/DanVioletSagmiller/UnitySOLID/tree/master/Trunk/Demo 11 | - Chain Reaction, is a game written without VS, without SOLID, without Unit Tests. 12 | - Chain Reacion Solid, the same game written in VS with SOLID, with Unit Tests. 13 | 14 | 2) Isolated Project 15 | - Isolated Project, so it can be added directly to extra projects. 16 | 17 | 3) Script Only version 18 | - A version the operates in Unity without being part of VS. 19 | - would lose VS Unit Testing, but work as a Unity Asset. 20 | 21 | 4) Nuget Package 22 | - A nuget package for the isolated project, to be loaded on demand by other projects. 23 | 24 | 5) Nuget/Asset Manager 25 | - A system for automatically importing NUGET packages into Projects featuring certain Unity Assets, and adding assets when certain NUGET packages were found in the DLL. 26 | 27 | 28 | First steps, orgainizing a forum, Wiki and a plan for community involvement. 29 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a6b3ee206602e24eb46147f6336297c 3 | folderAsset: yes 4 | timeCreated: 1496110353 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/All Colors.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: a348118c1eb0a424b90feee3fd3b0961, type: 3} 12 | m_Name: All Colors 13 | m_EditorClassIdentifier: 14 | BallPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | Materials: 18 | - {fileID: 2100000, guid: 08cdaa6133e0bc04a98e754d83c88ee5, type: 2} 19 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 20 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 21 | - {fileID: 2100000, guid: 6da41a94ba1ca9f48b43e6fddf0682b5, type: 2} 22 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 23 | - {fileID: 2100000, guid: a7968a10fb2496c458ec71e94f6ccd7d, type: 2} 24 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 25 | Reactors: 01000000 26 | TimeBetweenReactions: 0.05 27 | ScorePerBall: 1 28 | CountMultiplier: 1.01 29 | BallDropFrequency: 0.1 30 | BallTouchRange: 1 31 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/All Colors.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2a3b35c2f471494a8d1cebd69ae17b9 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/Fade.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: a348118c1eb0a424b90feee3fd3b0961, type: 3} 12 | m_Name: Fade 13 | m_EditorClassIdentifier: 14 | BallPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | Materials: 18 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 19 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 20 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 21 | Reactors: 00000000 22 | TimeBetweenReactions: 0.05 23 | ScorePerBall: 1 24 | CountMultiplier: 1.01 25 | BallDropFrequency: 0.1 26 | BallTouchRange: 1 27 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/Fade.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e62922fc6e59e51449cc37c77f065fe5 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/Popcorn.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: a348118c1eb0a424b90feee3fd3b0961, type: 3} 12 | m_Name: Popcorn 13 | m_EditorClassIdentifier: 14 | BallPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | Materials: 18 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 19 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 20 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 21 | Reactors: 02000000 22 | TimeBetweenReactions: 0.05 23 | ScorePerBall: 1 24 | CountMultiplier: 1.01 25 | BallDropFrequency: 0.1 26 | BallTouchRange: 1 27 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/Popcorn.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b9f5dab1dd35624a8af40f583589405 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/Shrink.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: a348118c1eb0a424b90feee3fd3b0961, type: 3} 12 | m_Name: Shrink 13 | m_EditorClassIdentifier: 14 | BallPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | Materials: 18 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 19 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 20 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 21 | Reactors: 01000000 22 | TimeBetweenReactions: 0.05 23 | ScorePerBall: 1 24 | CountMultiplier: 1.01 25 | BallDropFrequency: 0.1 26 | BallTouchRange: 1 27 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Configs/Shrink.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71a6e591a45f31849b6d3e35521d90ae 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca0a0d4d3af24d84c8d93427530e18fc 3 | folderAsset: yes 4 | timeCreated: 1496111258 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials/Black.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08cdaa6133e0bc04a98e754d83c88ee5 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials/Blue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb0c3e346d552f34f8ab0a90d69bd0d1 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials/Green.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1daa772f291dc94f9d1eb764c1e3b43 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials/Purple.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6da41a94ba1ca9f48b43e6fddf0682b5 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials/Red.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66594632b87b9e2449d3bc58c087d63a 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials/White.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7968a10fb2496c458ec71e94f6ccd7d 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Materials/Yellow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c274223263898ba44ad488188ba3bb0c 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 012935b2c69b85242a68dbd54693c316 3 | folderAsset: yes 4 | timeCreated: 1496110256 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Prefabs/Ball.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6ac56fc87579e04aaa001e1bf03164d 3 | timeCreated: 1496110264 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Prefabs/Cube (3).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0f0ca3a674c8684d920d0e8b635cf31 3 | timeCreated: 1496110936 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db280530b576dc2478f07a4ce008030c 3 | folderAsset: yes 4 | timeCreated: 1496109921 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scenes/Game.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 932a1be0e01dbeb4289f627604aa6750 3 | timeCreated: 1496109936 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3862fa49366be2b41814c7e89fd98ead 3 | folderAsset: yes 4 | timeCreated: 1496002217 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/Ball.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7fb6cd1cb06c3c4e95e6f8dd79a7b94 3 | timeCreated: 1496002386 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/FadeReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | public class FadeReactor : Reactor { 7 | 8 | private bool CountDownToDestroy = false; 9 | 10 | private bool Ending = false; 11 | 12 | private float CountDownTimer = 0; 13 | 14 | public float FadeTime = 1f; 15 | 16 | private float FadeBase = 0; 17 | 18 | private Color Color = Color.white; 19 | 20 | private Renderer Renderer = null; 21 | 22 | public void Start() 23 | { 24 | Renderer = GetComponent(); 25 | } 26 | 27 | public override void ActivateDestructionIn(float time) 28 | { 29 | CountDownToDestroy = true; 30 | CountDownTimer = time; 31 | } 32 | 33 | // Update is called once per frame 34 | void Update () { 35 | if (!CountDownToDestroy && !Ending) return; 36 | 37 | if (CountDownToDestroy) 38 | { 39 | CountDownTimer -= Time.deltaTime; 40 | if (CountDownTimer < 0) 41 | { 42 | CountDownToDestroy = false; 43 | Ending = true; 44 | FadeBase = 1 / FadeTime; 45 | Color = Renderer.material.color; 46 | } 47 | } 48 | 49 | if (Ending) 50 | { 51 | FadeTime -= Time.deltaTime; 52 | Color.a = FadeBase * FadeTime; 53 | Renderer.material.color = Color; 54 | if (FadeTime < 0) Destroy(gameObject); 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/FadeReactor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdb5833c28d01dc4e8edfe999a4e4729 3 | timeCreated: 1496002982 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/Game.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Game : MonoBehaviour { 6 | 7 | public GameConfig Configuration; 8 | 9 | public static Game Current { get; set; } 10 | 11 | public Transform[] BallDropLocations; 12 | 13 | [HideInInspector] 14 | public List BallCollection = new List(); 15 | 16 | /// 17 | /// when @0, ball drops, resets to ball drop frequency. 18 | /// 19 | private float DropCounter = 0; 20 | 21 | void Start () { 22 | Current = this; 23 | } 24 | 25 | // Update is called once per frame 26 | void Update () { 27 | DropCounter -= Time.deltaTime; 28 | if (DropCounter > 0) return; 29 | 30 | DropCounter = Configuration.BallDropFrequency; 31 | 32 | var dropPrefab = Configuration.GetBallPrefab(); 33 | var dropLocation = GetBallDropLocation(); 34 | 35 | var ball = GameObject.Instantiate( 36 | dropPrefab, 37 | dropLocation.position, 38 | Quaternion.identity); 39 | 40 | } 41 | 42 | private Transform GetBallDropLocation() 43 | { 44 | var index = Random.Range( 45 | 0, 46 | BallDropLocations.Length); 47 | 48 | return BallDropLocations[index]; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/Game.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b295e0457695334c98721cd922e1849 3 | timeCreated: 1496002504 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/GameConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [CreateAssetMenu(fileName = "Config", menuName = "Configuration", order = 0)] 6 | public class GameConfig : ScriptableObject { 7 | 8 | public GameObject[] BallPrefabs; 9 | 10 | public Material[] Materials; 11 | 12 | public ReactorTypes[] Reactors; 13 | 14 | /// 15 | /// How long between each chain reaction 16 | /// 17 | public float TimeBetweenReactions = 0.2f; 18 | 19 | /// 20 | /// How much score for one ball 21 | /// 22 | public float ScorePerBall = 1; 23 | 24 | /// 25 | /// How much multiplier for each additional ball in the chain 26 | /// 27 | public float CountMultiplier = 2; 28 | 29 | /// 30 | /// How often does another ball drop. 31 | /// 32 | public float BallDropFrequency = 0.2f; 33 | 34 | /// 35 | /// How far from another ball to count as touching. 36 | /// 37 | public float BallTouchRange = 1.5f; 38 | 39 | public GameObject GetBallPrefab() 40 | { 41 | var index = Random.Range( 42 | 0, 43 | BallPrefabs.Length); 44 | 45 | return BallPrefabs[index]; 46 | } 47 | 48 | public Material GetMaterial() 49 | { 50 | var index = Random.Range( 51 | 0, 52 | Materials.Length); 53 | 54 | return Materials[index]; 55 | } 56 | 57 | public ReactorTypes GetReactor() 58 | { 59 | var index = Random.Range( 60 | 0, 61 | Reactors.Length); 62 | 63 | return Reactors[index]; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/GameConfig.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a348118c1eb0a424b90feee3fd3b0961 3 | timeCreated: 1496004045 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/MouseManager.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class MouseManager : MonoBehaviour { 6 | 7 | // Update is called once per frame 8 | void Update () 9 | { 10 | if (Input.GetMouseButtonDown(0)) 11 | { 12 | var ray = Camera.main.ScreenPointToRay(Input.mousePosition); 13 | RaycastHit hit; 14 | var didHit = Physics.Raycast(ray, out hit); 15 | 16 | if (didHit) 17 | { 18 | var ball = hit.collider.gameObject.GetComponent(); 19 | if (ball == null) 20 | { 21 | return; 22 | } 23 | 24 | ball.StartReaction(); 25 | } 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/MouseManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41733743703f2e144a7e70e7098783d2 3 | timeCreated: 1496002306 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/Reactor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public abstract class Reactor : MonoBehaviour { 6 | 7 | public abstract void ActivateDestructionIn(float time); 8 | } 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/Reactor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ab9f85a9161dcb42b6c9944fa5b2c17 3 | timeCreated: 1496002426 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/ReactorTypes.cs: -------------------------------------------------------------------------------- 1 |  2 | public enum ReactorTypes 3 | { 4 | Fade, 5 | Shrink, 6 | Slip 7 | } 8 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/ReactorTypes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80c8054c5d131c542aaca83c49209c87 3 | timeCreated: 1496102720 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/Score.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | public class Score : MonoBehaviour { 7 | 8 | public Text DisplayCaption; 9 | 10 | public static Score Current; 11 | 12 | public int TotalScore = 0; 13 | 14 | public void Start() 15 | { 16 | Current = this; 17 | } 18 | 19 | public void Update() 20 | { 21 | DisplayCaption.text = "Score: " + TotalScore; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/Score.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82d41db501eb7764fbaa522060f993a1 3 | timeCreated: 1496002273 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/ShrinkReactor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class ShrinkReactor : Reactor 6 | { 7 | 8 | private bool CountDownToDestroy = false; 9 | 10 | private bool Ending = false; 11 | 12 | private float CountDownTimer = 0; 13 | 14 | public float ShrinkTime = 1f; 15 | 16 | private float ShrinkBase = 0; 17 | 18 | public void Start() 19 | { 20 | 21 | } 22 | 23 | public override void ActivateDestructionIn(float time) 24 | { 25 | CountDownToDestroy = true; 26 | CountDownTimer = time; 27 | } 28 | 29 | // Update is called once per frame 30 | void Update() 31 | { 32 | if (!CountDownToDestroy && !Ending) return; 33 | 34 | if (CountDownToDestroy) 35 | { 36 | CountDownTimer -= Time.deltaTime; 37 | if (CountDownTimer < 0) 38 | { 39 | CountDownToDestroy = false; 40 | Ending = true; 41 | ShrinkBase = 1 / ShrinkTime; 42 | } 43 | } 44 | 45 | if (Ending) 46 | { 47 | ShrinkTime -= Time.deltaTime; 48 | transform.localScale *= ShrinkBase * ShrinkTime; 49 | if (ShrinkTime < 0) Destroy(gameObject); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/ShrinkReactor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0da1f9a479cd3b640acaf921a8d4b2ed 3 | timeCreated: 1496002448 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/SlipReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | public class SlipReactor : Reactor { 7 | 8 | public Vector3 LaunchForce = Vector3.one; 9 | 10 | public float LowestPosition = 0; 11 | 12 | private bool CountDownToDestroy = false; 13 | 14 | private bool Ending = false; 15 | 16 | private float CountDownTimer = 0; 17 | 18 | private Rigidbody Body = null; 19 | 20 | 21 | 22 | public void Start() 23 | { 24 | Body = GetComponent(); 25 | } 26 | 27 | public override void ActivateDestructionIn(float time) 28 | { 29 | CountDownToDestroy = true; 30 | CountDownTimer = time; 31 | } 32 | 33 | // Update is called once per frame 34 | void Update () { 35 | if (!CountDownToDestroy && !Ending) return; 36 | 37 | if (CountDownToDestroy) 38 | { 39 | CountDownTimer -= Time.deltaTime; 40 | if (CountDownTimer < 0) 41 | { 42 | CountDownToDestroy = false; 43 | Ending = true; 44 | Body.constraints = RigidbodyConstraints.None; 45 | Body.AddForce(LaunchForce); 46 | } 47 | } 48 | 49 | if (Ending) 50 | { 51 | if (transform.position.y < LowestPosition) Destroy(gameObject); 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Assets/Scripts/SlipReactor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9875b85347642164eb69568cba27d781 3 | timeCreated: 1496002982 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Chain Reaction.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2017 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chain Reaction", "Chain Reaction.csproj", "{D298B742-F063-42C3-A1CA-8354F682D933}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {D298B742-F063-42C3-A1CA-8354F682D933}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {D298B742-F063-42C3-A1CA-8354F682D933}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {D298B742-F063-42C3-A1CA-8354F682D933}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {D298B742-F063-42C3-A1CA-8354F682D933}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/Normal Package.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction Normal/Chain Reaction/Normal Package.unitypackage -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | m_VirtualizeEffects: 1 17 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 0 10 | m_SpritePackerMode: 2 11 | m_SpritePackerPaddingPower: 1 12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 13 | m_ProjectGenerationRootNamespace: 14 | m_UserGeneratedProjectSuffix: 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_AlwaysShowColliders: 0 26 | m_ShowColliderSleep: 1 27 | m_ShowColliderContacts: 0 28 | m_ShowColliderAABB: 0 29 | m_ContactArrowScale: 0.2 30 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 31 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 32 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 33 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 34 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 35 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.5.2f1 2 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction Normal/Chain Reaction/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | CrashReportingSettings: 11 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 12 | m_Enabled: 0 13 | m_CaptureEditorExceptions: 1 14 | UnityPurchasingSettings: 15 | m_Enabled: 0 16 | m_TestMode: 0 17 | UnityAnalyticsSettings: 18 | m_Enabled: 0 19 | m_InitializeOnStartup: 1 20 | m_TestMode: 0 21 | m_TestEventUrl: 22 | m_TestConfigUrl: 23 | UnityAdsSettings: 24 | m_Enabled: 0 25 | m_InitializeOnStartup: 1 26 | m_TestMode: 0 27 | m_EnabledPlatforms: 4294967295 28 | m_IosGameId: 29 | m_AndroidGameId: 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/.collabignore: -------------------------------------------------------------------------------- 1 | # =========================== 2 | # Default Collab Ignore Rules 3 | # =========================== 4 | 5 | # OS Generated 6 | # ============ 7 | .DS_Store 8 | ._* 9 | .Spotlight-V100 10 | .Trashes 11 | Icon? 12 | ehthumbs.db 13 | [Tt]humbs.db 14 | [Dd]esktop.ini 15 | 16 | # Visual Studio / MonoDevelop generated 17 | # ===================================== 18 | [Ee]xported[Oo]bj/ 19 | *.userprefs 20 | *.csproj 21 | *.pidb 22 | *.suo 23 | *.sln 24 | *.user 25 | *.unityproj 26 | *.booproj 27 | 28 | # Unity generated 29 | # =============== 30 | [Oo]bj/ 31 | [Bb]uild 32 | sysinfo.txt 33 | *.stackdump 34 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a6b3ee206602e24eb46147f6336297c 3 | folderAsset: yes 4 | timeCreated: 1496110353 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Colors Fade.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Colors Fade 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | materials: 17 | - {fileID: 2100000, guid: 08cdaa6133e0bc04a98e754d83c88ee5, type: 2} 18 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 19 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 20 | - {fileID: 2100000, guid: 6da41a94ba1ca9f48b43e6fddf0682b5, type: 2} 21 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 22 | - {fileID: 2100000, guid: a7968a10fb2496c458ec71e94f6ccd7d, type: 2} 23 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 24 | Reactors: 00000000 25 | timeBetweenReactions: 0.05 26 | scorePerBall: 1 27 | countMultiplier: 2 28 | ballDropFrequency: 0.05 29 | ballTouchRange: 1.5 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Colors Fade.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2a3b35c2f471494a8d1cebd69ae17b9 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Prefabs Fade.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Prefabs Fade 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | materials: 18 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 19 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 20 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 21 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 22 | Reactors: 00000000 23 | timeBetweenReactions: 0.05 24 | scorePerBall: 1 25 | countMultiplier: 2 26 | ballDropFrequency: 0.05 27 | ballTouchRange: 1.5 28 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Prefabs Fade.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e62922fc6e59e51449cc37c77f065fe5 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Prefabs Shrink.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Prefabs Shrink 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | materials: 18 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 19 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 20 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 21 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 22 | Reactors: 01000000 23 | timeBetweenReactions: 0.05 24 | scorePerBall: 1 25 | countMultiplier: 2 26 | ballDropFrequency: 0.05 27 | ballTouchRange: 1.5 28 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Prefabs Shrink.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 127091a637f06124693467113bef70d4 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Prefabs Slip.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Prefabs Slip 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | materials: 18 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 19 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 20 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 21 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 22 | Reactors: 02000000 23 | timeBetweenReactions: 0.05 24 | scorePerBall: 1 25 | countMultiplier: 2 26 | ballDropFrequency: 0.05 27 | ballTouchRange: 1.5 28 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Configs/All Prefabs Slip.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5266930a2835bfe4cb36d3887ccdfccb 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca0a0d4d3af24d84c8d93427530e18fc 3 | folderAsset: yes 4 | timeCreated: 1496111258 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials/Black.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08cdaa6133e0bc04a98e754d83c88ee5 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials/Blue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb0c3e346d552f34f8ab0a90d69bd0d1 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials/Green.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1daa772f291dc94f9d1eb764c1e3b43 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials/Purple.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6da41a94ba1ca9f48b43e6fddf0682b5 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials/Red.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66594632b87b9e2449d3bc58c087d63a 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials/White.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7968a10fb2496c458ec71e94f6ccd7d 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Materials/Yellow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c274223263898ba44ad488188ba3bb0c 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 012935b2c69b85242a68dbd54693c316 3 | folderAsset: yes 4 | timeCreated: 1496110256 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Prefabs/Ball.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6ac56fc87579e04aaa001e1bf03164d 3 | timeCreated: 1496110264 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Prefabs/Cube (3).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0f0ca3a674c8684d920d0e8b635cf31 3 | timeCreated: 1496110936 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db280530b576dc2478f07a4ce008030c 3 | folderAsset: yes 4 | timeCreated: 1496109921 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scenes/Game.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 932a1be0e01dbeb4289f627604aa6750 3 | timeCreated: 1496109936 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9f38a2a8d96ee4418fee79e378a1709 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7335fe22fbdfbeb4f8e7833034e7f54d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/BindingStyle.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public enum BindingStyle 9 | { 10 | Undefined, 11 | ByInstance, 12 | ByConversion, 13 | BySingleton 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/BindingStyle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fc6c8a500cdaa746ab92a3ba5decbb1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Cleanup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace IoC 8 | { 9 | public class Cleanup : ICleanup 10 | { 11 | private List Disposables = new List(); 12 | 13 | public void Add(IDisposable disposable) 14 | { 15 | Disposables.Add(disposable); 16 | } 17 | 18 | public void Dispose(IDisposable disposable) 19 | { 20 | Disposables.Remove(disposable); 21 | disposable.Dispose(); 22 | } 23 | 24 | public void DisposeAll() 25 | { 26 | foreach (var disposable in Disposables) 27 | { 28 | try 29 | { 30 | Debug.WriteLine("ThreadCleanup.DisposeAll : " + disposable.GetType().Name); 31 | disposable.Dispose(); 32 | } 33 | catch (Exception ex) 34 | { 35 | Debug.WriteLine("ThreadCleanup.DisposeAll Exception : " + ex.GetType()); 36 | Debug.WriteLine(" - " + ex.Message); 37 | } 38 | } 39 | Disposables.Clear(); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Cleanup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d405f66891b425a45a4168b60c943ebe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Di.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7beb5a839c6fd3459b5dda62ab435a6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/DiBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e53f3b0a7a35e54282ccf9aec4513fd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/DiBindings.cs: -------------------------------------------------------------------------------- 1 | namespace IoC 2 | { 3 | public class DiBindings : IBindingConfiguration 4 | { 5 | public int Order 6 | { 7 | get 8 | { 9 | return int.MinValue; 10 | } 11 | } 12 | 13 | public void Setup() 14 | { 15 | Di.Bind().AsSingleton(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/DiBindings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 818dbbc54a8ddfd42b3378080d3291a3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/DoNotBindAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | /// 9 | /// Expresses that Di should not bind this field. 10 | /// 11 | [AttributeUsage(AttributeTargets.Property)] 12 | public class DoNotBindAttribute : Attribute 13 | { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/DoNotBindAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb1580143689a514294140a29b090a39 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 072e864b4ae671d4b84bba1748217213 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingKeyNotFoundException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingKeyNotFoundException : Exception 8 | { 9 | 10 | public BindingKeyNotFoundException(string message) : base(message) 11 | { 12 | } 13 | 14 | public BindingKeyNotFoundException(string message, Exception innerException) : base(message, innerException) 15 | { 16 | } 17 | 18 | protected BindingKeyNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) 19 | { 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingKeyNotFoundException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1580b38cc8481040a1998e62034db7b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingKeyWithNoReferencesException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingKeyWithNoReferencesException : Exception 8 | { 9 | public BindingKeyWithNoReferencesException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingKeyWithNoReferencesException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingKeyWithNoReferencesException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingKeyWithNoReferencesException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df3ce4448bedd964b9bdaf874098603d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingNotConversionException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingNotConversionException : Exception 8 | { 9 | public BindingNotConversionException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingNotConversionException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingNotConversionException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingNotConversionException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03db50bf46f16414cad2d48aea42e90e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingNotSingletonException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingNotSingletonException : Exception 8 | { 9 | public BindingNotSingletonException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingNotSingletonException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingNotSingletonException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingNotSingletonException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c29fb148fcb4324bbb386ee3e2d5a0c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingPathNotConfiguredException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingPathNotConfiguredException : Exception 8 | { 9 | public BindingPathNotConfiguredException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingPathNotConfiguredException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingPathNotConfiguredException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/BindingPathNotConfiguredException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02b7303277dfa0e4fb865c95586a89f7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/CyclicalDependencyException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class CyclicalDependencyException : Exception 8 | { 9 | public CyclicalDependencyException(string message) : base(message) 10 | { 11 | } 12 | 13 | public CyclicalDependencyException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected CyclicalDependencyException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/CyclicalDependencyException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31a7a69311b10d340b5b5aa5222c1017 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/NoBindingsFoundException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class NoBindingsFoundException : Exception 8 | { 9 | public NoBindingsFoundException(string message) : base(message) 10 | { 11 | } 12 | 13 | public NoBindingsFoundException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected NoBindingsFoundException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/NoBindingsFoundException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de4d85e8b4aa3c2449a9fdb27c5c79e5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/OutputTypeUndefinedException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class OutputTypeUndefinedException : Exception 8 | { 9 | public OutputTypeUndefinedException(string message) : base(message) 10 | { 11 | } 12 | 13 | public OutputTypeUndefinedException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected OutputTypeUndefinedException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Exceptions/OutputTypeUndefinedException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59f60c74e19d17340a51ae8ad7d7e729 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/IBindingConfiguration.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public interface IBindingConfiguration 9 | { 10 | int Order { get; } 11 | void Setup(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/IBindingConfiguration.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 772284541e6bc634c8cf194bc6bce3df 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/ICleanup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public interface ICleanup 9 | { 10 | void Add(IDisposable disposable); 11 | void DisposeAll(); 12 | void Dispose(IDisposable disposable); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/ICleanup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fdfeafa6e4e15649b109bd474e48924 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/IDiBinding.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public interface IDiBinding 9 | { 10 | IDiBinding AsConversion(Func converter); 11 | IDiBinding AsSingleton(); 12 | IDiBinding AsSingleton(Type to); 13 | IDiBinding AsSingleton(object with, object key = null); 14 | IDiBinding To(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/IDiBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecabecb21f2588c4da52ebac58982cf8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Properties.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f670f8ea53e1984190cfdc744dac2f5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("IoC")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("IoC")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("83c8085b-a8e1-4fe3-b8b2-db5ca40e9c40")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Assets/Scripts/IoC/Properties/AssemblyInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc8bb81cc4ff874479feec4153a93da3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Chain Reaction Solid.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 16 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{86D1A4EC-AD6F-B586-8DA0-DFA4CEAE9A68}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {86D1A4EC-AD6F-B586-8DA0-DFA4CEAE9A68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {86D1A4EC-AD6F-B586-8DA0-DFA4CEAE9A68}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {86D1A4EC-AD6F-B586-8DA0-DFA4CEAE9A68}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {86D1A4EC-AD6F-B586-8DA0-DFA4CEAE9A68}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/Logs/Packages-Update.log: -------------------------------------------------------------------------------- 1 | 2 | === Wed Apr 24 14:23:09 2019 3 | 4 | Packages were changed. 5 | Update Mode: resetToDefaultDependencies 6 | 7 | The following packages were added: 8 | com.unity.analytics@3.3.2 9 | com.unity.purchasing@2.0.6 10 | com.unity.ads@2.0.8 11 | com.unity.textmeshpro@2.0.0 12 | com.unity.package-manager-ui@2.1.2 13 | com.unity.collab-proxy@1.2.16 14 | com.unity.timeline@1.0.0 15 | com.unity.modules.ai@1.0.0 16 | com.unity.modules.animation@1.0.0 17 | com.unity.modules.assetbundle@1.0.0 18 | com.unity.modules.audio@1.0.0 19 | com.unity.modules.cloth@1.0.0 20 | com.unity.modules.director@1.0.0 21 | com.unity.modules.imageconversion@1.0.0 22 | com.unity.modules.imgui@1.0.0 23 | com.unity.modules.jsonserialize@1.0.0 24 | com.unity.modules.particlesystem@1.0.0 25 | com.unity.modules.physics@1.0.0 26 | com.unity.modules.physics2d@1.0.0 27 | com.unity.modules.screencapture@1.0.0 28 | com.unity.modules.terrain@1.0.0 29 | com.unity.modules.terrainphysics@1.0.0 30 | com.unity.modules.tilemap@1.0.0 31 | com.unity.modules.ui@1.0.0 32 | com.unity.modules.uielements@1.0.0 33 | com.unity.modules.umbra@1.0.0 34 | com.unity.modules.unityanalytics@1.0.0 35 | com.unity.modules.unitywebrequest@1.0.0 36 | com.unity.modules.unitywebrequestassetbundle@1.0.0 37 | com.unity.modules.unitywebrequestaudio@1.0.0 38 | com.unity.modules.unitywebrequesttexture@1.0.0 39 | com.unity.modules.unitywebrequestwww@1.0.0 40 | com.unity.modules.vehicles@1.0.0 41 | com.unity.modules.video@1.0.0 42 | com.unity.modules.vr@1.0.0 43 | com.unity.modules.wind@1.0.0 44 | com.unity.modules.xr@1.0.0 45 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | m_VirtualizeEffects: 1 17 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 0 10 | m_SpritePackerMode: 2 11 | m_SpritePackerPaddingPower: 1 12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 13 | m_ProjectGenerationRootNamespace: 14 | m_UserGeneratedProjectSuffix: 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_AlwaysShowColliders: 0 26 | m_ShowColliderSleep: 1 27 | m_ShowColliderContacts: 0 28 | m_ShowColliderAABB: 0 29 | m_ContactArrowScale: 0.2 30 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 31 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 32 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 33 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 34 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 35 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.1.0f2 2 | m_EditorVersionWithRevision: 2019.1.0f2 (292b93d75a2c) 3 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | CrashReportingSettings: 11 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 12 | m_Enabled: 0 13 | m_CaptureEditorExceptions: 1 14 | UnityPurchasingSettings: 15 | m_Enabled: 0 16 | m_TestMode: 0 17 | UnityAnalyticsSettings: 18 | m_Enabled: 1 19 | m_InitializeOnStartup: 1 20 | m_TestMode: 0 21 | m_TestEventUrl: 22 | m_TestConfigUrl: 23 | UnityAdsSettings: 24 | m_Enabled: 0 25 | m_InitializeOnStartup: 1 26 | m_TestMode: 0 27 | m_EnabledPlatforms: 4294967295 28 | m_IosGameId: 29 | m_AndroidGameId: 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/BehavioursBindings.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Interfaces; 3 | 4 | namespace Behaviours 5 | { 6 | public class BehavioursBindings : IBindingConfiguration 7 | { 8 | public int Order => 1; 9 | 10 | public void Setup() 11 | { 12 | 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Behaviours")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Behaviours")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("50edb8cd-72d1-49c1-8b63-8d736fad3273")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/Ball.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Domain.Enums; 3 | using Lib.Domain.Configurations; 4 | using Lib.Interfaces; 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Text; 9 | using UnityBase; 10 | using UnityEngine; 11 | using Lib.Domain.Controllers; 12 | 13 | namespace Behaviours.Views 14 | { 15 | public class Ball : InjectBehaviour, IBall 16 | { 17 | 18 | public GameObject GameObject => gameObject; 19 | 20 | public Material Material { get; set; } 21 | 22 | 23 | public IGame Game { get; set; } 24 | 25 | public IGameController GameController {get; set;} 26 | 27 | public IScore Score { get; set; } 28 | 29 | public IGameConfig Config { get; set; } 30 | 31 | 32 | public string MaterialName 33 | { 34 | get => Material.name; 35 | } 36 | 37 | public Vector3 TransformPosition 38 | { 39 | get => gameObject.transform.position; 40 | set => gameObject.transform.position = value; 41 | } 42 | 43 | 44 | 45 | 46 | // Use this for initialization 47 | void Start() 48 | { 49 | GameController.BallCollection.Add(this); 50 | Material = Config.GetMaterial().Material; 51 | GetComponent().material = Material; 52 | this.Score = Di.Get(); 53 | this.Config = Di.Get(); 54 | } 55 | 56 | private void OnDestroy() 57 | { 58 | GameController.BallCollection.Remove(this); 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/FadeReactor.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityEngine; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public class FadeReactor : Reactor, IFadeReactor, IReactor 11 | { 12 | 13 | private bool CountDownToDestroy = false; 14 | 15 | private bool Ending = false; 16 | 17 | private float CountDownTimer = 0; 18 | 19 | public float FadeTime = 1f; 20 | 21 | private float FadeBase = 0; 22 | 23 | private Color Color = Color.white; 24 | 25 | private Renderer Renderer = null; 26 | 27 | public void Start() 28 | { 29 | Renderer = GetComponent(); 30 | } 31 | 32 | public override void ActivateDestructionIn(float time) 33 | { 34 | CountDownToDestroy = true; 35 | CountDownTimer = time; 36 | } 37 | 38 | // Update is called once per frame 39 | void Update() 40 | { 41 | if (!CountDownToDestroy && !Ending) return; 42 | 43 | if (CountDownToDestroy) 44 | { 45 | CountDownTimer -= Time.deltaTime; 46 | if (CountDownTimer < 0) 47 | { 48 | CountDownToDestroy = false; 49 | Ending = true; 50 | FadeBase = 1 / FadeTime; 51 | Color = Renderer.material.color; 52 | } 53 | } 54 | 55 | if (Ending) 56 | { 57 | FadeTime -= Time.deltaTime; 58 | Color.a = FadeBase * FadeTime; 59 | Renderer.material.color = Color; 60 | if (FadeTime < 0) Destroy(gameObject); 61 | } 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/Game.cs: -------------------------------------------------------------------------------- 1 | using Behaviours.ViewModels; 2 | using IoC; 3 | using Lib.Domain.Configurations; 4 | using Lib.Domain.Controllers; 5 | using Lib.Interfaces; 6 | using System.Collections.Generic; 7 | using UnityBase; 8 | using UnityEngine; 9 | 10 | namespace Behaviours.Views 11 | { 12 | public class Game : InjectBehaviour, IGame 13 | { 14 | public IGameController GameController { get; set; } 15 | 16 | public GameConfig Configuration; 17 | 18 | public Transform[] BallDropLocations; 19 | 20 | /// 21 | /// when @0, ball drops, resets to ball drop frequency. 22 | /// 23 | private float DropCounter = 0; 24 | 25 | public Game() 26 | { 27 | Di.Bind().AsSingleton(this); 28 | } 29 | 30 | void Start() 31 | { 32 | Di.Bind().AsSingleton(Configuration); 33 | } 34 | 35 | // Update is called once per frame 36 | void Update() 37 | { 38 | DropCounter -= Time.deltaTime; 39 | if (DropCounter > 0) return; 40 | 41 | DropCounter = Configuration.ballDropFrequency; 42 | 43 | var dropPrefab = Configuration.GetBallPrefab().GameObject; 44 | var dropLocation = GetBallDropLocation(); 45 | 46 | var ball = GameObject.Instantiate( 47 | dropPrefab, 48 | dropLocation.position, 49 | Quaternion.identity); 50 | } 51 | 52 | private Transform GetBallDropLocation() 53 | { 54 | var index = Random.Range( 55 | 0, 56 | BallDropLocations.Length); 57 | 58 | return BallDropLocations[index]; 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/MouseManager.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Domain.Controllers; 3 | using Lib.Interfaces; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Text; 8 | using UnityBase; 9 | using UnityEngine; 10 | 11 | namespace Behaviours.Views 12 | { 13 | public class MouseManager : InjectBehaviour 14 | { 15 | public IMouseManagerController Controller { get; set; } 16 | 17 | void Update() 18 | { 19 | if (Input.GetMouseButtonDown(0)) 20 | { 21 | var ray = Camera.main.ScreenPointToRay(Input.mousePosition); 22 | RaycastHit hit; 23 | var didHit = Physics.Raycast(ray, out hit); 24 | 25 | if (didHit) 26 | { 27 | var ball = hit.collider.gameObject.GetComponent(); 28 | if (ball == null) 29 | { 30 | return; 31 | } 32 | 33 | if (Controller == null) 34 | { 35 | Controller = Di.Get(); 36 | } 37 | 38 | Controller.BallClicked(ball); 39 | } 40 | } 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/ReactorBase.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityBase; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public abstract class Reactor : InjectBehaviour, IReactor 11 | { 12 | 13 | public abstract void ActivateDestructionIn(float time); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/ScoreView.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Interfaces; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using UnityBase; 8 | using UnityEngine.UI; 9 | 10 | namespace Behaviours.Views 11 | { 12 | public class Score : InjectBehaviour, IScore 13 | { 14 | 15 | public Text DisplayCaption; 16 | 17 | public int TotalScore { get; set; } 18 | 19 | public Score() 20 | { 21 | Di.Bind().AsSingleton(this); 22 | } 23 | 24 | public void Update() 25 | { 26 | DisplayCaption.text = "Score: " + TotalScore; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/ShrinkReactor.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityEngine; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public class ShrinkReactor : Reactor, IShrinkReactor, IReactor 11 | { 12 | 13 | private bool CountDownToDestroy = false; 14 | 15 | private bool Ending = false; 16 | 17 | private float CountDownTimer = 0; 18 | 19 | public float ShrinkTime = 1f; 20 | 21 | private float ShrinkBase = 0; 22 | 23 | public override void ActivateDestructionIn(float time) 24 | { 25 | CountDownToDestroy = true; 26 | CountDownTimer = time; 27 | } 28 | 29 | // Update is called once per frame 30 | void Update() 31 | { 32 | if (!CountDownToDestroy && !Ending) return; 33 | 34 | if (CountDownToDestroy) 35 | { 36 | CountDownTimer -= Time.deltaTime; 37 | if (CountDownTimer < 0) 38 | { 39 | CountDownToDestroy = false; 40 | Ending = true; 41 | ShrinkBase = 1 / ShrinkTime; 42 | } 43 | } 44 | 45 | if (Ending) 46 | { 47 | ShrinkTime -= Time.deltaTime; 48 | transform.localScale *= ShrinkBase * ShrinkTime; 49 | if (ShrinkTime < 0) Destroy(gameObject); 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Behaviours/Views/SlipReactor.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityEngine; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public class SlipReactor : Reactor, ISlipReactor, IReactor 11 | { 12 | 13 | public Vector3 LaunchForce = Vector3.one; 14 | 15 | public float LowestPosition = 0; 16 | 17 | private bool CountDownToDestroy = false; 18 | 19 | private bool Ending = false; 20 | 21 | private float CountDownTimer = 0; 22 | 23 | private Rigidbody Body = null; 24 | 25 | 26 | 27 | public void Start() 28 | { 29 | Body = GetComponent(); 30 | } 31 | 32 | public override void ActivateDestructionIn(float time) 33 | { 34 | CountDownToDestroy = true; 35 | CountDownTimer = time; 36 | } 37 | 38 | // Update is called once per frame 39 | void Update() 40 | { 41 | if (!CountDownToDestroy && !Ending) return; 42 | 43 | if (CountDownToDestroy) 44 | { 45 | CountDownTimer -= Time.deltaTime; 46 | if (CountDownTimer < 0) 47 | { 48 | CountDownToDestroy = false; 49 | Ending = true; 50 | Body.constraints = RigidbodyConstraints.None; 51 | Body.AddForce(LaunchForce); 52 | } 53 | } 54 | 55 | if (Ending) 56 | { 57 | if (transform.position.y < LowestPosition) Destroy(gameObject); 58 | } 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("Lib.Tests")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyConfiguration("")] 8 | [assembly: AssemblyCompany("")] 9 | [assembly: AssemblyProduct("Lib.Tests")] 10 | [assembly: AssemblyCopyright("Copyright © 2017")] 11 | [assembly: AssemblyTrademark("")] 12 | [assembly: AssemblyCulture("")] 13 | 14 | [assembly: ComVisible(false)] 15 | 16 | [assembly: Guid("b09278d3-9efe-4c1f-833f-edfe9b6c121e")] 17 | 18 | // [assembly: AssemblyVersion("1.0.*")] 19 | [assembly: AssemblyVersion("1.0.0.0")] 20 | [assembly: AssemblyFileVersion("1.0.0.0")] 21 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/DiBindings.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Domain.Controllers; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace Lib 9 | { 10 | public class DiBindings : IBindingConfiguration 11 | { 12 | public int Order => 0; 13 | 14 | public void Setup() 15 | { 16 | Di.Bind() 17 | .AsSingleton(); 18 | Di.Bind() 19 | .AsSingleton(); 20 | Di.Bind() 21 | .AsSingleton(); 22 | 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Domain/Configurations/IGameConfig.cs: -------------------------------------------------------------------------------- 1 | using Lib.Domain.Enums; 2 | using UnityBase.Objects; 3 | 4 | namespace Lib.Domain.Configurations 5 | { 6 | public interface IGameConfig 7 | { 8 | /// 9 | /// How long between each chain reaction 10 | /// 11 | float TimeBetweenReactions { get; } 12 | 13 | /// 14 | /// How much score for one ball 15 | /// 16 | float ScorePerBall { get; } 17 | 18 | /// 19 | /// How much multiplier for each additional ball in the chain 20 | /// 21 | float CountMultiplier { get; } 22 | 23 | /// 24 | /// How often does another ball drop. 25 | /// 26 | float BallDropFrequency { get; } 27 | 28 | /// 29 | /// How far from another ball to count as touching. 30 | /// 31 | float BallTouchRange { get; } 32 | 33 | /// 34 | /// Select a random Prefab 35 | /// 36 | /// 37 | IGameObject GetBallPrefab(); 38 | 39 | /// 40 | /// Select a Random Material 41 | /// 42 | /// 43 | IMaterial GetMaterial(); 44 | 45 | /// 46 | /// Select a Random Reactor 47 | /// 48 | /// 49 | ReactorTypes GetReactor(); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Domain/Controllers/GameController.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace Lib.Domain.Controllers 8 | { 9 | public interface IGameController 10 | { 11 | List BallCollection { get; } 12 | } 13 | public class GameController : IGameController 14 | { 15 | private List _BallCollection = new List(); 16 | public List BallCollection { get => _BallCollection; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Domain/Controllers/MouseManagerController.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Interfaces; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace Lib.Domain.Controllers 9 | { 10 | public interface IMouseManagerController 11 | { 12 | void BallClicked(IBall ball); 13 | } 14 | public class MouseManagerController : IMouseManagerController 15 | { 16 | public void BallClicked(IBall ball) 17 | { 18 | Di.Get().StartReaction(ball); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Domain/Enums/ReactorTypes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Domain.Enums 7 | { 8 | public enum ReactorTypes 9 | { 10 | Fade, 11 | Shrink, 12 | Slip 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Interfaces/IBall.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityBase.Objects; 6 | 7 | namespace Lib.Interfaces 8 | { 9 | public interface IBall : IGameObject 10 | { 11 | string MaterialName { get; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Interfaces/IFadeReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IFadeReactor : IReactor 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Interfaces/IGame.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IGame 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Interfaces/IReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IReactor 9 | { 10 | void ActivateDestructionIn(float time); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Interfaces/IScore.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IScore 9 | { 10 | int TotalScore { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Interfaces/IShrinkReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IShrinkReactor : IReactor 9 | { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Interfaces/ISlipReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface ISlipReactor : IReactor 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/Lib/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Lib")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Lib")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("dec37202-1c63-4844-85c4-e2c2ddf81248")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/DiBindings.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityBase.Objects; 7 | using UnityBase.Statics; 8 | using UnityEngine; 9 | 10 | namespace UnityBase 11 | { 12 | public class DiBindings : IBindingConfiguration 13 | { 14 | public int Order => -1; 15 | 16 | public void Setup() 17 | { 18 | Di.Bind().AsSingleton(typeof(DiDebug)); 19 | 20 | 21 | 22 | Di.Bind().AsConversion((o) => 23 | { 24 | var go = (IGameObject)o; 25 | return go.GameObject; 26 | }); 27 | 28 | Di.Bind().AsConversion((o)=> 29 | { 30 | return new DiGameObject() 31 | { 32 | GameObject = (GameObject)o 33 | }; 34 | }); 35 | 36 | Di.Bind().AsConversion((o) => 37 | { 38 | return new DiMaterial() 39 | { 40 | Material = (Material)o 41 | }; 42 | }); 43 | 44 | Di.Bind().AsConversion((o) => 45 | { 46 | var m = (IMaterial)o; 47 | return m.Material; 48 | }); 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/InjectBehaviour.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using UnityEngine; 3 | 4 | namespace UnityBase 5 | { 6 | public class InjectBehaviour : MonoBehaviour 7 | { 8 | /// 9 | /// Populates the object 10 | /// 11 | public InjectBehaviour() 12 | { 13 | Di.Inject(this); 14 | } 15 | 16 | public void Start() 17 | { 18 | Di.Inject(this, ignoreSetValues: true); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/Objects/DiGameObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public class DiGameObject : IGameObject 10 | { 11 | public GameObject GameObject { get; set; } 12 | 13 | public Vector3 TransformPosition 14 | { 15 | get => GameObject.transform.position; 16 | set => GameObject.transform.position = value; 17 | } 18 | 19 | public T GetComponent() 20 | { 21 | return GameObject.GetComponent(); 22 | } 23 | 24 | public override bool Equals(object obj) 25 | { 26 | if (obj is DiGameObject) 27 | { 28 | var diGO = (DiGameObject)obj; 29 | obj = diGO.GameObject; 30 | } 31 | 32 | return GameObject.Equals(obj); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/Objects/DiMaterial.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public class DiMaterial : IMaterial 10 | { 11 | public Material Material { get; set; } 12 | 13 | public Color Color 14 | { 15 | get => Material.color; 16 | set => Material.color = value; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/Objects/IGameObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public interface IGameObject 10 | { 11 | GameObject GameObject { get; } 12 | 13 | Vector3 TransformPosition { get; set; } 14 | 15 | T GetComponent(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/Objects/IMaterial.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public interface IMaterial 10 | { 11 | Material Material { get; set; } 12 | 13 | Color Color { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("UnityBase")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("UnityBase")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("a90cb09d-bb08-4722-9051-44d2021653d3")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID Unity/Chain Reaction Solid/VS/UnityBase/Statics/IDebug.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace UnityBase.Statics 7 | { 8 | public interface IDebug 9 | { 10 | void Break(); 11 | void DebugBreak(); 12 | void Log(System.Object message); 13 | void LogFormat(string format, System.Object[] args); 14 | void LogError(System.Object message); 15 | void LogErrorFormat(string format, System.Object[] args); 16 | void ClearDeveloperConsole(); 17 | void LogException(System.Exception exception); 18 | void LogWarning(System.Object message); 19 | void LogWarningFormat(string format, System.Object[] args); 20 | void Assert(bool condition); 21 | void Assert(bool condition, System.Object message); 22 | void Assert(bool condition, string message); 23 | void AssertFormat(bool condition, string format, System.Object[] args); 24 | void LogAssertion(System.Object message); 25 | void LogAssertionFormat(string format, System.Object[] args); 26 | bool developerConsoleVisible { get; set; } 27 | bool isDebugBuild { get; } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a6b3ee206602e24eb46147f6336297c 3 | folderAsset: yes 4 | timeCreated: 1496110353 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Colors Fade.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Colors Fade 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | materials: 17 | - {fileID: 2100000, guid: 08cdaa6133e0bc04a98e754d83c88ee5, type: 2} 18 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 19 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 20 | - {fileID: 2100000, guid: 6da41a94ba1ca9f48b43e6fddf0682b5, type: 2} 21 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 22 | - {fileID: 2100000, guid: a7968a10fb2496c458ec71e94f6ccd7d, type: 2} 23 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 24 | Reactors: 00000000 25 | timeBetweenReactions: 0.05 26 | scorePerBall: 1 27 | countMultiplier: 2 28 | ballDropFrequency: 0.05 29 | ballTouchRange: 1.5 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Colors Fade.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2a3b35c2f471494a8d1cebd69ae17b9 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Prefabs Fade.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Prefabs Fade 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | materials: 18 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 19 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 20 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 21 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 22 | Reactors: 00000000 23 | timeBetweenReactions: 0.05 24 | scorePerBall: 1 25 | countMultiplier: 2 26 | ballDropFrequency: 0.05 27 | ballTouchRange: 1.5 28 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Prefabs Fade.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e62922fc6e59e51449cc37c77f065fe5 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Prefabs Shrink.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Prefabs Shrink 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | materials: 18 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 19 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 20 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 21 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 22 | Reactors: 01000000 23 | timeBetweenReactions: 0.05 24 | scorePerBall: 1 25 | countMultiplier: 2 26 | ballDropFrequency: 0.05 27 | ballTouchRange: 1.5 28 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Prefabs Shrink.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 127091a637f06124693467113bef70d4 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Prefabs Slip.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 197973990, guid: cef6370384e7e0c4b9ef3110d5ba6a97, type: 3} 12 | m_Name: All Prefabs Slip 13 | m_EditorClassIdentifier: 14 | ballPrefabs: 15 | - {fileID: 1709816628216644, guid: a6ac56fc87579e04aaa001e1bf03164d, type: 2} 16 | - {fileID: 1853515536532302, guid: a0f0ca3a674c8684d920d0e8b635cf31, type: 2} 17 | materials: 18 | - {fileID: 2100000, guid: c274223263898ba44ad488188ba3bb0c, type: 2} 19 | - {fileID: 2100000, guid: 66594632b87b9e2449d3bc58c087d63a, type: 2} 20 | - {fileID: 2100000, guid: d1daa772f291dc94f9d1eb764c1e3b43, type: 2} 21 | - {fileID: 2100000, guid: cb0c3e346d552f34f8ab0a90d69bd0d1, type: 2} 22 | Reactors: 02000000 23 | timeBetweenReactions: 0.05 24 | scorePerBall: 1 25 | countMultiplier: 2 26 | ballDropFrequency: 0.05 27 | ballTouchRange: 1.5 28 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Configs/All Prefabs Slip.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5266930a2835bfe4cb36d3887ccdfccb 3 | timeCreated: 1496110422 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca0a0d4d3af24d84c8d93427530e18fc 3 | folderAsset: yes 4 | timeCreated: 1496111258 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials/Black.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08cdaa6133e0bc04a98e754d83c88ee5 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials/Blue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb0c3e346d552f34f8ab0a90d69bd0d1 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials/Green.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1daa772f291dc94f9d1eb764c1e3b43 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials/Purple.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6da41a94ba1ca9f48b43e6fddf0682b5 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials/Red.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66594632b87b9e2449d3bc58c087d63a 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials/White.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7968a10fb2496c458ec71e94f6ccd7d 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Materials/Yellow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c274223263898ba44ad488188ba3bb0c 3 | timeCreated: 1496111266 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6789b44726e2db488cdfb00b7573ca8 3 | folderAsset: yes 4 | timeCreated: 1496487383 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.dll.mdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e61cfd0cb4a2a0843b9afa187a587723 3 | timeCreated: 1496528947 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cef6370384e7e0c4b9ef3110d5ba6a97 3 | timeCreated: 1496487649 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 1 14 | settings: {} 15 | Editor: 16 | enabled: 0 17 | settings: 18 | DefaultValueInitialized: true 19 | WindowsStoreApps: 20 | enabled: 0 21 | settings: 22 | CPU: AnyCPU 23 | userData: 24 | assetBundleName: 25 | assetBundleVariant: 26 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.pdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Behaviours.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acd26db1facc988479e4dfb03c22d788 3 | timeCreated: 1496487646 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.dll.mdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed1496efd27e5c347bcb24405c066cde 3 | timeCreated: 1496528947 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4d8da20c86f72b49959f978f69c659d 3 | timeCreated: 1496487649 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 1 14 | settings: {} 15 | Editor: 16 | enabled: 0 17 | settings: 18 | DefaultValueInitialized: true 19 | WindowsStoreApps: 20 | enabled: 0 21 | settings: 22 | CPU: AnyCPU 23 | userData: 24 | assetBundleName: 25 | assetBundleVariant: 26 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.pdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/IoC.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c137383241c1df449a87099ad40935ed 3 | timeCreated: 1496487646 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.dll.mdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e13ea49dfee2c6c4e891da786b438c25 3 | timeCreated: 1496528947 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95764b1d3f64d544ba23a45a0493bda0 3 | timeCreated: 1496487647 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 1 14 | settings: {} 15 | Editor: 16 | enabled: 0 17 | settings: 18 | DefaultValueInitialized: true 19 | WindowsStoreApps: 20 | enabled: 0 21 | settings: 22 | CPU: AnyCPU 23 | userData: 24 | assetBundleName: 25 | assetBundleVariant: 26 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.pdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/Lib.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 065d90dd96db2b3489ad63dcc0af01eb 3 | timeCreated: 1496487646 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.dll.mdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2466a85027969ae479bad0a38b19339a 3 | timeCreated: 1496528947 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b527a039c822e8746a60970732722298 3 | timeCreated: 1496487385 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 1 14 | settings: {} 15 | Editor: 16 | enabled: 0 17 | settings: 18 | DefaultValueInitialized: true 19 | WindowsStoreApps: 20 | enabled: 0 21 | settings: 22 | CPU: AnyCPU 23 | userData: 24 | assetBundleName: 25 | assetBundleVariant: 26 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.pdb -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Plugins/UnityBase.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c1cb80b4a8405849ac4254769c36bff 3 | timeCreated: 1496487383 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 012935b2c69b85242a68dbd54693c316 3 | folderAsset: yes 4 | timeCreated: 1496110256 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Prefabs/Ball.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6ac56fc87579e04aaa001e1bf03164d 3 | timeCreated: 1496110264 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Prefabs/Cube (3).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0f0ca3a674c8684d920d0e8b635cf31 3 | timeCreated: 1496110936 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db280530b576dc2478f07a4ce008030c 3 | folderAsset: yes 4 | timeCreated: 1496109921 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Assets/Scenes/Game.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 932a1be0e01dbeb4289f627604aa6750 3 | timeCreated: 1496109936 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/Chain Reaction Solid.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2017 4 | Global 5 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 6 | Debug|Any CPU = Debug|Any CPU 7 | Release|Any CPU = Release|Any CPU 8 | EndGlobalSection 9 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 10 | EndGlobalSection 11 | GlobalSection(SolutionProperties) = preSolution 12 | HideSolutionNode = FALSE 13 | EndGlobalSection 14 | EndGlobal 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | m_VirtualizeEffects: 1 17 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 0 10 | m_SpritePackerMode: 2 11 | m_SpritePackerPaddingPower: 1 12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 13 | m_ProjectGenerationRootNamespace: 14 | m_UserGeneratedProjectSuffix: 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_AlwaysShowColliders: 0 26 | m_ShowColliderSleep: 1 27 | m_ShowColliderContacts: 0 28 | m_ShowColliderAABB: 0 29 | m_ContactArrowScale: 0.2 30 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 31 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 32 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 33 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 34 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 35 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.5.2f1 2 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | CrashReportingSettings: 11 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 12 | m_Enabled: 0 13 | m_CaptureEditorExceptions: 1 14 | UnityPurchasingSettings: 15 | m_Enabled: 0 16 | m_TestMode: 0 17 | UnityAnalyticsSettings: 18 | m_Enabled: 1 19 | m_InitializeOnStartup: 1 20 | m_TestMode: 0 21 | m_TestEventUrl: 22 | m_TestConfigUrl: 23 | UnityAdsSettings: 24 | m_Enabled: 0 25 | m_InitializeOnStartup: 1 26 | m_TestMode: 0 27 | m_EnabledPlatforms: 4294967295 28 | m_IosGameId: 29 | m_AndroidGameId: 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/BehavioursBindings.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Interfaces; 3 | 4 | namespace Behaviours 5 | { 6 | public class BehavioursBindings : IBindingConfiguration 7 | { 8 | public int Order => 1; 9 | 10 | public void Setup() 11 | { 12 | 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Behaviours")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Behaviours")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("50edb8cd-72d1-49c1-8b63-8d736fad3273")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/Ball.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Domain.Enums; 3 | using Lib.Domain.Configurations; 4 | using Lib.Interfaces; 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Text; 9 | using UnityBase; 10 | using UnityEngine; 11 | using Lib.Domain.Controllers; 12 | 13 | namespace Behaviours.Views 14 | { 15 | public class Ball : InjectBehaviour, IBall 16 | { 17 | 18 | public GameObject GameObject => gameObject; 19 | 20 | public Material Material { get; set; } 21 | 22 | 23 | public IGame Game { get; set; } 24 | 25 | public IGameController GameController {get; set;} 26 | 27 | public IScore Score { get; set; } 28 | 29 | public IGameConfig Config { get; set; } 30 | 31 | 32 | public string MaterialName 33 | { 34 | get => Material.name; 35 | } 36 | 37 | public Vector3 TransformPosition 38 | { 39 | get => gameObject.transform.position; 40 | set => gameObject.transform.position = value; 41 | } 42 | 43 | 44 | 45 | 46 | // Use this for initialization 47 | void Start() 48 | { 49 | GameController.BallCollection.Add(this); 50 | Material = Config.GetMaterial().Material; 51 | GetComponent().material = Material; 52 | this.Score = Di.Get(); 53 | this.Config = Di.Get(); 54 | } 55 | 56 | private void OnDestroy() 57 | { 58 | GameController.BallCollection.Remove(this); 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/FadeReactor.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityEngine; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public class FadeReactor : Reactor, IFadeReactor, IReactor 11 | { 12 | 13 | private bool CountDownToDestroy = false; 14 | 15 | private bool Ending = false; 16 | 17 | private float CountDownTimer = 0; 18 | 19 | public float FadeTime = 1f; 20 | 21 | private float FadeBase = 0; 22 | 23 | private Color Color = Color.white; 24 | 25 | private Renderer Renderer = null; 26 | 27 | public void Start() 28 | { 29 | Renderer = GetComponent(); 30 | } 31 | 32 | public override void ActivateDestructionIn(float time) 33 | { 34 | CountDownToDestroy = true; 35 | CountDownTimer = time; 36 | } 37 | 38 | // Update is called once per frame 39 | void Update() 40 | { 41 | if (!CountDownToDestroy && !Ending) return; 42 | 43 | if (CountDownToDestroy) 44 | { 45 | CountDownTimer -= Time.deltaTime; 46 | if (CountDownTimer < 0) 47 | { 48 | CountDownToDestroy = false; 49 | Ending = true; 50 | FadeBase = 1 / FadeTime; 51 | Color = Renderer.material.color; 52 | } 53 | } 54 | 55 | if (Ending) 56 | { 57 | FadeTime -= Time.deltaTime; 58 | Color.a = FadeBase * FadeTime; 59 | Renderer.material.color = Color; 60 | if (FadeTime < 0) Destroy(gameObject); 61 | } 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/Game.cs: -------------------------------------------------------------------------------- 1 | using Behaviours.ViewModels; 2 | using IoC; 3 | using Lib.Domain.Configurations; 4 | using Lib.Domain.Controllers; 5 | using Lib.Interfaces; 6 | using System.Collections.Generic; 7 | using UnityBase; 8 | using UnityEngine; 9 | 10 | namespace Behaviours.Views 11 | { 12 | public class Game : InjectBehaviour, IGame 13 | { 14 | public IGameController GameController { get; set; } 15 | 16 | public GameConfig Configuration; 17 | 18 | public Transform[] BallDropLocations; 19 | 20 | /// 21 | /// when @0, ball drops, resets to ball drop frequency. 22 | /// 23 | private float DropCounter = 0; 24 | 25 | public Game() 26 | { 27 | Di.Bind().AsSingleton(this); 28 | } 29 | 30 | void Start() 31 | { 32 | Di.Bind().AsSingleton(Configuration); 33 | } 34 | 35 | // Update is called once per frame 36 | void Update() 37 | { 38 | DropCounter -= Time.deltaTime; 39 | if (DropCounter > 0) return; 40 | 41 | DropCounter = Configuration.ballDropFrequency; 42 | 43 | var dropPrefab = Configuration.GetBallPrefab().GameObject; 44 | var dropLocation = GetBallDropLocation(); 45 | 46 | var ball = GameObject.Instantiate( 47 | dropPrefab, 48 | dropLocation.position, 49 | Quaternion.identity); 50 | } 51 | 52 | private Transform GetBallDropLocation() 53 | { 54 | var index = Random.Range( 55 | 0, 56 | BallDropLocations.Length); 57 | 58 | return BallDropLocations[index]; 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/MouseManager.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Domain.Controllers; 3 | using Lib.Interfaces; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Text; 8 | using UnityBase; 9 | using UnityEngine; 10 | 11 | namespace Behaviours.Views 12 | { 13 | public class MouseManager : InjectBehaviour 14 | { 15 | public IMouseManagerController Controller { get; set; } 16 | 17 | void Update() 18 | { 19 | if (Input.GetMouseButtonDown(0)) 20 | { 21 | var ray = Camera.main.ScreenPointToRay(Input.mousePosition); 22 | RaycastHit hit; 23 | var didHit = Physics.Raycast(ray, out hit); 24 | 25 | if (didHit) 26 | { 27 | var ball = hit.collider.gameObject.GetComponent(); 28 | if (ball == null) 29 | { 30 | return; 31 | } 32 | 33 | if (Controller == null) 34 | { 35 | Controller = Di.Get(); 36 | } 37 | 38 | Controller.BallClicked(ball); 39 | } 40 | } 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/ReactorBase.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityBase; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public abstract class Reactor : InjectBehaviour, IReactor 11 | { 12 | 13 | public abstract void ActivateDestructionIn(float time); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/ScoreView.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Interfaces; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using UnityBase; 8 | using UnityEngine.UI; 9 | 10 | namespace Behaviours.Views 11 | { 12 | public class Score : InjectBehaviour, IScore 13 | { 14 | 15 | public Text DisplayCaption; 16 | 17 | public int TotalScore { get; set; } 18 | 19 | public Score() 20 | { 21 | Di.Bind().AsSingleton(this); 22 | } 23 | 24 | public void Update() 25 | { 26 | DisplayCaption.text = "Score: " + TotalScore; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/ShrinkReactor.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityEngine; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public class ShrinkReactor : Reactor, IShrinkReactor, IReactor 11 | { 12 | 13 | private bool CountDownToDestroy = false; 14 | 15 | private bool Ending = false; 16 | 17 | private float CountDownTimer = 0; 18 | 19 | public float ShrinkTime = 1f; 20 | 21 | private float ShrinkBase = 0; 22 | 23 | public override void ActivateDestructionIn(float time) 24 | { 25 | CountDownToDestroy = true; 26 | CountDownTimer = time; 27 | } 28 | 29 | // Update is called once per frame 30 | void Update() 31 | { 32 | if (!CountDownToDestroy && !Ending) return; 33 | 34 | if (CountDownToDestroy) 35 | { 36 | CountDownTimer -= Time.deltaTime; 37 | if (CountDownTimer < 0) 38 | { 39 | CountDownToDestroy = false; 40 | Ending = true; 41 | ShrinkBase = 1 / ShrinkTime; 42 | } 43 | } 44 | 45 | if (Ending) 46 | { 47 | ShrinkTime -= Time.deltaTime; 48 | transform.localScale *= ShrinkBase * ShrinkTime; 49 | if (ShrinkTime < 0) Destroy(gameObject); 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Behaviours/Views/SlipReactor.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityEngine; 7 | 8 | namespace Behaviours.Views 9 | { 10 | public class SlipReactor : Reactor, ISlipReactor, IReactor 11 | { 12 | 13 | public Vector3 LaunchForce = Vector3.one; 14 | 15 | public float LowestPosition = 0; 16 | 17 | private bool CountDownToDestroy = false; 18 | 19 | private bool Ending = false; 20 | 21 | private float CountDownTimer = 0; 22 | 23 | private Rigidbody Body = null; 24 | 25 | 26 | 27 | public void Start() 28 | { 29 | Body = GetComponent(); 30 | } 31 | 32 | public override void ActivateDestructionIn(float time) 33 | { 34 | CountDownToDestroy = true; 35 | CountDownTimer = time; 36 | } 37 | 38 | // Update is called once per frame 39 | void Update() 40 | { 41 | if (!CountDownToDestroy && !Ending) return; 42 | 43 | if (CountDownToDestroy) 44 | { 45 | CountDownTimer -= Time.deltaTime; 46 | if (CountDownTimer < 0) 47 | { 48 | CountDownToDestroy = false; 49 | Ending = true; 50 | Body.constraints = RigidbodyConstraints.None; 51 | Body.AddForce(LaunchForce); 52 | } 53 | } 54 | 55 | if (Ending) 56 | { 57 | if (transform.position.y < LowestPosition) Destroy(gameObject); 58 | } 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/BindingStyle.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public enum BindingStyle 9 | { 10 | Undefined, 11 | ByInstance, 12 | ByConversion, 13 | BySingleton 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Cleanup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace IoC 8 | { 9 | public class Cleanup : ICleanup 10 | { 11 | private List Disposables = new List(); 12 | 13 | public void Add(IDisposable disposable) 14 | { 15 | Disposables.Add(disposable); 16 | } 17 | 18 | public void Dispose(IDisposable disposable) 19 | { 20 | Disposables.Remove(disposable); 21 | disposable.Dispose(); 22 | } 23 | 24 | public void DisposeAll() 25 | { 26 | foreach (var disposable in Disposables) 27 | { 28 | try 29 | { 30 | Debug.WriteLine("ThreadCleanup.DisposeAll : " + disposable.GetType().Name); 31 | disposable.Dispose(); 32 | } 33 | catch (Exception ex) 34 | { 35 | Debug.WriteLine("ThreadCleanup.DisposeAll Exception : " + ex.GetType()); 36 | Debug.WriteLine(" - " + ex.Message); 37 | } 38 | } 39 | Disposables.Clear(); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/DiBindings.cs: -------------------------------------------------------------------------------- 1 | namespace IoC 2 | { 3 | public class DiBindings : IBindingConfiguration 4 | { 5 | public int Order 6 | { 7 | get 8 | { 9 | return int.MinValue; 10 | } 11 | } 12 | 13 | public void Setup() 14 | { 15 | Di.Bind().AsSingleton(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/DoNotBindAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | /// 9 | /// Expresses that Di should not bind this field. 10 | /// 11 | [AttributeUsage(AttributeTargets.Property)] 12 | public class DoNotBindAttribute : Attribute 13 | { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/BindingKeyNotFoundException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingKeyNotFoundException : Exception 8 | { 9 | 10 | public BindingKeyNotFoundException(string message) : base(message) 11 | { 12 | } 13 | 14 | public BindingKeyNotFoundException(string message, Exception innerException) : base(message, innerException) 15 | { 16 | } 17 | 18 | protected BindingKeyNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) 19 | { 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/BindingKeyWithNoReferencesException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingKeyWithNoReferencesException : Exception 8 | { 9 | public BindingKeyWithNoReferencesException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingKeyWithNoReferencesException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingKeyWithNoReferencesException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/BindingNotConversionException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingNotConversionException : Exception 8 | { 9 | public BindingNotConversionException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingNotConversionException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingNotConversionException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/BindingNotSingletonException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingNotSingletonException : Exception 8 | { 9 | public BindingNotSingletonException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingNotSingletonException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingNotSingletonException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/BindingPathNotConfiguredException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class BindingPathNotConfiguredException : Exception 8 | { 9 | public BindingPathNotConfiguredException(string message) : base(message) 10 | { 11 | } 12 | 13 | public BindingPathNotConfiguredException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected BindingPathNotConfiguredException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/CyclicalDependencyException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class CyclicalDependencyException : Exception 8 | { 9 | public CyclicalDependencyException(string message) : base(message) 10 | { 11 | } 12 | 13 | public CyclicalDependencyException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected CyclicalDependencyException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/NoBindingsFoundException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class NoBindingsFoundException : Exception 8 | { 9 | public NoBindingsFoundException(string message) : base(message) 10 | { 11 | } 12 | 13 | public NoBindingsFoundException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected NoBindingsFoundException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Exceptions/OutputTypeUndefinedException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace IoC.Exceptions 5 | { 6 | [Serializable] 7 | public class OutputTypeUndefinedException : Exception 8 | { 9 | public OutputTypeUndefinedException(string message) : base(message) 10 | { 11 | } 12 | 13 | public OutputTypeUndefinedException(string message, Exception innerException) : base(message, innerException) 14 | { 15 | } 16 | 17 | protected OutputTypeUndefinedException(SerializationInfo info, StreamingContext context) : base(info, context) 18 | { 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/IBindingConfiguration.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public interface IBindingConfiguration 9 | { 10 | int Order { get; } 11 | void Setup(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/ICleanup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public interface ICleanup 9 | { 10 | void Add(IDisposable disposable); 11 | void DisposeAll(); 12 | void Dispose(IDisposable disposable); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/IDiBinding.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace IoC 7 | { 8 | public interface IDiBinding 9 | { 10 | IDiBinding AsConversion(Func converter); 11 | IDiBinding AsSingleton(); 12 | IDiBinding AsSingleton(Type to); 13 | IDiBinding AsSingleton(object with, object key = null); 14 | IDiBinding To(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/IoC/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("IoC")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("IoC")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("83c8085b-a8e1-4fe3-b8b2-db5ca40e9c40")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("Lib.Tests")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyConfiguration("")] 8 | [assembly: AssemblyCompany("")] 9 | [assembly: AssemblyProduct("Lib.Tests")] 10 | [assembly: AssemblyCopyright("Copyright © 2017")] 11 | [assembly: AssemblyTrademark("")] 12 | [assembly: AssemblyCulture("")] 13 | 14 | [assembly: ComVisible(false)] 15 | 16 | [assembly: Guid("b09278d3-9efe-4c1f-833f-edfe9b6c121e")] 17 | 18 | // [assembly: AssemblyVersion("1.0.*")] 19 | [assembly: AssemblyVersion("1.0.0.0")] 20 | [assembly: AssemblyFileVersion("1.0.0.0")] 21 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/DiBindings.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Domain.Controllers; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace Lib 9 | { 10 | public class DiBindings : IBindingConfiguration 11 | { 12 | public int Order => 0; 13 | 14 | public void Setup() 15 | { 16 | Di.Bind() 17 | .AsSingleton(); 18 | Di.Bind() 19 | .AsSingleton(); 20 | Di.Bind() 21 | .AsSingleton(); 22 | 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Domain/Configurations/IGameConfig.cs: -------------------------------------------------------------------------------- 1 | using Lib.Domain.Enums; 2 | using UnityBase.Objects; 3 | 4 | namespace Lib.Domain.Configurations 5 | { 6 | public interface IGameConfig 7 | { 8 | /// 9 | /// How long between each chain reaction 10 | /// 11 | float TimeBetweenReactions { get; } 12 | 13 | /// 14 | /// How much score for one ball 15 | /// 16 | float ScorePerBall { get; } 17 | 18 | /// 19 | /// How much multiplier for each additional ball in the chain 20 | /// 21 | float CountMultiplier { get; } 22 | 23 | /// 24 | /// How often does another ball drop. 25 | /// 26 | float BallDropFrequency { get; } 27 | 28 | /// 29 | /// How far from another ball to count as touching. 30 | /// 31 | float BallTouchRange { get; } 32 | 33 | /// 34 | /// Select a random Prefab 35 | /// 36 | /// 37 | IGameObject GetBallPrefab(); 38 | 39 | /// 40 | /// Select a Random Material 41 | /// 42 | /// 43 | IMaterial GetMaterial(); 44 | 45 | /// 46 | /// Select a Random Reactor 47 | /// 48 | /// 49 | ReactorTypes GetReactor(); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Domain/Controllers/GameController.cs: -------------------------------------------------------------------------------- 1 | using Lib.Interfaces; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace Lib.Domain.Controllers 8 | { 9 | public interface IGameController 10 | { 11 | List BallCollection { get; } 12 | } 13 | public class GameController : IGameController 14 | { 15 | private List _BallCollection = new List(); 16 | public List BallCollection { get => _BallCollection; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Domain/Controllers/MouseManagerController.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using Lib.Interfaces; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace Lib.Domain.Controllers 9 | { 10 | public interface IMouseManagerController 11 | { 12 | void BallClicked(IBall ball); 13 | } 14 | public class MouseManagerController : IMouseManagerController 15 | { 16 | public void BallClicked(IBall ball) 17 | { 18 | Di.Get().StartReaction(ball); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Domain/Enums/ReactorTypes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Domain.Enums 7 | { 8 | public enum ReactorTypes 9 | { 10 | Fade, 11 | Shrink, 12 | Slip 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Interfaces/IBall.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityBase.Objects; 6 | 7 | namespace Lib.Interfaces 8 | { 9 | public interface IBall : IGameObject 10 | { 11 | string MaterialName { get; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Interfaces/IFadeReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IFadeReactor : IReactor 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Interfaces/IGame.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IGame 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Interfaces/IReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IReactor 9 | { 10 | void ActivateDestructionIn(float time); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Interfaces/IScore.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IScore 9 | { 10 | int TotalScore { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Interfaces/IShrinkReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface IShrinkReactor : IReactor 9 | { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Interfaces/ISlipReactor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Lib.Interfaces 7 | { 8 | public interface ISlipReactor : IReactor 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/Lib/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Lib")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Lib")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("dec37202-1c63-4844-85c4-e2c2ddf81248")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/DiBindings.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using UnityBase.Objects; 7 | using UnityBase.Statics; 8 | using UnityEngine; 9 | 10 | namespace UnityBase 11 | { 12 | public class DiBindings : IBindingConfiguration 13 | { 14 | public int Order => -1; 15 | 16 | public void Setup() 17 | { 18 | Di.Bind().AsSingleton(typeof(DiDebug)); 19 | 20 | 21 | 22 | Di.Bind().AsConversion((o) => 23 | { 24 | var go = (IGameObject)o; 25 | return go.GameObject; 26 | }); 27 | 28 | Di.Bind().AsConversion((o)=> 29 | { 30 | return new DiGameObject() 31 | { 32 | GameObject = (GameObject)o 33 | }; 34 | }); 35 | 36 | Di.Bind().AsConversion((o) => 37 | { 38 | return new DiMaterial() 39 | { 40 | Material = (Material)o 41 | }; 42 | }); 43 | 44 | Di.Bind().AsConversion((o) => 45 | { 46 | var m = (IMaterial)o; 47 | return m.Material; 48 | }); 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/InjectBehaviour.cs: -------------------------------------------------------------------------------- 1 | using IoC; 2 | using UnityEngine; 3 | 4 | namespace UnityBase 5 | { 6 | public class InjectBehaviour : MonoBehaviour 7 | { 8 | /// 9 | /// Populates the object 10 | /// 11 | public InjectBehaviour() 12 | { 13 | Di.Inject(this); 14 | } 15 | 16 | public void Start() 17 | { 18 | Di.Inject(this, ignoreSetValues: true); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/Objects/DiGameObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public class DiGameObject : IGameObject 10 | { 11 | public GameObject GameObject { get; set; } 12 | 13 | public Vector3 TransformPosition 14 | { 15 | get => GameObject.transform.position; 16 | set => GameObject.transform.position = value; 17 | } 18 | 19 | public T GetComponent() 20 | { 21 | return GameObject.GetComponent(); 22 | } 23 | 24 | public override bool Equals(object obj) 25 | { 26 | if (obj is DiGameObject) 27 | { 28 | var diGO = (DiGameObject)obj; 29 | obj = diGO.GameObject; 30 | } 31 | 32 | return GameObject.Equals(obj); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/Objects/DiMaterial.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public class DiMaterial : IMaterial 10 | { 11 | public Material Material { get; set; } 12 | 13 | public Color Color 14 | { 15 | get => Material.color; 16 | set => Material.color = value; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/Objects/IGameObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public interface IGameObject 10 | { 11 | GameObject GameObject { get; } 12 | 13 | Vector3 TransformPosition { get; set; } 14 | 15 | T GetComponent(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/Objects/IMaterial.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using UnityEngine; 6 | 7 | namespace UnityBase.Objects 8 | { 9 | public interface IMaterial 10 | { 11 | Material Material { get; set; } 12 | 13 | Color Color { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("UnityBase")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("UnityBase")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("a90cb09d-bb08-4722-9051-44d2021653d3")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/UnityBase/Statics/IDebug.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace UnityBase.Statics 7 | { 8 | public interface IDebug 9 | { 10 | void Break(); 11 | void DebugBreak(); 12 | void Log(System.Object message); 13 | void LogFormat(string format, System.Object[] args); 14 | void LogError(System.Object message); 15 | void LogErrorFormat(string format, System.Object[] args); 16 | void ClearDeveloperConsole(); 17 | void LogException(System.Exception exception); 18 | void LogWarning(System.Object message); 19 | void LogWarningFormat(string format, System.Object[] args); 20 | void Assert(bool condition); 21 | void Assert(bool condition, System.Object message); 22 | void Assert(bool condition, string message); 23 | void AssertFormat(bool condition, string format, System.Object[] args); 24 | void LogAssertion(System.Object message); 25 | void LogAssertionFormat(string format, System.Object[] args); 26 | bool developerConsoleVisible { get; set; } 27 | bool isDebugBuild { get; } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/Castle.Core.4.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/Castle.Core.4.0.0.nupkg -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2004-2016 Castle Project - http://www.castleproject.org/ 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/net35/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/net35/Castle.Core.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/net40-client/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/net40-client/Castle.Core.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/net45/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/net45/Castle.Core.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/netstandard1.3/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/lib/netstandard1.3/Castle.Core.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Castle.Core.4.0.0/readme.txt: -------------------------------------------------------------------------------- 1 | Thanks for downloading this Castle package. 2 | You can find full list of changes in CHANGELOG.md 3 | 4 | Documentation (work in progress, contributions appreciated): 5 | DictionaryAdapter: https://github.com/castleproject/Core/blob/master/docs/dictionaryadapter.md 6 | DynamicProxy: https://github.com/castleproject/Core/blob/master/docs/dynamicproxy.md 7 | Discusssion group: http://groups.google.com/group/castle-project-users 8 | StackOverflow tags: castle-dynamicproxy, castle-dictionaryadapter, castle 9 | 10 | Issue tracker: https://github.com/castleproject/Core/issues -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestAdapter.1.1.11/MSTest.TestAdapter.1.1.11.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestAdapter.1.1.11/MSTest.TestAdapter.1.1.11.nupkg -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/MSTest.TestFramework.1.1.11.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/MSTest.TestFramework.1.1.11.nupkg -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/dotnet/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions 5 | 6 | 7 | 8 | 9 | TestContext class. This class should be fully abstract and not contain any 10 | members. The adapter will implement the members. Users in the framework should 11 | only access this via a well-defined interface. 12 | 13 | 14 | 15 | 16 | Gets test properties for a test. 17 | 18 | 19 | 20 | 21 | 22 | Gets Fully-qualified name of the class containing the test method currently being executed 23 | 24 | 25 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. 26 | Those attributes have access to the test context, and provide messages that are included 27 | in the test results. Users can benefit from messages that include the fully-qualified 28 | class name in addition to the name of the test method currently being executed. 29 | 30 | 31 | 32 | 33 | Gets the Name of the test method currently being executed 34 | 35 | 36 | 37 | 38 | Gets the current test outcome. 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/dotnet/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/dotnet/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/dotnet/Microsoft.VisualStudio.TestPlatform.TestFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/dotnet/Microsoft.VisualStudio.TestPlatform.TestFramework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/dotnet/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions 5 | 6 | 7 | 8 | 9 | TestContext class. This class should be fully abstract and not contain any 10 | members. The adapter will implement the members. Users in the framework should 11 | only access this via a well-defined interface. 12 | 13 | 14 | 15 | 16 | Gets test properties for a test. 17 | 18 | 19 | 20 | 21 | 22 | Gets Fully-qualified name of the class containing the test method currently being executed 23 | 24 | 25 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. 26 | Those attributes have access to the test context, and provide messages that are included 27 | in the test results. Users can benefit from messages that include the fully-qualified 28 | class name in addition to the name of the test method currently being executed. 29 | 30 | 31 | 32 | 33 | Gets the Name of the test method currently being executed 34 | 35 | 36 | 37 | 38 | Gets the current test outcome. 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/MSTest.TestFramework.1.1.11/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Moq.4.7.25/Moq.4.7.25.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Moq.4.7.25/Moq.4.7.25.nupkg -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Moq.4.7.25/lib/net45/Moq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Moq.4.7.25/lib/net45/Moq.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Moq.4.7.25/lib/netstandard1.3/Moq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/Moq.4.7.25/lib/netstandard1.3/Moq.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Charlie Poole 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | 21 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/NOTICES.txt: -------------------------------------------------------------------------------- 1 | NUnit 3.0 is based on earlier versions of NUnit, with Portions 2 | 3 | Copyright (c) 2002-2014 Charlie Poole or 4 | Copyright (c) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or 5 | Copyright (c) 2000-2002 Philip A. Craig 6 | -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/NUnit.3.7.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/NUnit.3.7.0.nupkg -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net20/NUnit.System.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net20/NUnit.System.Linq.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net20/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net20/nunit.framework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net35/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net35/nunit.framework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net40/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net40/nunit.framework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net45/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/net45/nunit.framework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/netstandard1.3/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/netstandard1.3/nunit.framework.dll -------------------------------------------------------------------------------- /Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/netstandard1.6/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanVioletSagmiller/UnitySOLID/9ca6b095e778d4f09ba62a06dd303d222e492390/Trunk/Demo/Chain Reaction SOLID/Chain Reaction Solid/VS/packages/NUnit.3.7.0/lib/netstandard1.6/nunit.framework.dll -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-tactile -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | test 2 | --------------------------------------------------------------------------------