├── Tools ├── DllExportViewer │ ├── .gitignore │ ├── dllexp.chm │ └── dllexp.exe └── BindingsGenerator │ ├── UnityEditor.dll │ ├── UnityEngine.dll │ ├── CppParserLib.dll │ ├── Newtonsoft.Json.dll │ ├── BindingsGenerator.exe │ ├── packages.config │ ├── App.config │ ├── CppParserLib │ ├── ParseResult.cs │ └── Properties │ │ └── AssemblyInfo.cs │ ├── ECS │ ├── ECSParseResultUtilities.cs │ └── ECSNaming.cs │ ├── Common │ ├── Debug.cs │ ├── StringUtilities.cs │ └── CommonPath.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── Program.cs │ └── BindingsGenerator.sln ├── UnityProject ├── Assets │ ├── NativeScript │ │ ├── VERSION.txt │ │ ├── BootScene.unity.meta │ │ ├── BootScript.cs.meta │ │ ├── VERSION.txt.meta │ │ ├── NativeScriptTypes.json.meta │ │ ├── Editor.meta │ │ ├── ECSBindings.cs.meta │ │ ├── Bindings.cs.meta │ │ └── Editor │ │ │ └── EditorMenus.cs.meta │ ├── Plugins │ │ ├── .gitignore │ │ ├── Editor │ │ │ ├── NativeScript.dll │ │ │ └── NativeScript.dll.meta │ │ └── Editor.meta │ ├── TextMesh Pro │ │ ├── Resources │ │ │ ├── LineBreaking Leading Characters.txt │ │ │ ├── LineBreaking Following Characters.txt │ │ │ ├── Shaders │ │ │ │ ├── TMP_SDF.shader.meta │ │ │ │ ├── TMPro.cginc.meta │ │ │ │ ├── TMP_Bitmap.shader.meta │ │ │ │ ├── TMPro_Surface.cginc.meta │ │ │ │ ├── TMP_Bitmap-Mobile.shader.meta │ │ │ │ ├── TMP_SDF Overlay.shader.meta │ │ │ │ ├── TMP_SDF-Mobile.shader.meta │ │ │ │ ├── TMP_SDF-Surface.shader.meta │ │ │ │ ├── TMPro_Properties.cginc.meta │ │ │ │ ├── TMP_Bitmap-Custom-Atlas.shader.meta │ │ │ │ ├── TMP_SDF-Mobile Overlay.shader.meta │ │ │ │ ├── TMP_SDF-Surface-Mobile.shader.meta │ │ │ │ ├── TMP_Sprite.shader.meta │ │ │ │ └── TMP_SDF-Mobile Masking.shader.meta │ │ │ ├── TMP Settings.asset.meta │ │ │ ├── Sprite Assets │ │ │ │ └── EmojiOne.asset.meta │ │ │ ├── Shaders.meta │ │ │ ├── LineBreaking Following Characters.txt.meta │ │ │ ├── LineBreaking Leading Characters.txt.meta │ │ │ ├── Sprite Assets.meta │ │ │ ├── Style Sheets.meta │ │ │ ├── Fonts & Materials.meta │ │ │ ├── Fonts & Materials │ │ │ │ ├── LiberationSans SDF.asset.meta │ │ │ │ ├── LiberationSans SDF - Drop Shadow.mat.meta │ │ │ │ ├── LiberationSans SDF - Fallback.asset.meta │ │ │ │ └── LiberationSans SDF - Outline.mat.meta │ │ │ ├── Style Sheets │ │ │ │ └── Default Style Sheet.asset.meta │ │ │ └── TMP Settings.asset │ │ ├── Sprites │ │ │ ├── EmojiOne.png │ │ │ ├── EmojiOne Attribution.txt │ │ │ ├── EmojiOne Attribution.txt.meta │ │ │ └── EmojiOne.json.meta │ │ ├── Fonts │ │ │ ├── LiberationSans.ttf │ │ │ ├── LiberationSans - OFL.txt.meta │ │ │ └── LiberationSans.ttf.meta │ │ ├── Documentation │ │ │ ├── TextMesh Pro User Guide 2016.pdf │ │ │ └── TextMesh Pro User Guide 2016.pdf.meta │ │ ├── Fonts.meta │ │ ├── Resources.meta │ │ ├── Sprites.meta │ │ └── Documentation.meta │ ├── UIPack │ │ ├── preview.png │ │ ├── sample.png │ │ ├── Bonus │ │ │ ├── click1.ogg │ │ │ ├── click2.ogg │ │ │ ├── rollover1.ogg │ │ │ ├── rollover2.ogg │ │ │ ├── switch2.ogg │ │ │ ├── switch3.ogg │ │ │ ├── click1.ogg.meta │ │ │ ├── click2.ogg.meta │ │ │ ├── switch2.ogg.meta │ │ │ ├── switch3.ogg.meta │ │ │ ├── rollover1.ogg.meta │ │ │ └── rollover2.ogg.meta │ │ ├── Spritesheet │ │ │ ├── redSheet.png │ │ │ ├── blueSheet.png │ │ │ ├── greenSheet.png │ │ │ ├── greySheet.png │ │ │ └── yellowSheet.png │ │ ├── Font │ │ │ ├── kenvector_future.ttf │ │ │ ├── kenvector_future_thin.ttf │ │ │ ├── kenvector_future.ttf.meta │ │ │ └── kenvector_future_thin.ttf.meta │ │ ├── license.txt.meta │ │ ├── Bonus.meta │ │ ├── Font.meta │ │ ├── Spritesheet.meta │ │ └── license.txt │ ├── TowerDefenseKit │ │ ├── tile.fbx │ │ ├── detail_dirt.fbx │ │ ├── detail_tree.fbx │ │ ├── snow_tile.fbx │ │ ├── tile_bump.fbx │ │ ├── tile_dirt.fbx │ │ ├── tile_end.fbx │ │ ├── tile_hill.fbx │ │ ├── tile_rock.fbx │ │ ├── tile_slope.fbx │ │ ├── tile_spawn.fbx │ │ ├── tile_split.fbx │ │ ├── tile_tree.fbx │ │ ├── detail_crystal.fbx │ │ ├── detail_dirtLarge.fbx │ │ ├── detail_rocks.fbx │ │ ├── detail_treeLarge.fbx │ │ ├── enemy_ufoGreen.fbx │ │ ├── enemy_ufoPurple.fbx │ │ ├── enemy_ufoRed.fbx │ │ ├── enemy_ufoYellow.fbx │ │ ├── snow_detail_dirt.fbx │ │ ├── snow_detail_tree.fbx │ │ ├── snow_tile_bump.fbx │ │ ├── snow_tile_end.fbx │ │ ├── snow_tile_hill.fbx │ │ ├── snow_tile_rock.fbx │ │ ├── snow_tile_slope.fbx │ │ ├── snow_tile_spawn.fbx │ │ ├── snow_tile_split.fbx │ │ ├── snow_tile_tree.fbx │ │ ├── tile_cornerInner.fbx │ │ ├── tile_cornerLarge.fbx │ │ ├── tile_cornerOuter.fbx │ │ ├── tile_cornerRound.fbx │ │ ├── tile_crossing.fbx │ │ ├── tile_crystal.fbx │ │ ├── tile_dirtHigh.fbx │ │ ├── tile_endRound.fbx │ │ ├── tile_endSpawn.fbx │ │ ├── tile_highlighted.fbx │ │ ├── tile_riverBridge.fbx │ │ ├── tile_riverCorner.fbx │ │ ├── tile_riverFall.fbx │ │ ├── tile_riverSlope.fbx │ │ ├── tile_spawnRound.fbx │ │ ├── tile_straight.fbx │ │ ├── tile_transition.fbx │ │ ├── tile_treeDouble.fbx │ │ ├── tile_treeQuad.fbx │ │ ├── tile_wideCorner.fbx │ │ ├── tile_wideSplit.fbx │ │ ├── towerRound_base.fbx │ │ ├── towerRound_roofB.fbx │ │ ├── towerRound_roofC.fbx │ │ ├── towerRound_topA.fbx │ │ ├── towerRound_topB.fbx │ │ ├── towerRound_topC.fbx │ │ ├── towerSquare_topA.fbx │ │ ├── towerSquare_topB.fbx │ │ ├── towerSquare_topC.fbx │ │ ├── weapon_ballista.fbx │ │ ├── weapon_blaster.fbx │ │ ├── weapon_cannon.fbx │ │ ├── weapon_catapult.fbx │ │ ├── woodStructure.fbx │ │ ├── detail_crystalLarge.fbx │ │ ├── detail_rocksLarge.fbx │ │ ├── enemy_ufoGreenWeapon.fbx │ │ ├── enemy_ufoRedWeapon.fbx │ │ ├── snow_detail_crystal.fbx │ │ ├── snow_detail_dirtLarge.fbx │ │ ├── snow_detail_rocks.fbx │ │ ├── snow_detail_treeLarge.fbx │ │ ├── snow_tile_cornerInner.fbx │ │ ├── snow_tile_cornerLarge.fbx │ │ ├── snow_tile_cornerOuter.fbx │ │ ├── snow_tile_cornerRound.fbx │ │ ├── snow_tile_crossing.fbx │ │ ├── snow_tile_crystal.fbx │ │ ├── snow_tile_endRound.fbx │ │ ├── snow_tile_endSpawn.fbx │ │ ├── snow_tile_riverBridge.fbx │ │ ├── snow_tile_riverCorner.fbx │ │ ├── snow_tile_riverFall.fbx │ │ ├── snow_tile_riverSlope.fbx │ │ ├── snow_tile_spawnRound.fbx │ │ ├── snow_tile_straight.fbx │ │ ├── snow_tile_transition.fbx │ │ ├── snow_tile_treeDouble.fbx │ │ ├── snow_tile_treeQuad.fbx │ │ ├── snow_tile_wideCorner.fbx │ │ ├── snow_tile_wideSplit.fbx │ │ ├── snow_woodStructure.fbx │ │ ├── tile_cornerSquare.fbx │ │ ├── tile_endRoundSpawn.fbx │ │ ├── tile_riverSlopeLarge.fbx │ │ ├── tile_riverStraight.fbx │ │ ├── tile_riverTransition.fbx │ │ ├── tile_straightHill.fbx │ │ ├── tile_wideStraight.fbx │ │ ├── tile_wideTransition.fbx │ │ ├── towerRound_bottomA.fbx │ │ ├── towerRound_bottomB.fbx │ │ ├── towerRound_bottomC.fbx │ │ ├── towerRound_crystals.fbx │ │ ├── towerRound_middleA.fbx │ │ ├── towerRound_middleB.fbx │ │ ├── towerRound_middleC.fbx │ │ ├── towerRound_roofA.fbx │ │ ├── towerRound_sampleA.fbx │ │ ├── towerRound_sampleB.fbx │ │ ├── towerRound_sampleC.fbx │ │ ├── towerRound_sampleD.fbx │ │ ├── towerRound_sampleE.fbx │ │ ├── towerRound_sampleF.fbx │ │ ├── towerSquare_bottomA.fbx │ │ ├── towerSquare_bottomB.fbx │ │ ├── towerSquare_bottomC.fbx │ │ ├── towerSquare_middleA.fbx │ │ ├── towerSquare_middleB.fbx │ │ ├── towerSquare_middleC.fbx │ │ ├── towerSquare_roofA.fbx │ │ ├── towerSquare_roofB.fbx │ │ ├── towerSquare_roofC.fbx │ │ ├── towerSquare_sampleA.fbx │ │ ├── towerSquare_sampleB.fbx │ │ ├── towerSquare_sampleC.fbx │ │ ├── towerSquare_sampleD.fbx │ │ ├── towerSquare_sampleE.fbx │ │ ├── towerSquare_sampleF.fbx │ │ ├── woodStructure_high.fbx │ │ ├── enemy_ufoPurpleWeapon.fbx │ │ ├── enemy_ufoYellowWeapon.fbx │ │ ├── snow_detail_crystalLarge.fbx │ │ ├── snow_detail_rocksLarge.fbx │ │ ├── snow_tile_cornerSquare.fbx │ │ ├── snow_tile_endRoundSpawn.fbx │ │ ├── snow_tile_riverSlopeLarge.fbx │ │ ├── snow_tile_riverStraight.fbx │ │ ├── snow_tile_riverTransition.fbx │ │ ├── snow_tile_straightHill.fbx │ │ ├── snow_tile_wideStraight.fbx │ │ ├── snow_tile_wideTransition.fbx │ │ ├── snow_woodStructure_high.fbx │ │ ├── tile_straightHillLarge.fbx │ │ ├── snow_tile_straightHillLarge.fbx │ │ ├── Materials.meta │ │ └── Materials │ │ │ └── highlighted.mat.meta │ ├── ToonyTinyPeople │ │ ├── TT_demo │ │ │ ├── sample_scene │ │ │ │ ├── quad.tga │ │ │ │ ├── ground.mat.meta │ │ │ │ ├── TT_Citizens_sample_scene.unity.meta │ │ │ │ └── ground.mat │ │ │ ├── ToonyTiny_City_Pack.tga │ │ │ ├── animation │ │ │ │ ├── female │ │ │ │ │ ├── f_run.FBX │ │ │ │ │ ├── f_death_A.FBX │ │ │ │ │ ├── f_idle_A.FBX │ │ │ │ │ ├── f_run_rm.FBX │ │ │ │ │ ├── f_walk.FBX │ │ │ │ │ ├── f_walk_rm.FBX │ │ │ │ │ ├── f_melee_combat_idle.FBX │ │ │ │ │ ├── f_melee_combat_run.FBX │ │ │ │ │ ├── f_melee_combat_attack_A.FBX │ │ │ │ │ └── f_melee_combat_run_rm.FBX │ │ │ │ ├── male │ │ │ │ │ ├── m_run.FBX │ │ │ │ │ ├── m_walk.FBX │ │ │ │ │ ├── m_death_A.FBX │ │ │ │ │ ├── m_idle_A.FBX │ │ │ │ │ ├── m_pistol_run.FBX │ │ │ │ │ ├── m_run_rm.FBX │ │ │ │ │ ├── m_walk_rm.FBX │ │ │ │ │ ├── m_pistol_idle_A.FBX │ │ │ │ │ ├── m_pistol_run_rm.FBX │ │ │ │ │ ├── m_pistol_shoot.FBX │ │ │ │ │ ├── m_melee_combat_idle.FBX │ │ │ │ │ ├── m_melee_combat_run.FBX │ │ │ │ │ ├── m_melee_combat_run_rm.FBX │ │ │ │ │ └── m_melee_combat_attack_A.FBX │ │ │ │ ├── zombie │ │ │ │ │ ├── Z_run.FBX │ │ │ │ │ ├── Z_attack_A.FBX │ │ │ │ │ ├── Z_death_A.FBX │ │ │ │ │ ├── Z_idle_A.FBX │ │ │ │ │ ├── Z_run_rm.FBX │ │ │ │ │ ├── Z_walk.FBX │ │ │ │ │ └── Z_walk_rm.FBX │ │ │ │ ├── male.meta │ │ │ │ ├── female.meta │ │ │ │ └── zombie.meta │ │ │ ├── models │ │ │ │ ├── TT_demo_female.FBX │ │ │ │ ├── TT_demo_male_A.FBX │ │ │ │ ├── TT_demo_male_B.FBX │ │ │ │ ├── TT_demo_police.FBX │ │ │ │ ├── TT_demo_zombie.FBX │ │ │ │ ├── Materials │ │ │ │ │ ├── TT_demo_texture.tga │ │ │ │ │ ├── TT_demo.mat.meta │ │ │ │ │ └── TT_demo.mat │ │ │ │ └── Materials.meta │ │ │ ├── ToonyTiny_Zombies_Pack.tga │ │ │ ├── ToonyTiny_Citizens_Megapack.tga │ │ │ ├── prefabs │ │ │ │ ├── TT_demo_female.prefab.meta │ │ │ │ ├── TT_demo_male_A.prefab.meta │ │ │ │ ├── TT_demo_male_B.prefab.meta │ │ │ │ ├── TT_demo_police.prefab.meta │ │ │ │ └── TT_demo_zombie.prefab.meta │ │ │ ├── animation.meta │ │ │ ├── models.meta │ │ │ ├── prefabs.meta │ │ │ └── sample_scene.meta │ │ └── TT_demo.meta │ ├── Animators.meta │ ├── Game │ │ ├── Maps.meta │ │ ├── Maps │ │ │ └── Map1_Geometry.unity.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── Maps.meta │ │ │ ├── Native.meta │ │ │ ├── UI.meta │ │ │ ├── Views.meta │ │ │ ├── Utilities.meta │ │ │ ├── Native │ │ │ ├── NativeHelpers.cs │ │ │ ├── EventHub.cs.meta │ │ │ ├── GameSettings.cs.meta │ │ │ ├── NativeGameState.cs.meta │ │ │ ├── NativeHelpers.cs.meta │ │ │ ├── BaseNativeEntityView.cs.meta │ │ │ ├── AbstractBaseNativeScript.cs.meta │ │ │ ├── NativeGameState.cs │ │ │ ├── BaseNativeEntityView.cs │ │ │ ├── EventHub.cs │ │ │ ├── AbstractBaseNativeScript.cs │ │ │ └── GameSettings.cs │ │ │ ├── UI │ │ │ ├── GUI.cs.meta │ │ │ ├── GameInfo.cs.meta │ │ │ ├── GUI.cs │ │ │ └── GameInfo.cs │ │ │ ├── InputManager.cs.meta │ │ │ ├── Utilities │ │ │ ├── Singleton.cs.meta │ │ │ └── Singleton.cs │ │ │ ├── Maps │ │ │ ├── GeometryBasicGenerator.cs.meta │ │ │ └── GeometryBasicGenerator.cs │ │ │ ├── Views │ │ │ ├── EntityCooldownView.cs.meta │ │ │ ├── EntityHealthBarView.cs.meta │ │ │ ├── EntityPositionView.cs.meta │ │ │ ├── EntityHealthBarView.cs │ │ │ ├── EntityPositionView.cs │ │ │ └── EntityCooldownView.cs │ │ │ └── InputManager.cs │ ├── Plugins.meta │ ├── Resources.meta │ ├── UIPack.meta │ ├── Resources │ │ ├── Prefabs │ │ │ ├── EntityView.prefab.meta │ │ │ ├── CannonTowerView.prefab.meta │ │ │ ├── SphereBulletView.prefab.meta │ │ │ ├── EntityCooldownView.prefab.meta │ │ │ └── EnemyEntityHealthBarView.prefab.meta │ │ └── Prefabs.meta │ ├── TextMesh Pro.meta │ ├── ToonyTinyPeople.meta │ ├── TowerDefenseKit.meta │ ├── Animators │ │ ├── Male.controller.meta │ │ └── Male.controller │ ├── NativeScript.meta │ └── Game.meta ├── ProjectSettings │ ├── ProjectVersion.txt │ ├── ClusterInputManager.asset │ ├── PresetManager.asset │ ├── EditorBuildSettings.asset │ ├── XRSettings.asset │ ├── TimeManager.asset │ ├── VFXManager.asset │ ├── AudioManager.asset │ ├── TagManager.asset │ ├── UnityConnectSettings.asset │ ├── PackageManagerSettings.asset │ ├── EditorSettings.asset │ ├── DynamicsManager.asset │ ├── NavMeshAreas.asset │ └── Physics2DSettings.asset ├── NativeScript.dll ├── .gitignore ├── .gitattributes └── Packages │ └── manifest.json ├── NativeScript ├── Source │ ├── Game │ │ ├── Universal.cpp │ │ ├── NativeScript.h │ │ ├── NativeScript.cpp │ │ ├── PluginMain.cpp │ │ ├── Universal.h │ │ └── Profiler.h │ └── Simulation │ │ ├── Components │ │ ├── MoveSpeed.h │ │ ├── Damage.h │ │ ├── Position.h │ │ ├── Destination.h │ │ ├── Orientation.h │ │ ├── WaypointIndex.h │ │ ├── BodySize.h │ │ ├── LifeTime.h │ │ ├── Cooldown.h │ │ ├── EnemyTeam.h │ │ ├── Health.h │ │ ├── RangeDetection.h │ │ ├── RemoveMe.h │ │ ├── ElapsedTime.h │ │ ├── CurrentWave.h │ │ ├── WaypointSettings.h │ │ ├── CollisionLayer.h │ │ └── WaveSpawnSettings.h │ │ ├── Context │ │ ├── GameSettings.h │ │ └── GameStates.h │ │ ├── Helpers │ │ ├── CooldownHelpers.h │ │ ├── SpawnHelpers.h │ │ └── CooldownHelpers.cpp │ │ ├── Systems │ │ ├── TestSpawn.cpp │ │ ├── DecreaseCooldown.cpp │ │ ├── EntityDie.cpp │ │ ├── InitWorldStates.cpp │ │ ├── RemoveEntity.cpp │ │ ├── UpdateRemainingLifeTime.cpp │ │ ├── MoveForward.cpp │ │ ├── All.h │ │ ├── QueryCollision.cpp │ │ ├── SingleFiring.cpp │ │ ├── WaveSpawn.cpp │ │ └── WaypointMovement.cpp │ │ ├── World.cpp │ │ ├── World.h │ │ ├── Game.h │ │ └── Game.cpp ├── Targets │ ├── .gitignore │ └── Generators │ │ ├── VS2019.bat │ │ └── VS2019_Standalone.bat ├── CMakeSettings.json └── .gitignore ├── .gitmodules └── LICENSE.md /Tools/DllExportViewer/.gitignore: -------------------------------------------------------------------------------- 1 | *.cfg 2 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/VERSION.txt: -------------------------------------------------------------------------------- 1 | 0.3 -------------------------------------------------------------------------------- /NativeScript/Source/Game/Universal.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | 3 | -------------------------------------------------------------------------------- /NativeScript/Targets/.gitignore: -------------------------------------------------------------------------------- 1 | # This file is for ignore custom target folders e.g. VS2019 2 | VS2019/ -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/MoveSpeed.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CMoveSpeed { float value; }; -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/Damage.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CDamage { float value; }; 4 | 5 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/Position.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CPosition { Vector3 value; }; 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/Plugins/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore VS debug symbol files 2 | *.ilk 3 | *.ilk.meta 4 | *.pdb 5 | *.pdb.meta -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/Destination.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CDestination { Vector3 value; }; 4 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/Orientation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct COrientation { Vector3 value; }; 4 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/WaypointIndex.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CWaypointIndex { int value; }; 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt: -------------------------------------------------------------------------------- 1 | ([{〔〈《「『【〘〖〝‘“⦅«$—…‥〳〴〵\[({£¥"々〇〉》」$⦆¥₩ # -------------------------------------------------------------------------------- /Tools/DllExportViewer/dllexp.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongtunggiang/unity-entt/HEAD/Tools/DllExportViewer/dllexp.chm -------------------------------------------------------------------------------- /Tools/DllExportViewer/dllexp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongtunggiang/unity-entt/HEAD/Tools/DllExportViewer/dllexp.exe -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/BodySize.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CBodySize 4 | { 5 | float radius; 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/LifeTime.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CLifeTime 4 | { 5 | float value; 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/Cooldown.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CCooldown 4 | { 5 | float remaining, max; 6 | }; 7 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/UnityEditor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongtunggiang/unity-entt/HEAD/Tools/BindingsGenerator/UnityEditor.dll -------------------------------------------------------------------------------- /Tools/BindingsGenerator/UnityEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongtunggiang/unity-entt/HEAD/Tools/BindingsGenerator/UnityEngine.dll -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/EnemyTeam.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | /* TAG_COMPONENT */ 4 | struct CEnemyTeam { /* empty */ }; 5 | 6 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/Health.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CHealth 4 | { 5 | float current; 6 | float max; 7 | }; 8 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/RangeDetection.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CRangeDetection 4 | { 5 | float range; 6 | }; 7 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/RemoveMe.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | /* TAG_COMPONENT */ 4 | struct CRemoveMe { /* empty */ }; 5 | 6 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Context/GameSettings.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CtxGameSettings 4 | { 5 | Entity holderEntity; 6 | }; 7 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Context/GameStates.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct CtxGameStates 4 | { 5 | Entity holderEntity; 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/CppParserLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongtunggiang/unity-entt/HEAD/Tools/BindingsGenerator/CppParserLib.dll -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.4.14f1 2 | m_EditorVersionWithRevision: 2019.4.14f1 (4037e52648cd) 3 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongtunggiang/unity-entt/HEAD/Tools/BindingsGenerator/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /Tools/BindingsGenerator/BindingsGenerator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongtunggiang/unity-entt/HEAD/Tools/BindingsGenerator/BindingsGenerator.exe -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/ElapsedTime.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | /* GAME_STATE_COMPONENT */ 4 | struct CElapsedTime 5 | { 6 | float value; 7 | }; 8 | -------------------------------------------------------------------------------- /UnityProject/NativeScript.dll: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dc984d6e82f82fec7719a336e5832abdaaf1b0f4a482748cd05cd435ab2fc9fc 3 | size 975360 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt: -------------------------------------------------------------------------------- 1 | )]}〕〉》」』】〙〗〟’”⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠–〜?!‼⁇⁈⁉・、%,.:;。!?]):;=}¢°"†‡℃〆%,. -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/preview.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1dfb4f794662f1fee3f275a910573a239798636d4383995e9f07884ff7bc1081 3 | size 62660 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/sample.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4f36b07ae9e6b88e4951c07bc4a45f032e84e1a96b91d9855990dea759f399ff 3 | size 43969 4 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9fc7083e946bc7da4050f5be6e9d92aab1937f86b4f709a6c3d1a63dbdadf494 3 | size 12752 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/click1.ogg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fa77d595b21e7b206b7eb10eacb0663def8f6d8658df17b7cef7a0125c86046e 3 | size 6952 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/click2.ogg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:349d705248f2e9e20e48e4b72bd11e89cdd70c69712b491075637f666a87338f 3 | size 5784 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/rollover1.ogg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6378e2caa21656caaa5e50408b0c597ebd5110d2b81a48c6ef8f0f1ce9831418 3 | size 9144 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/rollover2.ogg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e720dfca66dd571b09dcfeeb68235789f143bfb5603cdeca01e023f310af9b10 3 | size 5838 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/switch2.ogg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1f00890341f743b9c460a2763f71d794ffe1601220209eed29b7aa1715a26497 3 | size 11630 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/switch3.ogg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:db02f77fb1cd8181439806eae9166ba2d7cc4e4366ababbf6a61dc45db6bc74f 3 | size 12227 4 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Helpers/CooldownHelpers.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace CooldownHelpers 4 | { 5 | void StartCooldown(Registry& registry, Entity entity, float time); 6 | } 7 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_dirt.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b91abc788c13736c9a9a4556747ce4e36d9dd8cf6b583b2ff3785abf1f1a413e 3 | size 28351 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_tree.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e9269bb066643335a3975abb5099c63a9739e342bc74a47df64b8186e4f2efb6 3 | size 28120 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:72104bfafa480ed72d9279ec3d52e22d0617e30263db483802c2ab95aa0ccd05 3 | size 12780 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_bump.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b568c4d0bbf0ee3e9762115f33fe5ece7fb80aaf2e186dd5ed908f44754a6318 3 | size 43341 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_dirt.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dff35aa65743dca0cdda0571ce4a18e2074c8abb17ccb06edbd1679e8ef0404d 3 | size 11906 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_end.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:334106084d076a5813b8e13244fddcb79ca7c6c1cd64ce212aa9e57e7370fd9f 3 | size 15022 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_hill.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e709642b487adbf6a39743cb28c2b4b617b30b6c9f42f8633ff350e294931b44 3 | size 32638 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_rock.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7e9a974c5326f4c8c12939b27b07dcecb38e49a7c3951436956091ea1b684caf 3 | size 32736 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_slope.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7c3f512943159b5170f004b697676b903676b56c4064e7d08215916204f144ef 3 | size 12884 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_spawn.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:758d3f2d3bac114cdf1ee6046fbc9905b7205c3e0141b163a7d53ee08d5c4180 3 | size 18224 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_split.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2edb07c284fbf671f5ed42b5335c571f8f5e3b78d9e2f8690de75c58d530b12a 3 | size 30105 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_tree.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3eaaa0cf7b574c652c3de773ccd4103555566eefd407c490c96327b3e4a7d22a 3 | size 30746 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Spritesheet/redSheet.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fb9c547e64201dbc55abba4e33f30762a30bd3953b5c66dd5202a979ce1952d6 3 | size 10557 4 | -------------------------------------------------------------------------------- /UnityProject/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 | -------------------------------------------------------------------------------- /UnityProject/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 | -------------------------------------------------------------------------------- /UnityProject/Assets/Plugins/Editor/NativeScript.dll: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fa1f826909100e1a9b39bd76999be63fe6413a5f7c24ba97de8f062b89862495 3 | size 324608 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Sprites/EmojiOne.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8d1830e21c290b1a2ce398fc98bad6b0ebb5feaa259b8969ea03066ab2f7aced 3 | size 73304 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_crystal.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cddd74a56521443b791fabdbcacbc56c4a0ea2f85834230149b75dd64c4228f0 3 | size 14910 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_dirtLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:047a7d717f115bd65ec28b7484b6d0185f0a954361f22adbe3f6b5cd2970ec5b 3 | size 29106 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_rocks.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fa232d3bf4d249068532fca819ea87893ea0d20464e425dac1ad6982692c041a 3 | size 25626 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_treeLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8cd8e12b4377db72ab2220eb1289dbfde072f46122c912aff2613cfb4583677c 3 | size 27637 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoGreen.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1af4d41a6605aa855fe17060f31860ba86604f4908143b6ca3bce61a26557b91 3 | size 144709 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoPurple.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7cd86116d2cea10e2cb4a658a6c0542f2ea916e528f5c2a24ddfed741a556fbe 3 | size 153812 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoRed.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:87f8a471baf333775a21180f2185683032c126c479e05528f6bd024690886d4a 3 | size 121967 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoYellow.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1199f5a256374d70080f926177229403ef00a5aff5c7257c2dd9b81bd387fe9f 3 | size 139149 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_dirt.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2533ffe5436ceb3a3e5059ca071856ceb7c6e2b9d57901f3c0a6d5bf9328ef44 3 | size 28777 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_tree.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a496c031ef04035e76eb8e29989bd5718286b0ff3fa3e228a6bfda9a59a0b296 3 | size 28556 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_bump.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6f835ad0088e2b2f55ec4d4a26a6af749c379a67c45b1cb79b265825592e9a8b 3 | size 43757 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_end.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9a9a4a0c42ee9e7ba3f6a26307988d2e91457f02d736a1c52df1bdfc0ee713ae 3 | size 15438 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_hill.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:112bd343e6e7b30168eeb8cdb161d38a8dc9025c774b174ea431bf5b5f55a505 3 | size 33042 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_rock.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:813eef06fe5aca461c211cf6076937d050301b1de6c041f0215159432ad4a1d8 3 | size 32762 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_slope.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a3086e9113a8bef9af4161381062edba12c14c588d0f6789614c62446166fe1d 3 | size 12912 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_spawn.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4a0ddb0707e3bceb913dd6f73c99233cfd819d5b4dd17ea3e70b2c2633fa2b18 3 | size 18660 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_split.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7cdd3c7d05fd57e0d4a55702dda0eb099d8e210cc64b13eb36fd25546c443758 3 | size 30602 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_tree.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9ad4ec703836c2175ddc7ec77f91b5618eba19b0b7dfc5fed2c862083ba576d2 3 | size 30859 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_cornerInner.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d400d85f55a2669fd4fadb18efd52dabaeca602b4c2c03233865bf5e4fa6ea3a 3 | size 13055 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_cornerLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b7048d25809f3bc1004dab94e92d97b895854dbcd299a88063f68513a06dce7b 3 | size 30020 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_cornerOuter.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b965a41cb7f35eb97a26d66879e2885bcd71d3631b37c0d7dbf0186b440abbfd 3 | size 13005 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_cornerRound.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ae35654617761b6ff5b9df026e63cef93c65df2a8680feeef6a07568c70d0862 3 | size 29263 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_crossing.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1959d3a09291d80d27ceb0c25f95bdeba05a99bef2e88652ae33da9a35548b0e 3 | size 45363 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_crystal.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4619d957a72a7eb6f46728838daf957dd0239b4e6ef4572db6c5648000d2befe 3 | size 51575 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_dirtHigh.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:95292c8d6bd10b04b2112832ad84fbe2d022912fbb8910c1bff3d0bbb692f7ef 3 | size 11930 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_endRound.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:aba7af9d39f3ddbecdb456c02d2f2c70e3ab438b7d26e434d4b18b15db310099 3 | size 21885 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_endSpawn.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9e5c7e7d572ddbe79adad2beedcec90032381276a7b4e7d2eff1ea6571e4baee 3 | size 17982 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_highlighted.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:95292c8d6bd10b04b2112832ad84fbe2d022912fbb8910c1bff3d0bbb692f7ef 3 | size 11930 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_riverBridge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:430182f6899db3c154e8f57f20f03d589f44f60017a97244a271d5859b8cec69 3 | size 24765 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_riverCorner.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b3ed1771d0f904333a747deeb02e77faa22c3c00c612daa5b64f92ba172b3bf6 3 | size 29811 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_riverFall.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bb1855fab47e930feeb5a7de3ead35d62c94797724933ddd5082c554a5e5f89a 3 | size 23785 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_riverSlope.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:352cd90d510ea82369743470a306571b6718502710fc73839c6144ea988c0807 3 | size 16703 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_spawnRound.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e3905c11cd4c08f99f1f92376e31c831375c8f2255b1711496c43f4274352f91 3 | size 32437 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_straight.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bd5a1d51b59f67e0067d886e22fe6d2619420026fc2f073821cbf69ad3db2a11 3 | size 15100 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_transition.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a9ae08252586fcf2600ac7c9103d598d6f12d02feb90e0bea3e847dacb5cc259 3 | size 15334 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_treeDouble.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:28f2dd1cfb90d455e695b5b9163c2bbe77c481ea29501b6a8b6f80c46bd5af2b 3 | size 48483 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_treeQuad.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cd5780647b171158e40d98c13aca9f2765a3d4344eee83edde76adc9828bab09 3 | size 83859 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_wideCorner.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:704276c23f40e9aa26d232f3a7ce2f71b0237f78e0ab012e5525312ad53d6f9f 3 | size 29677 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_wideSplit.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6bc894b6af2889383fb4ebdae29c708fbdc4e0de2d809858bbc0b7f335ade6e5 3 | size 22957 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_base.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4dba9830ecd178e87b9c805ad2e8ff3bd85a1b68b44faa1c135b46f4998fa17a 3 | size 53895 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_roofB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:51934314d77a6b8fc0ebbadc643896f2d14590d80bb8eb7b576692c9a64feadd 3 | size 92028 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_roofC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4da5480cdbf3bd2fbae2c19517089e6af2987fbacb69f359bb5a189627ffd867 3 | size 77544 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_topA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f68de92cb801ceffe35cb25d06e2b252e2d26d3d3875ec107d396fa6e7c41004 3 | size 88587 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_topB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0aea78cb5b12623032241c110350c84caf70ddcd20bb612071ea364180af785b 3 | size 63839 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_topC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9ca57a4a7dfd4ae5e4aeeeae06e8c0a6b4b3ae5cab9818acde91c76ddbc6e54f 3 | size 66653 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_topA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b26eee1c7baa126095c1b33d9a00f3f93a777bac113b4e3b7da360208817eebf 3 | size 29160 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_topB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e3c9f061df834b2df62d7631ae0d4c708ba16dd5b54bbcf0b5b2cebd8cb4ee58 3 | size 26095 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_topC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:529610608af5d37dec3f07dbf0122d39852be4fb56f55e6e572df398c9098f6c 3 | size 22650 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/weapon_ballista.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0f7e1d40cdb7ddcedf8c45587e0038a3b3b09c5288cfbf0e76987707e582f41a 3 | size 107178 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/weapon_blaster.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:14f5773fc59b8ed7f7f49901a89f0f85992e9f24530aa08d363b93612080cade 3 | size 90891 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/weapon_cannon.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bdd258cf938d0a9284d6c3e759c30d5969d9fe9a9bb1192bd2cf3233d0512c8e 3 | size 124864 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/weapon_catapult.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:db1a703d3a6d2509324fdac8dc303cd60fbe671a986a5b09de6d646fbe6fdd88 3 | size 102361 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/woodStructure.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8a1ce52d6abdc19882230f44ca3a47d56d62a122b89f3c84330a1822fd7834ec 3 | size 23019 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Font/kenvector_future.ttf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3d1e9a99f3c6c190d20fa9fd2920fa4eb764884874a67247cbfcdd00bdba499e 3 | size 34136 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Spritesheet/blueSheet.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:722d8c9e042ed60ab2aaadb79c2c8cfa1180dc6054de14882b221a176f74b0de 3 | size 10406 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Spritesheet/greenSheet.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ca07c5603d977ca1f239711263dcb4fe8eb8991996813a781ec6140185042606 3 | size 9977 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Spritesheet/greySheet.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ba4e8511bcd0b0d93ef7cb4b5cc37a44f0c9105f3e66c74091530f76437e7ca7 3 | size 12953 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Spritesheet/yellowSheet.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a81f8dfc6696fb5bbfc2c206f362051d9e9362bdd857e35e67972ea0622f0e70 3 | size 10209 4 | -------------------------------------------------------------------------------- /NativeScript/Targets/Generators/VS2019.bat: -------------------------------------------------------------------------------- 1 | cmake -S ../.. -B ../VS2019 -G "Visual Studio 16 2019" -DCMAKE_CONFIGURATION_TYPES="Debug;Release;RelWithDebInfo;" -DEDITOR=ON -DBUILD_STANDALONE_SIMULATION=OFF -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Fonts/LiberationSans.ttf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e5b0af421ea2bfbc1ac8d251d647268087ae82786234c57f757d1f0b90fa8b49 3 | size 350200 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_crystalLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a85747c16885c8d39fa9e5b2be373be650281a12d1442eadbac2f38d9091d767 3 | size 48441 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/detail_rocksLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e441055a0ad344d846daf7f355663453fe5b3255901e944322042905c3f72ecf 3 | size 28724 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoGreenWeapon.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4028b3f24af2db510d6ee5e5d49337f675260de90bfa8c92b6f5627f8061d332 3 | size 168395 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoRedWeapon.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3f7d46f9012d02389b47b73ea97d3c7c0bbf76499ec0b06f1946fdef72a258e3 3 | size 135854 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_crystal.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9025906b0e5737b258380842e650e1a140512c4996489cdaacd4bc3febd4fb9b 3 | size 15303 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_dirtLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2807fee82d06a2e7de34211680912078f7c880ca933b72e36320727ee2c8ae39 3 | size 29125 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_rocks.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ea4a8b9ac0608718f38c5a1f02bdbaed520033d4ecc3cda6bc06f3b282901239 3 | size 41371 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_treeLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d1eb8c026956d9de7af9f65105f2a0ded7b1730212ff9f9521483349a2870367 3 | size 28090 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_cornerInner.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:abbff4e65f50eff872ae9692d57ea5a213f5757ed836298e55ba7b915fddcef2 3 | size 13083 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_cornerLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:07d1cb6a926d6d05f4362d66a80ac8757dc3593cdf7fbda041eb710387b6fc7d 3 | size 29743 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_cornerOuter.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3f28caacd22f912e9d54d44393689a97af02805a1440228a2bef625721799337 3 | size 13033 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_cornerRound.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ecfc46c263239c7e769de490b360cdbae65f5d20a25b339a64e247b1d8b4cf7b 3 | size 29560 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_crossing.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:be1a6290882dbb575493e69c242bd7f0586d78651df1771457eeceafe8626c0a 3 | size 46172 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_crystal.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e1d3942d4615cd278c7d2cea7075c27ce6b4a9a78dd4fbe8aced27ead515c75f 3 | size 51981 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_endRound.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:69e4deb1489ea41d57753bfa62a3b049d5191d6d1f903d8c6b8a2eb6bb1cd6fc 3 | size 22372 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_endSpawn.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:934dd3585cfeedb72f76cea168110cf094e5afcceab95bb50ea0d2cd944aa40f 3 | size 18421 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_riverBridge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:601cf9536a41c14fed7e8b7e37798743ca947e8a8533a32dbf80537c653f8979 3 | size 24699 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_riverCorner.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:013450d4fd4882cb109348c16558434059b5ec5a5ad72a67e79a73d2fedb5c7a 3 | size 29844 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_riverFall.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:abb9b5c4d2a0b31f160ecb0fb49144ee52b1da66438b069c0e6cbf06aa67db9f 3 | size 23818 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_riverSlope.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:59b5ef50c09fb2d62ad0435b007578be3a88aa2afa39e2c5764669602cb89fbd 3 | size 16742 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_spawnRound.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6a2b42282dcb75ddc03259ebbbd874c317bbd823319420cc3ae7e0c69da7cd66 3 | size 32997 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_straight.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5619e861382d5f9bf4968312b5d9c7645acab30aa2230da8c13ef8db68df541f 3 | size 15521 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_transition.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:72c881f3bde9a3b17fde7fdcffab1ae6f8527fa52364043ca6736f43ffcad3c0 3 | size 15756 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_treeDouble.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3f7cd1377e4642cc1158de1c47df45952c0372f0284225d84f8a04ec9ca5bdf7 3 | size 48404 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_treeQuad.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3160c481c0e92dbd4cf6d237037f5682575445a202441ba2fc44383ee5089b0f 3 | size 83396 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_wideCorner.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f988e7fe9c1afca048f84be4e7a74ea23ab8cc558f4b8fba9b6a5c6d14f7d267 3 | size 29819 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_wideSplit.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0ae0f74c284a21de733fa8be315dc6a56f3edb9749a91136b48e4464a1cb49b0 3 | size 35476 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_woodStructure.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3fe47d57bde34f52ade95b11091e7d8ab056d14e31fabba1534e49cc20f1d6c1 3 | size 23427 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_cornerSquare.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e9701bf8529ac8c0a9c051b4fdb475f805213eeefff2f7b293b514bfed349c00 3 | size 16005 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_endRoundSpawn.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:634df1fbbfa9c5e7d1edf82384fff34c117fa1f457aa737ad9b2c4f80cec9811 3 | size 37755 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_riverSlopeLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8433b9f5940098652f0588dfc064a3064a7f8653358c681a7f4153713518ed7e 3 | size 17070 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_riverStraight.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c6fe2dd866c51b81f20c7d4c41f31482565df69975a438c0e868b8a01cbbe749 3 | size 15930 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_riverTransition.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:86ba62f9def9121c71685f4eb2ec9290231a73ff294d2617471cbb558621d991 3 | size 15882 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_straightHill.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:25d85dd9c16f1aedaa5d3bb8b9eab2b41bc0e31177cb3bb8c7f480f0552c255e 3 | size 15613 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_wideStraight.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ea243f9c8d170f9f635cb303200d17f62f6a1be6fc371fea30d724cdb035aefe 3 | size 15164 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_wideTransition.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c4b9beb55297c46a1aaeeaf92cad55c1e980fbd794399c05b765a4d93f29fe68 3 | size 19882 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_bottomA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:887d60b579f9d42135f511633a3dd5961f0037448d3e439e82724ca44a21400c 3 | size 40473 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_bottomB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8dcfa970ff6e35d405af49a05833b0ef4f9362a6a9296f90f538f7eea4c42674 3 | size 40927 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_bottomC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a32a80b1887abf842b56b07a46b7cd7f7760888bfd476b9cd36f376e05e542d5 3 | size 46106 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_crystals.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ad1728d6264419f98411a7e0d61709fff173670f611dfb8e4fd5a2491de44f55 3 | size 83860 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_middleA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7c45d25e30433b3b3d2e3f4941d2c0d959d5b9c146d4904caf8ef29426f0b7df 3 | size 42632 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_middleB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:88e7d1aa0ccb9625854136659602fcb4f9a924b242f79cf86012d4f230fec0e8 3 | size 68432 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_middleC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:92a00d475da04e50a5e8fbb57ccc46ce24337af861c97c78083adb63993815cf 3 | size 44309 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_roofA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e287b187b40b7276d9298afd8202922d2fc533bfec57665b10508db64b7d3b80 3 | size 147055 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_sampleA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dc69151fa34553e9337ce5bca1d4c86c9ebddec56f7333495215b58b18f6d7ba 3 | size 109151 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_sampleB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2bc01b241b703d1f38ed5e4ec63e3a0e0612b461f36cd1aaafcb2ee17d0e47fb 3 | size 94728 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_sampleC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0c6c67dd6f4d3a25b0dee56d0e376e72711715a40284903bf3eae29bb1d109d1 3 | size 91949 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_sampleD.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e711eee1d2099169c72b7f7c8dc96f5d92a1789d228c6286d036f7968320e6ec 3 | size 162754 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_sampleE.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4d5dc7b57ac52f5b1f13edacad378778f38e7fef53549893d8c376867a1083e1 3 | size 84052 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerRound_sampleF.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c5760c1d7ff65f62db4777c1a90ea4ed62bcc6f666a9cea5e92202d1b972d94e 3 | size 121183 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_bottomA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:77fe8f8e02377ce77c9f7c00d4b031cd596c70b061efc3ae5f0ea106173a406e 3 | size 14367 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_bottomB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c22a2fdac1333912576d1dfd345c686ee97324b2d109300158475dada271ce6c 3 | size 24797 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_bottomC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a275447c3e434f7256ff7129660b8bafdf7f7341db939165f7519c583e8d7746 3 | size 17537 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_middleA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:41eeebc7e7c1ba62b21a5f1841a19a737b65ff790b63627b19cd56cb6f6c914c 3 | size 13980 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_middleB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2340d7862770b43495c85e0a2149e961083006fdf0bd261ac5c007c86bc47240 3 | size 21546 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_middleC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c0af804cf9cb0fac68891d0d3da8c63c3b76741b9eef8243374dd2e60f75223f 3 | size 22855 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_roofA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e5c204a57bfec3cf3f79c6622626a74adf069df00fccf6d8a618b0ff18fe458c 3 | size 33118 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_roofB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fbd2b1b712fe6765397ed99186b3c6fb328fb3223ffffe0fd1b6eb3bf0a9378c 3 | size 31019 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_roofC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ff3728fb5fccd1a54a745d2316275be48f2c8062f621b005de66ec6eb26bb86c 3 | size 28623 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_sampleA.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b32464ce1caeb7b8c437c0f849a9c291cf216b9833e02093fc9b66957577a83d 3 | size 35326 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_sampleB.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:36ae8f2a7edbe59d236e5b5c3efa78e66ef568c8c3f805985c25bbe8bf14ef01 3 | size 42559 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_sampleC.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e9d927e00b2cdcb3fb5e4b81f6203cff275e54a641c8af792544a421f8a44f1c 3 | size 34828 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_sampleD.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:45969991df5ae4ef3b8e44929aff2caba1f6a5d898f0df953fad3765a239558d 3 | size 31344 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_sampleE.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5077d09a74e2cb45cf104ca1a2ec5b8d7043c23a0fb7437efff6710eaef2a0b7 3 | size 37550 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/towerSquare_sampleF.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ea931e714e3688f02db4d9eb9a5e7fae25ab14dbd69f6b25199611256401d280 3 | size 29228 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/woodStructure_high.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:34ba2993e0518a856928c09c288c197f63785a39859cc0ddf1e8e96b65dc3259 3 | size 30684 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Font/kenvector_future_thin.ttf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5dcbb91bc3df490ef12cb384d5754cb46ebd73d15e5f0d7e8cd45d5763298514 3 | size 34100 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/sample_scene/quad.tga: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cc2752cf773a102d8dc086c202b6ded1cd850796f06c07846a6e86c2028ac974 3 | size 32652 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoPurpleWeapon.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e5c2d10f0f10b52d8eac138caba5bdaa81c8c4a96158a190b7af1bcec40857dc 3 | size 201616 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/enemy_ufoYellowWeapon.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7af2c90022e8c3181a3fe49f6a0dcff20472620aae0e4c2d25031b61a9ad1001 3 | size 176403 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_crystalLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1d60ed52992a7057f3a821fce14c2adfebf1b6b5a13b49a02f810322e3375d61 3 | size 48811 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_detail_rocksLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ea43cd18dcf44232caf202a8f83b45547b513caaa03dffa486e7161d6ca82f41 3 | size 29127 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_cornerSquare.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e2e6ccc7734501ece4ef710d22623e7f17d868bad6f52f8712b2318b294e35a5 3 | size 16458 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_endRoundSpawn.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2dee6bbde2a68eafcdd55ad61465f80462b7fc68fee2cf5287e359a27c0d8229 3 | size 38424 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_riverSlopeLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:956eef50bb6b8e6b88dda605e2838c46f3cd4b678677f5132e72cfb19941432b 3 | size 17105 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_riverStraight.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2c33e553bfe39a892ad178d576cce25d6337639a63e771ec935226f1c43401ef 3 | size 15962 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_riverTransition.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:88b58708b5376e6f43aadabb867ea2f9fcd7b556a177ac59da6c20634e27a10e 3 | size 15915 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_straightHill.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:95e175b13984040ecdc055ba8ea2d8b770bf829e20dc00d8b510f2e8b87109cd 3 | size 16038 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_wideStraight.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3b6c1b1172c13b19532b9e75ca4c3f7b0bf2f45d59847ae1551fcc44827371f1 3 | size 19265 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_wideTransition.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:336c96ec4876f122251436623aed0ee732dbb1660f96db49b4f54d0c2b4fcbb5 3 | size 20125 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_woodStructure_high.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0686173bb97ec617c9006288d49619f909b0d2979a7dbd55995146408d15befc 3 | size 31182 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/tile_straightHillLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:33e104cf3e8b1e949ac32576c3437a0a07ba469b5645d8e997725d581ca180ca 3 | size 15938 4 | -------------------------------------------------------------------------------- /NativeScript/Targets/Generators/VS2019_Standalone.bat: -------------------------------------------------------------------------------- 1 | cmake -S ../.. -B ../VS2019 -G "Visual Studio 16 2019" -DCMAKE_CONFIGURATION_TYPES="Debug;Release;RelWithDebInfo;" -DEDITOR=ON -DBUILD_STANDALONE_SIMULATION=ON -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/ToonyTiny_City_Pack.tga: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0edf6597d7fb3d24148c0adf2151eb118b81efb63b09ed8842a295bec48c39ea 3 | size 4046365 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_run.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:49a7cf227f502bcf8cc81c9ad454c7f74fb8b350ef59844aa03055046aceb3ae 3 | size 179680 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_run.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fdc485cb4dbb1f456e90df867d92f6d441d7eb13e78b7bedd09050c8f7e17cb1 3 | size 180208 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_walk.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2b4e591c6403bb91b12d3a4059150531936871e6d841644ba35a555b89ef2bbd 3 | size 191632 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie/Z_run.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6033d3748b756310ba378e57679273f44c4659a8c019210485163c5fd4c72a17 3 | size 180352 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/TT_demo_female.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d076bc279b3791c52a1f78ee9b2e002ddad052f1db5f1ebd0be247bbcd9ac325 3 | size 92000 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/TT_demo_male_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:352db8de206ab8a9206883eecd03019ccee80fe4ca2de0a1ef5ffbbac9d8adbf 3 | size 88368 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/TT_demo_male_B.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8b406ea9037b9d773ab995caa6bdb98d7c9bb60f59d08ac18e96912d788501f8 3 | size 79424 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/TT_demo_police.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:23a8f687ebabec74f22db3614c9e17618221d613fe6724f7ba428a45eacc16b3 3 | size 96048 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/TT_demo_zombie.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e3c9741bbda60b1307df2140e35aec62d7924d180b5230d30cd921e1f2db629f 3 | size 80192 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/snow_tile_straightHillLarge.fbx: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5f75d78afc883dbbcd7046787a66279312573c16b8e5202d255f8a577002e380 3 | size 16359 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/ToonyTiny_Zombies_Pack.tga: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4cda67e80e22736f5e44da8a3eb8232dab96fc5c99ebd56d210538449901fb6a 3 | size 2285388 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_death_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:89ad497adf874247b5f5fa2e39ffc99b858269459223a3a705c61aa2afa4847d 3 | size 259680 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_idle_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5a32eb7438c47f42da27aba3790faf372106adf5a5c12ee6d039ce8dbc4e94b0 3 | size 386928 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_run_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:463124485f7aa3da5a2c1c186044b61460cb23fe60dcc3f81131cd2ad6f9d6f9 3 | size 179680 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_walk.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:95628048d13929a0cbe447754c9df37d163bc69ec29071d0cce5d35dccf11327 3 | size 191024 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_walk_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:14278970d56bc61f0b777ba339b786fa44dcbcf2d2180b4a00f2ad7fbe19bc87 3 | size 191024 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_death_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:89ad497adf874247b5f5fa2e39ffc99b858269459223a3a705c61aa2afa4847d 3 | size 259680 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_idle_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c60803cd167e48ba579ffb9d0afd126f996b5f107fb96bee6dd5b90ea3a7496b 3 | size 387552 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_pistol_run.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f78ca54424c73031f9bcd39e489fe2ea2e02ecf6809b80b5a6794ded4797ef91 3 | size 180256 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_run_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ec84b5d5d72350e34773f86d8c1f15b0de83d6e0271b6cf1c5812f5f0e01468b 3 | size 180224 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_walk_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c7908569a828a44cf61f1a7995e2ddd90ed413dd5942f9ba144e3c6ebadf01c4 3 | size 191648 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie/Z_attack_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:57f482c2293dd413bb97196ad462339aae8bba2acdb34fece2f1f889427895ea 3 | size 225728 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie/Z_death_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:320532422581a2bca8dccba46ebe240be8f5b70fd872e800e656aec167f4a7e5 3 | size 259744 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie/Z_idle_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ddb3c10f1ed62db28c4b0484cdc2d18bd30506b3d99b0248f0e9353a50b55898 3 | size 387696 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie/Z_run_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:260c412a405fc1cbad4b66f146d7fa3cd0e5435120f7d7955763c05846aa625e 3 | size 180368 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie/Z_walk.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fc6b67eafd4ac9f67835636df52572b2c81489cf575a219a05fb6228c975fcee 3 | size 203040 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie/Z_walk_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5e2c204a1cf89fb955e9d5b7e3f1adfa5a55498ca6bad60641f020343e4a3493 3 | size 203040 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:93d6d3ca8a7d8423b01faacd00fa3921fe055fb2187873653a925e4cc1af85c0 3 | size 694398 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/ToonyTiny_Citizens_Megapack.tga: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fb05aa64a6104742ff2698bff605bf18534f37603807aacbd2d6e19b1f0d85b6 3 | size 2222211 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_pistol_idle_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:957c57111f98a1f590177cded25d23f8fedac74843936bc39e780ab49bbbe620 3 | size 387584 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_pistol_run_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fd9de4baafb483837b4ce6ea4b9120196c1b5602c0681e04b5e41d99ab1fecf5 3 | size 180256 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_pistol_shoot.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7d0876829a30b7a0c9f113ae2ef025d6845f56774e4bf4060530b5e02a2cb94b 3 | size 202944 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/Materials/TT_demo_texture.tga: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d3e2861d7ffd6a8ad2f2a1f8495bcae06478325b1bbb10b2132edfad5df9ed66 3 | size 65304 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_melee_combat_idle.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:171c56fa705b227cd9ebebdda9d7fbabfd9c461d84a9a7bca702b185d3367a92 3 | size 216640 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_melee_combat_run.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c730ad8a7e475582fadd5684fc9443416ca91988310af2cddd67e5ba5758b74d 3 | size 180352 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_melee_combat_idle.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:171c56fa705b227cd9ebebdda9d7fbabfd9c461d84a9a7bca702b185d3367a92 3 | size 216640 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_melee_combat_run.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c730ad8a7e475582fadd5684fc9443416ca91988310af2cddd67e5ba5758b74d 3 | size 180352 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_melee_combat_run_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a4be9ef2646858c172f9e7757f5d586ad8f67024bac414ccf5b099fedc8b8ffd 3 | size 180368 4 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_melee_combat_attack_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6873e01a3d54d7d3168aabf77440233ce08ff95ef526e0f3caadaed5c764eb74 3 | size 203040 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female/f_melee_combat_run_rm.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a4be9ef2646858c172f9e7757f5d586ad8f67024bac414ccf5b099fedc8b8ffd 3 | size 180368 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male/m_melee_combat_attack_A.FBX: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6873e01a3d54d7d3168aabf77440233ce08ff95ef526e0f3caadaed5c764eb74 3 | size 203040 4 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/license.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 317391c39539ff24c9d4c2c2f5d08ebc 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/CurrentWave.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | /* GAME_STATE_COMPONENT */ 4 | struct CCurrentWave 5 | { 6 | int nextWaveIndex; 7 | float lastSpawnInWave; 8 | int numSpawnedInWave; 9 | }; 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Animators.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 123ea54ac012d854995f1f9744fb0e40 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Maps.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40380e1a947880a4eb0863dc2b6ec243 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Maps/Map1_Geometry.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 260c4b249b62d1c43986c42262f43115 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d3bb7ae826f20746958c697470ee7ca 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90eb3822d2787dc44ae0b37ec2f63759 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d2e51f5e9d3b794fb94753e216d4b6b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d4b5d948fac08a45921449ea5c2abd7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Plugins/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 349a82dbed769c7459f8a9285fad0d51 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Resources/Prefabs/EntityView.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8fa93f207c9fef4d8b8fc33a145989a 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f54d1bd14bd3ca042bd867b519fee8cc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d832fc0766a64a14381a94b5f83b1af4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Font.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f97b3118707edc7458308eb81be37567 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Maps.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f2abaf84ed17cc439341f59350dd3aa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eeb82b6a537656e439bbb2acc9bc3488 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7bec9491c24f74649a1adf013012b652 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Views.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c808e90dd1275443b49441325c3cb1c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Resources/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c7af34ea70de4d46ac21e09f1dc6d1f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Resources/Prefabs/CannonTowerView.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3d8edfb9b122384a8b18ab7c541c9ba 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/Resources/Prefabs/SphereBulletView.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 519ec8c9048149547ab52263e7288e41 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ab70aee4d56447429c680537fbf93ed 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c001016d2d60397428d73b2663b982ff 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68ee91559f569f9439f8c45a697e932b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Spritesheet.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80e4e26d4487f0e4b9fce42f085f14e4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/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 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c555b0a0591e84f44b987b19b36028ac 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Resources/Prefabs/EntityCooldownView.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4eab718e7b26f924e9e4c955c4452a41 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 243e06394e614e5d99fab26083b707fa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68e6db2ebdc24f95958faec2be5558d6 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 407bc68d299748449bbf7f48ee690f8d 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0603b6d5186471b96c778c3949c7ce2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7157588f374a7524cb02589d3c73fb87 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/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 | } -------------------------------------------------------------------------------- /UnityProject/Assets/Resources/Prefabs/EnemyEntityHealthBarView.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e71b9132a904db4fb3d15c3849ea7de 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e7e8f5a82a3a134e91c54efd2274ea9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 128e987d567d4e2c824d754223b3f3b0 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMPro_Surface.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d930090c0cd643c7b55f19a38538c162 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt: -------------------------------------------------------------------------------- 1 | This sample of beautiful emojis are provided by EmojiOne https://www.emojione.com/ 2 | 3 | Please visit their website to view the complete set of their emojis and review their licensing terms. -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 381dcb09d5029d14897e55f98031fca5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a8a61aa54c6fec499b0ac54a4a1b801 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/BootScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0fcf17822c8c4b4f91d4e8427f62804 3 | timeCreated: 1501905505 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/BootScript.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b5575a60b7c04c7a87ff4e161573c66 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/VERSION.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5930bc09a4784968b77045e37b77968 3 | timeCreated: 1503122108 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e3b057af24249748ff873be7fafee47 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd89cf5b9246416f84610a006f916af7 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe393ace9b354375a9cb14cdbbc28be4 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7ada0af4f174f0694ca6a487b8f543d 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3997e2241185407d80309a82f9148466 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/prefabs/TT_demo_female.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2db03e7c8a8135146b280e5da7e0289c 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/prefabs/TT_demo_male_A.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fb37f825ee63264b9c2600bf1a52006 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/prefabs/TT_demo_male_B.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 907fd825e3988774caab4234b943bf44 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/prefabs/TT_demo_police.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47a3741b253f088469eedd6d403dd89a 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/prefabs/TT_demo_zombie.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b14953694d54eea4eb66f453e525024c 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b8d251f9af63b746bf2f7ffe00ebb9b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Custom-Atlas.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48bb5f55d8670e349b6e614913f9d910 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a02a7d8c237544f1962732b55a9aebf1 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85187c2149c549c5b33f0cdb02836b17 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Sprites/EmojiOne.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f05276190cf498a8153f6cbe761d4e6 3 | timeCreated: 1480316860 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Animators/Male.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acf5f11d3165d7c4d94955f926a3f9ef 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 9100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/NativeScriptTypes.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6fdf41c47dd54c009e401c6b8f50f98 3 | timeCreated: 1501974609 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dcdc7fc3d5ef84cfdb237d16ca0546ee 3 | folderAsset: yes 4 | timeCreated: 1501969758 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Fonts/LiberationSans - OFL.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e59c59b81ab47f9b6ec5781fa725d2c 3 | timeCreated: 1484171296 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/TMP Settings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f5b5dff67a942289a9defa416b206f3 3 | timeCreated: 1436653997 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/NativeHelpers.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Native 4 | { 5 | public static class UnityTypeHelpers 6 | { 7 | public static T Downcast(Object obj) where T : class { return obj as T; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30246f3ac733e46d9a5280becbe04ead 3 | folderAsset: yes 4 | timeCreated: 1497929556 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Sprite Assets/EmojiOne.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c41005c129ba4d66911b75229fd70b45 3 | timeCreated: 1480316912 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/sample_scene/ground.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 434413e1195066545a96066e385c44e8 3 | timeCreated: 1520446429 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TowerDefenseKit/Materials/highlighted.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dde9716677dfa584895a3ed83af6211f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/TestSpawn.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Helpers/SpawnHelpers.h" 5 | 6 | void SInitTestSpawn(Registry& registry) 7 | { 8 | for (int i = 0; i < 1; i++) 9 | SpawnHelpers::SpawnEnemy(registry); 10 | } 11 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99f836c9cb9345dba2e72c4a1f2d0695 3 | folderAsset: yes 4 | timeCreated: 1436068007 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/Materials/TT_demo.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fd192304df88db499eedb3456dc6d67 3 | timeCreated: 1520446031 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb19f2d6c4c0e41c18cdd5ead2b97cec 3 | folderAsset: yes 4 | timeCreated: 1519492407 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fade42e8bc714b018fac513c043d323b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d82c1b31c7e74239bff1220585707d2b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Sprite Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 512a49d95c0c4332bdd98131869c23c9 3 | folderAsset: yes 4 | timeCreated: 1441876896 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Style Sheets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4aecb92fff08436c8303b10eab8da368 3 | folderAsset: yes 4 | timeCreated: 1441876950 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48a2521370ce07144a1e087c9dfc358e 3 | folderAsset: yes 4 | timeCreated: 1520446421 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94bf4f823211bba4298c939a27caef7d 3 | folderAsset: yes 4 | timeCreated: 1520446016 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b61c1bca20d59d74297e5bd790793d94 3 | folderAsset: yes 4 | timeCreated: 1520446439 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/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 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/WaypointSettings.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct Waypoint 4 | { 5 | Vector3 position; 6 | Vector3 direction; 7 | }; 8 | 9 | /* GAME_SETTINGS_COMPONENT */ 10 | struct CWaypointSettings 11 | { 12 | std::vector waypoints; 13 | }; 14 | 15 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Helpers/SpawnHelpers.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace SpawnHelpers 4 | { 5 | void SpawnEnemy(Registry& registry); 6 | void SpawnTower(Registry& registry, float posX, float posY); 7 | void SpawnBullet(Registry& registry, Vector3 position, Vector3 orientation); 8 | } 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Fonts & Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 731f1baa9d144a9897cb1d341c2092b8 3 | folderAsset: yes 4 | timeCreated: 1442040525 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f586378b4e144a9851e7b34d9b748ee 3 | timeCreated: 1484171803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f952c082cb03451daed3ee968ac6c63e 3 | timeCreated: 1432805430 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/male.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d37ce0bd81e182446a5317ee1c4a623d 3 | folderAsset: yes 4 | timeCreated: 1520446514 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/sample_scene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0f0a08a308fa5f46a988e7a6059e945 3 | folderAsset: yes 4 | timeCreated: 1520446429 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/sample_scene/TT_Citizens_sample_scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef84f0feb37c21e4f9485ac11ec74c35 3 | timeCreated: 1520446429 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/CollisionLayer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace ECollisionLayer 4 | { 5 | enum Values : std::uint8_t 6 | { 7 | Enemy, 8 | Bullet, 9 | 10 | ALL, 11 | }; 12 | } 13 | 14 | struct CCollisionLayer 15 | { 16 | std::uint8_t value; 17 | }; 18 | 19 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/female.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fadb9e87488c32540bbef36d50cd5ec3 3 | folderAsset: yes 4 | timeCreated: 1520446485 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/animation/zombie.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5eabbcac3f932844d83b1d52fa3d516b 3 | folderAsset: yes 4 | timeCreated: 1520447188 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61fb954842fc25f41a352bc136c69fdb 3 | folderAsset: yes 4 | timeCreated: 1520446031 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Drop Shadow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e73a58f6e2794ae7b1b7e50b7fb811b0 3 | timeCreated: 1484172806 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e498d1c8094910479dc3e1b768306a4 3 | timeCreated: 1484171803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79459efec17a4d00a321bdcc27bbc385 3 | timeCreated: 1484172856 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_Sprite.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf81c85f95fe47e1a27f6ae460cf182c 3 | timeCreated: 1450517184 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Masking.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc1ede39bf3643ee8e493720e4259791 3 | timeCreated: 1463704911 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Components/WaveSpawnSettings.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct WaveSpawnConfiguration 4 | { 5 | float time; 6 | int numToSpawn; 7 | float intervalBetweenSpawn; 8 | }; 9 | 10 | /* GAME_SETTINGS_COMPONENT */ 11 | struct CWaveSpawnSettings 12 | { 13 | std::vector waves; 14 | }; 15 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/UI/GUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 620da964309f3734e927b5aa79c97f95 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/InputManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 627d648a34694f9499c3b10652bab07e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/UI/GameInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07749a3792dd4834da0d1940d30d7db8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/ECSBindings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de589a0699c17994a84ef6b7f2ba198a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/EventHub.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0577d9acf9a22ef4da6976cd9ec16154 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/GameSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b75b41fa17111bf448874758b4778e8a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/NativeGameState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e991ca6fc3dc0ad4b8f6ebf4c4444742 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/NativeHelpers.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b363023c75c13714fb1a936c9a8810b3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Utilities/Singleton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 041c085804cc60e42a91ed619377050d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Maps/GeometryBasicGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49ad8412ae9b80a4fadfc62487d007d7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/BaseNativeEntityView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afe3b0660787f5f4da7df33b8e978fed 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Views/EntityCooldownView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80e7fb8f6c2f9284494e8422cbbdfd97 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Views/EntityHealthBarView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10489233942b5344d9ff50aae62d4a00 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Views/EntityPositionView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b6afea5d59224946b3b2cd3bc9278b6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/AbstractBaseNativeScript.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b091241e690ec6740af09df6079d939b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/Bindings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 665d6bf4c0af74229be9793f99cca81a 3 | timeCreated: 1501905896 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/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 | -------------------------------------------------------------------------------- /UnityProject/Assets/NativeScript/Editor/EditorMenus.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5aad51de55c544325a293e98c996a550 3 | timeCreated: 1515806821 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "NativeScript/ThirdParty/entt"] 2 | path = NativeScript/ThirdParty/entt 3 | url = https://github.com/skypjack/entt 4 | [submodule "NativeScript/ThirdParty/bullet3"] 5 | path = NativeScript/ThirdParty/bullet3 6 | url = https://github.com/bulletphysics/bullet3 7 | [submodule "NativeScript/ThirdParty/eigen"] 8 | path = NativeScript/ThirdParty/eigen 9 | url = https://gitlab.com/libeigen/eigen 10 | -------------------------------------------------------------------------------- /NativeScript/Source/Game/NativeScript.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #if UNITY_NATIVE_DLL 4 | 5 | #include "World.h" 6 | 7 | namespace Native 8 | { 9 | struct NativeScript : Native::BaseNativeScript 10 | { 11 | NATIVE_NATIVE_SCRIPT_DEFAULT_CONTENTS 12 | NATIVE_NATIVE_SCRIPT_DEFAULT_CONSTRUCTOR 13 | 14 | public: 15 | void PassGameConfig(void* config) override; 16 | void StartSimulation() override; 17 | void Update() override; 18 | 19 | }; 20 | } 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/UI/GUI.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class GUI : Singleton 4 | { 5 | 6 | public GameObject hudRoot; 7 | public GameObject popupRoot; 8 | 9 | public Camera MainCamera 10 | { 11 | get 12 | { 13 | if (m_MainCamera == null) 14 | { 15 | m_MainCamera = Camera.main; 16 | } 17 | return m_MainCamera; 18 | } 19 | } 20 | private Camera m_MainCamera; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/DecreaseCooldown.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Components/Cooldown.h" 5 | 6 | void SUpdateCooldown(Registry& registry, float dt) 7 | { 8 | PROFILER_FUNCTION(); 9 | 10 | registry.view().each( 11 | [dt, ®istry](auto entity, CCooldown& cooldown) 12 | { 13 | cooldown.remaining -= dt; 14 | if (cooldown.remaining <= 0) 15 | { 16 | registry.remove(entity); 17 | } 18 | } 19 | ); 20 | 21 | PROFILER_END(); 22 | } 23 | -------------------------------------------------------------------------------- /UnityProject/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 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/license.txt: -------------------------------------------------------------------------------- 1 | 2 | ############################################################################### 3 | 4 | UI pack by Kenney Vleugels (www.kenney.nl) 5 | 6 | ------------------------------ 7 | 8 | License (CC0) 9 | http://creativecommons.org/publicdomain/zero/1.0/ 10 | 11 | You may use these graphics in personal and commercial projects. 12 | Credit (Kenney or www.kenney.nl) would be nice but is not mandatory. 13 | 14 | ############################################################################### -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/NativeGameState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Native 9 | { 10 | [StructLayout(LayoutKind.Sequential)] 11 | struct NativeGameState 12 | { 13 | public System.Int32 waypointCount; 14 | public float[] waypoints; 15 | public System.Int32 waveCount; 16 | public WaveSpawnConfiguration[] waves; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Fonts/LiberationSans.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3265ab4bf004d28a9537516768c1c75 3 | timeCreated: 1484171297 4 | licenseType: Pro 5 | TrueTypeFontImporter: 6 | serializedVersion: 2 7 | fontSize: 16 8 | forceTextureCase: -2 9 | characterSpacing: 1 10 | characterPadding: 0 11 | includeFontData: 1 12 | use2xBehaviour: 0 13 | fontNames: [] 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | userData: 18 | assetBundleName: 19 | assetBundleVariant: 20 | -------------------------------------------------------------------------------- /NativeScript/Source/Game/NativeScript.cpp: -------------------------------------------------------------------------------- 1 | #if UNITY_NATIVE_DLL 2 | 3 | #include "Universal.h" 4 | #include "NativeScript.h" 5 | #include "Game.h" 6 | 7 | 8 | 9 | void Native::NativeScript::Update() 10 | { 11 | Game::Get()->Update(UnityEngine::Time::GetDeltaTime()); 12 | } 13 | 14 | void Native::NativeScript::PassGameConfig(void* config) 15 | { 16 | Game::Get()->SetRawInitialGameState(config); 17 | } 18 | 19 | void Native::NativeScript::StartSimulation() 20 | { 21 | Game::Get()->SetEventHub(GetEvents()); 22 | Game::Get()->Init(); 23 | } 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/EntityDie.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Components/Health.h" 5 | #include "Components/RemoveMe.h" 6 | 7 | #include "Game.h" 8 | 9 | void SUpdateEntityDie(Registry& registry, float dt) 10 | { 11 | PROFILER_FUNCTION(); 12 | 13 | registry.view().each( 14 | [®istry](auto entity, CHealth& health) 15 | { 16 | if (health.current <= 0) 17 | { 18 | registry.remove(entity); 19 | registry.emplace(entity); 20 | } 21 | } 22 | ); 23 | 24 | PROFILER_END(); 25 | } 26 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/InitWorldStates.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Context/GameStates.h" 5 | 6 | #include "Components/ElapsedTime.h" 7 | #include "Components/CurrentWave.h" 8 | 9 | 10 | void SInitWorldState(Registry& registry) 11 | { 12 | Entity gameStatesSingleton = registry.create(); 13 | registry.set(CtxGameStates{ gameStatesSingleton }); 14 | 15 | registry.emplace(gameStatesSingleton, CElapsedTime{ 0.0f }); 16 | registry.emplace(gameStatesSingleton, CCurrentWave{ 0, 0, 0 }); 17 | } 18 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/RemoveEntity.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Game.h" 5 | 6 | #include "Components/RemoveMe.h" 7 | 8 | 9 | void SUpdateRemoveEntity(Registry& registry, float dt) 10 | { 11 | PROFILER_FUNCTION(); 12 | 13 | auto toRemoveView = registry.view(); 14 | for (auto toRemoveEntity : toRemoveView) 15 | { 16 | #if UNITY_NATIVE_DLL 17 | Game::Get()->GetEventHub().InvokeEntityDestroyed((uint32_t)toRemoveEntity); 18 | #endif 19 | registry.destroy(toRemoveEntity); 20 | } 21 | 22 | PROFILER_END(); 23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/click1.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3081ce9afb210204093ce0bd874960ee 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/click2.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb159d645ca01fd4c94363c286129cb1 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/switch2.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fbb2cde629329a429efa17830f9a05a 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/switch3.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86b0970c8e9b16d458fb0bbcd77edd34 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/rollover1.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 422def31ddc40f84e8fdd634ad790f43 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Bonus/rollover2.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f5fc6552bc3fab4f994dc7a0f625116 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/UpdateRemainingLifeTime.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Components/LifeTime.h" 5 | #include "Components/RemoveMe.h" 6 | 7 | void SUpdateRemainingLifeTime(Registry& registry, float dt) 8 | { 9 | registry.view().each( 10 | [dt, ®istry](auto entity, CLifeTime& lifeTime) 11 | { 12 | if (lifeTime.value > 0) 13 | { 14 | lifeTime.value -= dt; 15 | if (lifeTime.value <= 0) 16 | { 17 | registry.remove(entity); 18 | registry.emplace(entity); 19 | } 20 | } 21 | } 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /UnityProject/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 | - Ground 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 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/MoveForward.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | 3 | #include "All.h" 4 | 5 | #include "Components/Position.h" 6 | #include "Components/MoveSpeed.h" 7 | #include "Components/Orientation.h" 8 | 9 | void SUpdateMoveForward(Registry& registry, float deltaTime) 10 | { 11 | PROFILER_FUNCTION(); 12 | 13 | registry.view().each( 14 | [deltaTime](auto entity, CPosition& position, const COrientation& orientation, const CMoveSpeed& moveSpeed) 15 | { 16 | position.value += deltaTime * moveSpeed.value * orientation.value; 17 | } 18 | ); 19 | 20 | PROFILER_END(); 21 | } 22 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Font/kenvector_future.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26cf0e91059b3924e8513414c401ab9a 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: KenVector Future 12 | fontNames: 13 | - KenVector Future 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | useLegacyBoundsCalculation: 0 19 | shouldRoundAdvanceValue: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/UIPack/Font/kenvector_future_thin.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9828f9315ca4ba04680e702102f19070 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: KenVector Future Thin 12 | fontNames: 13 | - KenVector Future Thin 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | useLegacyBoundsCalculation: 0 19 | shouldRoundAdvanceValue: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/Plugins/Editor/NativeScript.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf3ac06c2497f7a42a1298fa3a5d6bb4 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | userData: 26 | assetBundleName: 27 | assetBundleVariant: 28 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/BaseNativeEntityView.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System; 5 | 6 | namespace Native 7 | { 8 | using Entity = System.UInt32; 9 | 10 | public class BaseNativeEntityView : MonoBehaviour 11 | { 12 | public Entity EntityRef { get; set; } 13 | 14 | private void Start() 15 | { 16 | var native = FindObjectOfType(); 17 | native.Events.entityDestroyed.AddListener(OnEntityDestroyed); 18 | } 19 | 20 | private void OnEntityDestroyed(Entity e) 21 | { 22 | if (e == EntityRef) 23 | { 24 | Destroy(gameObject); 25 | } 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/All.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | // Initialising functions 5 | void SFetchWorldSettings(Registry& registry); 6 | void SInitWorldState(Registry& registry); 7 | void SInitTestSpawn(Registry& registry); 8 | 9 | // Update functions 10 | void SUpdateMoveForward(Registry& registry, float dt); 11 | void SUpdateWaypointMovement(Registry& registry, float dt); 12 | void SUpdateCooldown(Registry& registry, float dt); 13 | void SUpdateSingleFiring(Registry& registry, float dt); 14 | void SUpdateEntityDie(Registry& registry, float dt); 15 | void SUpdateWaveSpawn(Registry& registry, float dt); 16 | void SUpdateQueryCollision(Registry& registry, float dt); 17 | void SUpdateRemainingLifeTime(Registry& registry, float dt); 18 | void SUpdateRemoveEntity(Registry& registry, float dt); 19 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/EventHub.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.Events; 5 | 6 | namespace Native 7 | { 8 | using Entity = System.UInt32; 9 | 10 | [System.Serializable] public class EntityCreatedEvent : UnityEvent { } 11 | [System.Serializable] public class EntityDestroyedEvent : UnityEvent { } 12 | 13 | public class EventHub 14 | { 15 | public EntityCreatedEvent entityCreated = new EntityCreatedEvent(); 16 | public void InvokeEntityCreated(Entity e) { entityCreated.Invoke(e); } 17 | 18 | public EntityDestroyedEvent entityDestroyed = new EntityDestroyedEvent(); 19 | public void InvokeEntityDestroyed(Entity e) { entityDestroyed.Invoke(e); } 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Helpers/CooldownHelpers.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "CooldownHelpers.h" 3 | 4 | #include "Components/Cooldown.h" 5 | 6 | void CooldownHelpers::StartCooldown(Registry& registry, Entity entity, float time) 7 | { 8 | registry.emplace(entity, CCooldown{ time, time }); 9 | 10 | #if UNITY_NATIVE_DLL 11 | // Spawn the HUD view 12 | { 13 | using namespace UnityEngine; 14 | using namespace System; 15 | using Object = UnityEngine::Object; 16 | 17 | GameObject prefab = Resources::Load(String("Prefabs/EntityCooldownView")); 18 | 19 | GameObject go = Native::UnityTypeHelpers::Downcast(Object::Instantiate((Object)prefab)); 20 | Native::BaseNativeEntityView unityView = go.GetComponent(); 21 | unityView.SetEntityRef((uint32_t)entity); 22 | } 23 | #endif 24 | } 25 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/World.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "World.h" 3 | 4 | #include "Game.h" 5 | 6 | #include "Systems/All.h" 7 | 8 | constexpr float FixedTimeStep = 0.02f; 9 | 10 | World::World() 11 | { 12 | } 13 | 14 | World::~World() 15 | { 16 | } 17 | 18 | void World::Init() 19 | { 20 | SFetchWorldSettings(m_Registry); 21 | SInitWorldState(m_Registry); 22 | } 23 | 24 | void World::Update(float deltaTime) 25 | { 26 | SUpdateWaveSpawn(m_Registry, deltaTime); 27 | 28 | SUpdateMoveForward(m_Registry, deltaTime); 29 | SUpdateWaypointMovement(m_Registry, deltaTime); 30 | 31 | SUpdateCooldown(m_Registry, deltaTime); 32 | SUpdateSingleFiring(m_Registry, deltaTime); 33 | 34 | SUpdateQueryCollision(m_Registry, deltaTime); 35 | 36 | SUpdateEntityDie(m_Registry, deltaTime); 37 | SUpdateRemainingLifeTime(m_Registry, deltaTime); 38 | 39 | SUpdateRemoveEntity(m_Registry, deltaTime); 40 | } 41 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/CppParserLib/ParseResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CppParser 6 | { 7 | public class ParseResult 8 | { 9 | public string fileName; 10 | public string fullFilePath; 11 | public string rawText; 12 | public List macros = new List(); 13 | public List structs = new List(); 14 | } 15 | 16 | public class CppMemberVariable 17 | { 18 | public string type; 19 | public string name; 20 | } 21 | 22 | public class CppStruct 23 | { 24 | public string name; 25 | //public List members; 26 | public List members = new List(); 27 | } 28 | 29 | public class CppMacro 30 | { 31 | public string name; 32 | public string value; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/AbstractBaseNativeScript.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Native 6 | { 7 | public abstract class AbstractBaseNativeScript : MonoBehaviour 8 | { 9 | public EventHub Events { get; private set; } = new EventHub(); 10 | public System.IntPtr NativeMemory { get; set; } 11 | 12 | public virtual void OnDestroy() 13 | { 14 | System.Runtime.InteropServices.Marshal.FreeHGlobal(NativeMemory); 15 | NativeMemory = System.IntPtr.Zero; 16 | } 17 | 18 | //-- 19 | // Public derivable sections 20 | public abstract void Update(); 21 | public abstract void Start(); 22 | public abstract void Awake(); 23 | public abstract void PassGameConfig(System.IntPtr config); 24 | public abstract void StartSimulation(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /NativeScript/Source/Game/PluginMain.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "Game.h" 3 | 4 | #if UNITY_NATIVE_DLL 5 | 6 | // Called when the plugin is initialized 7 | // This is mostly full of test code. Feel free to remove it all. 8 | void PluginMain( 9 | void* memory, 10 | int32_t memorySize, 11 | bool isFirstBoot) 12 | { 13 | using namespace System; 14 | using namespace UnityEngine; 15 | 16 | if (isFirstBoot) 17 | { 18 | String message("Game booted up"); 19 | Debug::Log(message); 20 | 21 | GameObject go; 22 | String name("NativeScriptRoot"); 23 | go.SetName(name); 24 | 25 | go.AddComponent(); 26 | } 27 | } 28 | 29 | #else 30 | 31 | int main() 32 | { 33 | Game::Get()->Init(); 34 | 35 | constexpr float TICK_RATE = 1.0f / 64.0f; 36 | constexpr float ITERATIONS = 1; 37 | 38 | for (int i = 0; i < ITERATIONS; i++) 39 | { 40 | Game::Get()->Update(TICK_RATE); 41 | } 42 | 43 | return 0; 44 | } 45 | 46 | #endif -------------------------------------------------------------------------------- /Tools/BindingsGenerator/ECS/ECSParseResultUtilities.cs: -------------------------------------------------------------------------------- 1 | using CppParser; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace BindingsGenerator.ECS 9 | { 10 | static class ECSParseResultUtilities 11 | { 12 | public static bool IsTagFile(string fileContent) 13 | { 14 | return fileContent.Contains("/* TAG_COMPONENT */"); 15 | } 16 | public static bool IsSettingsFile(string fileContent) 17 | { 18 | return fileContent.Contains("/* GAME_SETTINGS_COMPONENT */"); 19 | } 20 | public static bool IsStateFile(string fileContent) 21 | { 22 | return fileContent.Contains("/* GAME_STATE_COMPONENT */"); 23 | } 24 | 25 | public static bool IsComponentFile(string fileContent) 26 | { 27 | return !IsStateFile(fileContent) && !IsSettingsFile(fileContent) && !IsTagFile(fileContent); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/World.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | class World 5 | { 6 | public: 7 | World(); 8 | ~World(); 9 | 10 | void Update(float deltaTime); 11 | void Init(); 12 | 13 | public: 14 | template 15 | void BindEvent(ListenerType* instance) 16 | { 17 | m_EventDispatcher.sink().template connect(instance); 18 | } 19 | 20 | template 21 | void UnbindEvent(ListenerType* instance) 22 | { 23 | m_EventDispatcher.sink().disconnect(instance); 24 | } 25 | 26 | template 27 | void InvokeEvent(bool invokeImmediately, EventType&& e) 28 | { 29 | if (invokeImmediately) 30 | m_EventDispatcher.trigger(e); 31 | else 32 | m_EventDispatcher.enqueue(e); 33 | } 34 | 35 | inline Registry& GetRegistry() { return m_Registry; } 36 | 37 | private: 38 | Registry m_Registry; 39 | EventDispatcher m_EventDispatcher; 40 | }; 41 | -------------------------------------------------------------------------------- /UnityProject/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 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Game.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "World.h" 4 | 5 | #include "Components/WaveSpawnSettings.h" 6 | 7 | /** 8 | * Initial game state, passed by Unity to PluginMain() 9 | */ 10 | struct RawInitialGameState 11 | { 12 | std::int32_t waypointCount; 13 | float* waypoints; 14 | std::int32_t waveCount; 15 | WaveSpawnConfiguration* waves; 16 | }; 17 | 18 | class Game 19 | { 20 | // Singleton 21 | public: 22 | static Game* Get(); 23 | 24 | void Init(); 25 | void Update(float deltaTime); 26 | 27 | class World* GetCurrentWorld(); 28 | 29 | void SetRawInitialGameState(void* initialGameState); 30 | const RawInitialGameState* GetRawInitialGameState(); 31 | 32 | private: 33 | std::unique_ptr m_World; 34 | RawInitialGameState* m_RawInitialGameState; 35 | 36 | #if UNITY_NATIVE_DLL 37 | 38 | public: 39 | void SetEventHub(Native::EventHub eventHub); 40 | Native::EventHub GetEventHub(); 41 | 42 | private: 43 | Native::EventHub m_EventHub; 44 | #endif 45 | 46 | private: 47 | Game(); 48 | static Game* s_Instance; 49 | 50 | }; -------------------------------------------------------------------------------- /NativeScript/CMakeSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "configurations": [ 3 | { 4 | "name": "x64-Debug", 5 | "generator": "Ninja", 6 | "configurationType": "Debug", 7 | "inheritEnvironments": [ "msvc_x64_x64" ], 8 | "buildRoot": "${projectDir}\\out\\build\\${name}", 9 | "installRoot": "${projectDir}\\out\\install\\${name}", 10 | "cmakeCommandArgs": "", 11 | "buildCommandArgs": "-v", 12 | "ctestCommandArgs": "", 13 | "variables": [ 14 | { 15 | "name": "CMAKE_BUILD_TYPE", 16 | "value": "", 17 | "type": "STRING" 18 | } 19 | ] 20 | }, 21 | { 22 | "name": "x64-Release", 23 | "generator": "Ninja", 24 | "configurationType": "RelWithDebInfo", 25 | "buildRoot": "${projectDir}\\out\\build\\${name}", 26 | "installRoot": "${projectDir}\\out\\install\\${name}", 27 | "cmakeCommandArgs": "", 28 | "buildCommandArgs": "-v", 29 | "ctestCommandArgs": "", 30 | "inheritEnvironments": [ "msvc_x64_x64" ], 31 | "variables": [] 32 | } 33 | ] 34 | } -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: UnityEditor:UnityEditor.PackageManager.UI:PackageManagerProjectSettings 15 | m_ScopedRegistriesSettingsExpanded: 1 16 | oneTimeWarningShown: 0 17 | m_Registries: 18 | - m_Id: main 19 | m_Name: 20 | m_Url: https://packages.unity.com 21 | m_Scopes: [] 22 | m_IsDefault: 1 23 | m_UserSelectedRegistryName: 24 | m_UserAddingNewScopedRegistry: 0 25 | m_RegistryInfoDraft: 26 | m_ErrorMessage: 27 | m_Original: 28 | m_Id: 29 | m_Name: 30 | m_Url: 31 | m_Scopes: [] 32 | m_IsDefault: 0 33 | m_Modified: 0 34 | m_Name: 35 | m_Url: 36 | m_Scopes: 37 | - 38 | m_SelectedScopeIndex: 0 39 | -------------------------------------------------------------------------------- /NativeScript/Source/Game/Universal.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // C++ STL 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | 25 | // Unity generated bindings 26 | #if UNITY_NATIVE_DLL 27 | #include "Bindings.h" 28 | #endif 29 | 30 | 31 | #include "Profiler.h" 32 | 33 | // Custom third party libs 34 | #include "entt/entt.hpp" 35 | 36 | #if USE_BULLET_MATH 37 | #include "btBulletDynamicsCommon.h" 38 | using Vector3 = btVector3; 39 | #elif USE_EIGEN_MATH 40 | #include "Eigen" 41 | using Vector3 = Eigen::Vector3f; 42 | #endif 43 | 44 | // Custom type defines 45 | using Registry = entt::registry; 46 | using EventDispatcher = entt::dispatcher; 47 | using Entity = entt::entity; 48 | 49 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Views/EntityHealthBarView.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | [RequireComponent(typeof(Native.BaseNativeEntityView))] 5 | public class EntityHealthBarView : MonoBehaviour 6 | { 7 | [SerializeField] private Image m_Foreground; 8 | 9 | Native.BaseNativeEntityView m_View; 10 | 11 | void Start() 12 | { 13 | m_View = GetComponent(); 14 | 15 | if (transform.parent != GUI.Instance.hudRoot.transform) 16 | { 17 | ((RectTransform)transform).SetParent(GUI.Instance.hudRoot.transform, false); 18 | transform.localScale.Set(1, 1, 1); 19 | } 20 | } 21 | 22 | void Update() 23 | { 24 | Vector3 pos = ECSBindings.GetPosition(m_View.EntityRef).value; 25 | pos.y = 0.5f; 26 | 27 | transform.position = GUI.Instance.MainCamera.WorldToScreenPoint(pos); 28 | 29 | var health = ECSBindings.GetHealth(m_View.EntityRef); 30 | if (health.max > 0) 31 | m_Foreground.fillAmount = health.current / health.max; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Views/EntityPositionView.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | [RequireComponent(typeof(Native.BaseNativeEntityView))] 4 | public class EntityPositionView : MonoBehaviour 5 | { 6 | [SerializeField] bool m_UpdateOnce; 7 | [SerializeField] bool m_ViewPosition; 8 | [SerializeField] bool m_ViewOrientation; 9 | 10 | Native.BaseNativeEntityView m_View; 11 | 12 | void Start() 13 | { 14 | m_View = GetComponent(); 15 | } 16 | 17 | void Update() 18 | { 19 | if (m_ViewPosition) 20 | { 21 | Vector3 pos = ECSBindings.GetPosition(m_View.EntityRef).value; 22 | transform.position = new Vector3(pos.x, pos.y, pos.z); 23 | } 24 | 25 | if (m_ViewOrientation) 26 | { 27 | Vector3 orientation = ECSBindings.GetOrientation(m_View.EntityRef).value; 28 | transform.forward = new Vector3(orientation.x, orientation.y, orientation.z); 29 | } 30 | 31 | if (m_UpdateOnce) 32 | { 33 | enabled = false; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) Giang Tong (Tống Tùng Giang) 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 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/ECS/ECSNaming.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace BindingsGenerator.ECS 8 | { 9 | public static class ECSNaming 10 | { 11 | private static bool HasPrefix(string name, char prefix) 12 | { 13 | if (string.IsNullOrEmpty(name)) 14 | { 15 | Debug.LogError("Null or empty name"); 16 | return false; 17 | } 18 | 19 | if (name.Length < 2) 20 | { 21 | Debug.LogErrorFormat("Illegal name ({0}), must be more than 2 character"); 22 | return false; 23 | } 24 | 25 | return (name[0] == prefix && char.IsUpper(name[1])); 26 | } 27 | 28 | public static bool IsProperComponentName(string name) 29 | { 30 | return HasPrefix(name, 'C'); 31 | } 32 | 33 | public static bool IsProperSystemName(string name) 34 | { 35 | return HasPrefix(name, 'S'); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Views/EntityCooldownView.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | [RequireComponent(typeof(Native.BaseNativeEntityView))] 5 | public class EntityCooldownView : MonoBehaviour 6 | { 7 | [SerializeField] private Image m_Foreground; 8 | 9 | Native.BaseNativeEntityView m_View; 10 | 11 | void Start() 12 | { 13 | m_View = GetComponent(); 14 | 15 | if (transform.parent != GUI.Instance.hudRoot.transform) 16 | { 17 | ((RectTransform)transform).SetParent(GUI.Instance.hudRoot.transform, false); 18 | transform.localScale.Set(1, 1, 1); 19 | } 20 | } 21 | 22 | void Update() 23 | { 24 | Vector3 pos = ECSBindings.GetPosition(m_View.EntityRef).value; 25 | pos.y = 0.5f; 26 | 27 | transform.position = GUI.Instance.MainCamera.WorldToScreenPoint(pos); 28 | 29 | var cooldown = ECSBindings.GetCooldown(m_View.EntityRef); 30 | if (cooldown.remaining <= 0) 31 | { 32 | Destroy(gameObject); 33 | return; 34 | } 35 | 36 | m_Foreground.fillAmount = cooldown.remaining / cooldown.max; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /UnityProject/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: 9 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 1 30 | m_AssetPipelineMode: 0 31 | m_CacheServerMode: 0 32 | m_CacheServerEndpoint: 33 | m_CacheServerNamespacePrefix: default 34 | m_CacheServerEnableDownload: 1 35 | m_CacheServerEnableUpload: 1 36 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Game.cpp: -------------------------------------------------------------------------------- 1 | /// 2 | /// Game-specific code for the native plugin 3 | /// 4 | /// 5 | /// Jackson Dunstan, 2017, http://JacksonDunstan.com 6 | /// 7 | /// 8 | /// MIT 9 | /// 10 | 11 | #include "Universal.h" 12 | #include "Bindings.h" 13 | #include "Game.h" 14 | #include "World.h" 15 | 16 | Game* Game::s_Instance = nullptr; 17 | 18 | Game* Game::Get() 19 | { 20 | if (s_Instance == nullptr) 21 | { 22 | s_Instance = new Game(); 23 | } 24 | 25 | return s_Instance; 26 | } 27 | 28 | Game::Game() 29 | { 30 | m_World = std::make_unique(); 31 | } 32 | 33 | void Game::Init() 34 | { 35 | m_World->Init(); 36 | } 37 | 38 | void Game::Update(float deltaTime) 39 | { 40 | m_World->Update(deltaTime); 41 | } 42 | 43 | World* Game::GetCurrentWorld() 44 | { 45 | return m_World.get(); 46 | } 47 | 48 | void Game::SetRawInitialGameState(void* initialGameState) 49 | { 50 | m_RawInitialGameState = (RawInitialGameState*)initialGameState; 51 | } 52 | 53 | const RawInitialGameState* Game::GetRawInitialGameState() 54 | { 55 | return m_RawInitialGameState; 56 | } 57 | 58 | #if UNITY_NATIVE_DLL 59 | void Game::SetEventHub(Native::EventHub eventHub) 60 | { 61 | m_EventHub = eventHub; 62 | } 63 | 64 | Native::EventHub Game::GetEventHub() 65 | { 66 | return m_EventHub; 67 | } 68 | #endif 69 | -------------------------------------------------------------------------------- /UnityProject/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: 11 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_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /NativeScript/.gitignore: -------------------------------------------------------------------------------- 1 | #--- 2 | # CMake 3 | CMakeLists.txt.user 4 | CMakeCache.txt 5 | CMakeFiles 6 | CMakeScripts 7 | Testing 8 | Makefile 9 | cmake_install.cmake 10 | install_manifest.txt 11 | compile_commands.json 12 | CTestTestfile.cmake 13 | _deps 14 | 15 | # Files built by Visual Studio 16 | .vs/ 17 | *_i.c 18 | *_p.c 19 | *_h.h 20 | *.ilk 21 | *.meta 22 | *.obj 23 | *.iobj 24 | *.pch 25 | *.pdb 26 | *.ipdb 27 | *.pgc 28 | *.pgd 29 | *.rsp 30 | *.sbr 31 | *.tlb 32 | *.tli 33 | *.tlh 34 | *.tmp 35 | *.tmp_proj 36 | *_wpftmp.csproj 37 | *.log 38 | *.tlog 39 | *.vspscc 40 | *.vssscc 41 | .builds 42 | *.pidb 43 | *.svclog 44 | *.scc 45 | *.exp 46 | 47 | # Compiled Object files 48 | *.slo 49 | *.lo 50 | *.o 51 | *.obj 52 | 53 | # Precompiled Headers 54 | *.gch 55 | *.pch 56 | 57 | # Compiled Dynamic libraries 58 | *.so 59 | *.dylib 60 | *.dll 61 | 62 | # Fortran module files 63 | *.mod 64 | 65 | # Compiled Static libraries 66 | *.lai 67 | *.la 68 | *.a 69 | *.lib 70 | 71 | # Executables 72 | *.exe 73 | *.out 74 | *.app 75 | *.ipa 76 | 77 | # These project files can be generated by the engine 78 | *.xcodeproj 79 | *.xcworkspace 80 | *.sln 81 | *.vcxproj 82 | *.vcxproj.filters 83 | *.rsuser 84 | *.suo 85 | *.user 86 | *.userosscache 87 | *.sln.docstates 88 | *.userprefs 89 | *.suo 90 | *.opensdf 91 | *.sdf 92 | *.VC.db 93 | *.VC.opendb 94 | 95 | # Specific directories 96 | Build 97 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/QueryCollision.cpp: -------------------------------------------------------------------------------- 1 | #include "All.h" 2 | 3 | #include "Components/Position.h" 4 | #include "Components/BodySize.h" 5 | #include "Components/CollisionLayer.h" 6 | 7 | constexpr bool g_CollisionMatrix[ECollisionLayer::ALL][ECollisionLayer::ALL] 8 | { 9 | { false, true , }, 10 | { true , false, } 11 | }; 12 | 13 | void SUpdateQueryCollision(Registry& registry, float dt) 14 | { 15 | PROFILER_FUNCTION(); 16 | 17 | // #Giang.Todo: 18 | // Use a spatial partitioning solution here. 19 | auto view = registry.view(); 20 | for (auto e1 : view) 21 | { 22 | for (auto e2 : view) 23 | { 24 | if (e1 == e2) 25 | continue; 26 | 27 | const auto& l1 = view.get(e1); 28 | const auto& l2 = view.get(e2); 29 | if (g_CollisionMatrix[l1.value][l2.value] == false) 30 | continue; 31 | 32 | const auto& p1 = view.get(e1); 33 | const auto& p2 = view.get(e2); 34 | Vector3 difference = p1.value - p2.value; 35 | 36 | const auto& r1 = view.get(e1); 37 | const auto& r2 = view.get(e2); 38 | 39 | if (difference.norm() < (r1.radius + r2.radius)) 40 | { 41 | char msg[64]; 42 | sprintf(msg, "Entity %d and %d collided", e1, e2); 43 | UnityEngine::Debug::Log(System::String(msg)); 44 | } 45 | } 46 | } 47 | 48 | PROFILER_END(); 49 | } 50 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/SingleFiring.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Components/Cooldown.h" 5 | #include "Components/RangeDetection.h" 6 | #include "Components/EnemyTeam.h" 7 | #include "Components/Position.h" 8 | #include "Components/Health.h" 9 | #include "Components/Damage.h" 10 | 11 | #include "Helpers/CooldownHelpers.h" 12 | #include "Helpers/SpawnHelpers.h" 13 | 14 | void SUpdateSingleFiring(Registry& registry, float dt) 15 | { 16 | PROFILER_FUNCTION(); 17 | 18 | registry.view(entt::exclude).each( 19 | [®istry](auto entity, CRangeDetection& range, const CPosition& myPosition, const CDamage& damage) 20 | { 21 | // #Giang.Todo maybe box2d already have some sort of overlap check? 22 | // currently using a naive approach 23 | auto enemies = registry.view(); 24 | for (auto enemy : enemies) 25 | { 26 | auto& enemyPosition = enemies.get(enemy); 27 | Vector3 delta = enemyPosition.value - myPosition.value; 28 | if (delta.squaredNorm() <= range.range * range.range) 29 | { 30 | Vector3 bulletPosition = myPosition.value; 31 | Vector3 bulletOrientation = (enemyPosition.value - myPosition.value).normalized(); 32 | SpawnHelpers::SpawnBullet(registry, bulletPosition, bulletOrientation); 33 | 34 | CooldownHelpers::StartCooldown(registry, entity, 1); 35 | return; 36 | } 37 | } 38 | } 39 | ); 40 | 41 | PROFILER_END(); 42 | } 43 | -------------------------------------------------------------------------------- /NativeScript/Source/Game/Profiler.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #if UNITY_NATIVE_DLL 4 | #include "Bindings.h" 5 | #endif 6 | 7 | // A convenient macro for function name as it's not built in 8 | #ifndef __FUNCTION_NAME__ 9 | # ifdef WIN32 //WINDOWS 10 | # define __FUNCTION_NAME__ __FUNCTION__ 11 | # else //*NIX 12 | # define __FUNCTION_NAME__ __func__ 13 | # endif 14 | #endif 15 | 16 | // Profiler macros 17 | #if !UNITY_NATIVE_DLL 18 | # define PROFILER_BEGIN(x) \ 19 | std::string sectionName(x); \ 20 | auto start = std::chrono::high_resolution_clock::now(); \ 21 | 22 | # define PROFILER_END() \ 23 | auto end = std::chrono::high_resolution_clock::now(); \ 24 | auto diff = std::chrono::duration_cast(end - start); \ 25 | std::cout << "Execution time: " << sectionName << ": " << diff.count() << "ms" < 8 | /// Standalone binding generator with ECS bindings generating ability. 9 | /// Built on top of Jackson Dunstan's Unity Editor generator 10 | /// 11 | /// 12 | /// Giang Tong, 2020, https://tongtunggiang.com 13 | /// 14 | class Program 15 | { 16 | const string DEFAULT_ARG = "--default"; 17 | const string UNITY_PATH_ARG = "--unityDllPath="; 18 | const string ECS_ARG = "--ecs"; 19 | const string IN_VS_TEST = "--pressToContinue"; 20 | 21 | static void Main(string[] args) 22 | { 23 | // Default mode requires Unity path being passed 24 | if (args.Contains(DEFAULT_ARG)) 25 | { 26 | int idx = Array.FindIndex(args, s => s.Contains(UNITY_PATH_ARG)); 27 | if (idx < 0) 28 | { 29 | Debug.LogErrorFormat("Missing Unity path. Pass it with option {0}", UNITY_PATH_ARG + "/path/to/Unity/"); 30 | return; 31 | } 32 | 33 | string unityPath = args[idx]; 34 | unityPath = unityPath.Substring(UNITY_PATH_ARG.Length); 35 | DefaultBindings.UnityDllsDirPath = unityPath; 36 | DefaultBindings.Generate(); 37 | } 38 | 39 | if (args.Contains(ECS_ARG)) 40 | { 41 | ECSBindings.Generate(); 42 | } 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /UnityProject/.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Uu]ser[Ss]ettings/ 12 | 13 | # MemoryCaptures can get excessive in size. 14 | # They also could contain extremely sensitive data 15 | /[Mm]emoryCaptures/ 16 | 17 | # Asset meta data should only be ignored when the corresponding asset is also ignored 18 | !/[Aa]ssets/**/*.meta 19 | 20 | # Uncomment this line if you wish to ignore the asset store tools plugin 21 | # /[Aa]ssets/AssetStoreTools* 22 | 23 | # Autogenerated Jetbrains Rider plugin 24 | /[Aa]ssets/Plugins/Editor/JetBrains* 25 | 26 | # Visual Studio cache directory 27 | .vs/ 28 | 29 | # Gradle cache directory 30 | .gradle/ 31 | 32 | # Autogenerated VS/MD/Consulo solution and project files 33 | ExportedObj/ 34 | .consulo/ 35 | *.csproj 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | 50 | # Unity3D generated meta files 51 | *.pidb.meta 52 | *.pdb.meta 53 | *.mdb.meta 54 | 55 | # Unity3D generated file on crash reports 56 | sysinfo.txt 57 | 58 | # Builds 59 | *.apk 60 | *.aab 61 | *.unitypackage 62 | 63 | # Crashlytics generated file 64 | crashlytics-build.properties 65 | 66 | # Packed Addressables 67 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 68 | 69 | # Temporary auto-generated Android Assets 70 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 71 | /[Aa]ssets/[Ss]treamingAssets/aa/* 72 | -------------------------------------------------------------------------------- /Tools/BindingsGenerator/BindingsGenerator.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30011.22 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BindingsGenerator", "BindingsGenerator.csproj", "{560A0C67-A572-42AC-8720-939D4C97B5DF}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CppParserLib", "CppParserLib\CppParserLib.csproj", "{A827DAF8-29FE-4730-9E5A-EAFCBC87EB11}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {560A0C67-A572-42AC-8720-939D4C97B5DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {560A0C67-A572-42AC-8720-939D4C97B5DF}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {560A0C67-A572-42AC-8720-939D4C97B5DF}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {560A0C67-A572-42AC-8720-939D4C97B5DF}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {A827DAF8-29FE-4730-9E5A-EAFCBC87EB11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {A827DAF8-29FE-4730-9E5A-EAFCBC87EB11}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {A827DAF8-29FE-4730-9E5A-EAFCBC87EB11}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {A827DAF8-29FE-4730-9E5A-EAFCBC87EB11}.Release|Any CPU.Build.0 = Release|Any CPU 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {8C92DC27-39C8-442E-B432-5885DACC9C75} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /UnityProject/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 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/WaveSpawn.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | #include "All.h" 3 | 4 | #include "Context/GameStates.h" 5 | #include "Context/GameSettings.h" 6 | 7 | #include "Helpers/SpawnHelpers.h" 8 | 9 | #include "Components/ElapsedTime.h" 10 | #include "Components/WaveSpawnSettings.h" 11 | #include "Components/CurrentWave.h" 12 | 13 | void SUpdateWaveSpawn(Registry& registry, float dt) 14 | { 15 | PROFILER_FUNCTION(); 16 | 17 | const auto& gameStatesSingleton = registry.ctx().holderEntity; 18 | 19 | { 20 | CElapsedTime& elapsed = registry.get(gameStatesSingleton); 21 | elapsed.value += dt; 22 | } 23 | 24 | CCurrentWave& waveStatus = registry.get(gameStatesSingleton); 25 | const CElapsedTime& elapsed = registry.get(gameStatesSingleton); 26 | 27 | const auto& gameSettingsSingleton = registry.ctx().holderEntity; 28 | const auto& waves = registry.get(gameSettingsSingleton).waves; 29 | 30 | if (waveStatus.nextWaveIndex < waves.size() && 31 | elapsed.value > waves[waveStatus.nextWaveIndex].time) 32 | { 33 | waveStatus.nextWaveIndex++; 34 | waveStatus.numSpawnedInWave = 0; 35 | waveStatus.lastSpawnInWave = 0.0f; 36 | } 37 | 38 | if (waveStatus.nextWaveIndex > 0) 39 | { 40 | int currentWaveIndex = waveStatus.nextWaveIndex - 1; 41 | const auto& spawnConfig = waves[currentWaveIndex]; 42 | if (waveStatus.numSpawnedInWave < spawnConfig.numToSpawn && 43 | elapsed.value - waveStatus.lastSpawnInWave >= spawnConfig.intervalBetweenSpawn) 44 | { 45 | SpawnHelpers::SpawnEnemy(registry); 46 | 47 | waveStatus.lastSpawnInWave = elapsed.value; 48 | waveStatus.numSpawnedInWave++; 49 | } 50 | } 51 | 52 | PROFILER_END(); 53 | } 54 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/UI/GameInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using TMPro; 4 | using UnityEngine; 5 | using UnityEngine.UI; 6 | 7 | public class GameInfo : MonoBehaviour 8 | { 9 | [SerializeField] private TextMeshProUGUI m_Money; 10 | [SerializeField] private Image m_Time; 11 | [SerializeField] private GameObject m_SpawnMilestonePrefab; 12 | 13 | private float m_ExpectedMaxTime; 14 | 15 | private void Start() 16 | { 17 | GameSettings gameSettings = FindObjectOfType(); 18 | 19 | { 20 | var lastWave = gameSettings.SpawnConfigurations[gameSettings.SpawnConfigurations.Length - 1]; 21 | m_ExpectedMaxTime = lastWave.time + 3.0f; 22 | } 23 | 24 | { 25 | m_SpawnMilestonePrefab.SetActive(true); 26 | 27 | 28 | foreach (var config in gameSettings.SpawnConfigurations) 29 | { 30 | float timePercent = config.time / m_ExpectedMaxTime; 31 | float widthPercent = timePercent * m_Time.rectTransform.rect.width; 32 | 33 | Vector3 spawnPos = m_SpawnMilestonePrefab.transform.localPosition; 34 | spawnPos.x = m_Time.rectTransform.rect.x + widthPercent; 35 | GameObject milestone = Instantiate(m_SpawnMilestonePrefab, m_SpawnMilestonePrefab.transform.parent, false); 36 | milestone.transform.localPosition = spawnPos; 37 | } 38 | 39 | m_SpawnMilestonePrefab.SetActive(false); 40 | } 41 | } 42 | private void Update() 43 | { 44 | float elapsed = ECSBindings.GetStateElapsedTime().value; 45 | m_Time.fillAmount = elapsed / m_ExpectedMaxTime; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /UnityProject/Assets/TextMesh Pro/Resources/TMP Settings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2705215ac5b84b70bacc50632be6e391, type: 3} 13 | m_Name: TMP Settings 14 | m_EditorClassIdentifier: 15 | m_enableWordWrapping: 1 16 | m_enableKerning: 1 17 | m_enableExtraPadding: 0 18 | m_enableTintAllSprites: 0 19 | m_enableParseEscapeCharacters: 1 20 | m_EnableRaycastTarget: 1 21 | m_GetFontFeaturesAtRuntime: 1 22 | m_missingGlyphCharacter: 0 23 | m_warningsDisabled: 1 24 | m_defaultFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} 25 | m_defaultFontAssetPath: Fonts & Materials/ 26 | m_defaultFontSize: 36 27 | m_defaultAutoSizeMinRatio: 0.5 28 | m_defaultAutoSizeMaxRatio: 2 29 | m_defaultTextMeshProTextContainerSize: {x: 20, y: 5} 30 | m_defaultTextMeshProUITextContainerSize: {x: 200, y: 50} 31 | m_autoSizeTextContainer: 0 32 | m_fallbackFontAssets: [] 33 | m_matchMaterialPreset: 1 34 | m_defaultSpriteAsset: {fileID: 11400000, guid: c41005c129ba4d66911b75229fd70b45, 35 | type: 2} 36 | m_defaultSpriteAssetPath: Sprite Assets/ 37 | m_defaultColorGradientPresetsPath: Color Gradient Presets/ 38 | m_enableEmojiSupport: 1 39 | m_defaultStyleSheet: {fileID: 11400000, guid: f952c082cb03451daed3ee968ac6c63e, 40 | type: 2} 41 | m_leadingCharacters: {fileID: 4900000, guid: d82c1b31c7e74239bff1220585707d2b, type: 3} 42 | m_followingCharacters: {fileID: 4900000, guid: fade42e8bc714b018fac513c043d323b, 43 | type: 3} 44 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Native/GameSettings.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Runtime.InteropServices; 3 | 4 | 5 | [System.Serializable] 6 | [StructLayout(LayoutKind.Sequential)] 7 | public struct WaveSpawnConfiguration 8 | { 9 | public float time; 10 | public int numToSpawn; 11 | public float intervalBetweenSpawn; 12 | } 13 | 14 | public class GameSettings : MonoBehaviour 15 | { 16 | public Transform WaypointRoot; 17 | public WaveSpawnConfiguration[] SpawnConfigurations; 18 | 19 | public void SetupNativeScriptStates(Native.AbstractBaseNativeScript nativeScriptHandle) 20 | { 21 | if (nativeScriptHandle == null) 22 | return; 23 | 24 | Native.NativeGameState config; 25 | config.waypointCount = WaypointRoot.childCount; 26 | config.waypoints = new float[config.waypointCount * 4]; 27 | for (int i = 0; i < config.waypointCount; i++) 28 | { 29 | Transform waypoint = WaypointRoot.GetChild(i); 30 | config.waypoints[i * 4] = waypoint.position.x; 31 | config.waypoints[i * 4 + 1] = waypoint.position.z; 32 | config.waypoints[i * 4 + 2] = waypoint.forward.x; 33 | config.waypoints[i * 4 + 3] = waypoint.forward.z; 34 | } 35 | config.waveCount = SpawnConfigurations.Length; 36 | config.waves = SpawnConfigurations; 37 | 38 | // We have our data, now we construct the pointer to pass to the native layer 39 | int size = Marshal.SizeOf(typeof(Native.NativeGameState)); 40 | nativeScriptHandle.NativeMemory = Marshal.AllocHGlobal(size); 41 | Marshal.StructureToPtr(config, nativeScriptHandle.NativeMemory, false); 42 | 43 | nativeScriptHandle.PassGameConfig(nativeScriptHandle.NativeMemory); 44 | nativeScriptHandle.StartSimulation(); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /UnityProject/.gitattributes: -------------------------------------------------------------------------------- 1 | ## Unity ## 2 | 3 | *.cs diff=csharp text 4 | *.cginc text 5 | *.shader text 6 | 7 | *.mat merge=unityyamlmerge eol=lf 8 | *.anim merge=unityyamlmerge eol=lf 9 | *.unity merge=unityyamlmerge eol=lf 10 | *.prefab merge=unityyamlmerge eol=lf 11 | *.physicsMaterial2D merge=unityyamlmerge eol=lf 12 | *.physicMaterial merge=unityyamlmerge eol=lf 13 | *.asset merge=unityyamlmerge eol=lf 14 | *.meta merge=unityyamlmerge eol=lf 15 | *.controller merge=unityyamlmerge eol=lf 16 | 17 | 18 | ## git-lfs ## 19 | 20 | #Image 21 | *.jpg filter=lfs diff=lfs merge=lfs -text 22 | *.jpeg filter=lfs diff=lfs merge=lfs -text 23 | *.png filter=lfs diff=lfs merge=lfs -text 24 | *.gif filter=lfs diff=lfs merge=lfs -text 25 | *.psd filter=lfs diff=lfs merge=lfs -text 26 | *.ai filter=lfs diff=lfs merge=lfs -text 27 | 28 | #Audio 29 | *.mp3 filter=lfs diff=lfs merge=lfs -text 30 | *.wav filter=lfs diff=lfs merge=lfs -text 31 | *.ogg filter=lfs diff=lfs merge=lfs -text 32 | 33 | #Video 34 | *.mp4 filter=lfs diff=lfs merge=lfs -text 35 | *.mov filter=lfs diff=lfs merge=lfs -text 36 | 37 | #3D Object 38 | *.FBX filter=lfs diff=lfs merge=lfs -text 39 | *.fbx filter=lfs diff=lfs merge=lfs -text 40 | *.blend filter=lfs diff=lfs merge=lfs -text 41 | *.obj filter=lfs diff=lfs merge=lfs -text 42 | 43 | #ETC 44 | *.a filter=lfs diff=lfs merge=lfs -text 45 | *.exr filter=lfs diff=lfs merge=lfs -text 46 | *.tga filter=lfs diff=lfs merge=lfs -text 47 | *.pdf filter=lfs diff=lfs merge=lfs -text 48 | *.zip filter=lfs diff=lfs merge=lfs -text 49 | *.dll filter=lfs diff=lfs merge=lfs -text 50 | *.unitypackage filter=lfs diff=lfs merge=lfs -text 51 | *.aif filter=lfs diff=lfs merge=lfs -text 52 | *.ttf filter=lfs diff=lfs merge=lfs -text 53 | *.rns filter=lfs diff=lfs merge=lfs -text 54 | *.reason filter=lfs diff=lfs merge=lfs -text 55 | *.lxo filter=lfs diff=lfs merge=lfs -text 56 | 57 | -------------------------------------------------------------------------------- /NativeScript/Source/Simulation/Systems/WaypointMovement.cpp: -------------------------------------------------------------------------------- 1 | #include "Universal.h" 2 | 3 | #include "All.h" 4 | 5 | #include "Components/Position.h" 6 | #include "Components/Orientation.h" 7 | #include "Components/Destination.h" 8 | #include "Components/WaypointIndex.h" 9 | #include "Components/WaypointSettings.h" 10 | 11 | #include "Context/GameSettings.h" 12 | 13 | void SUpdateWaypointMovement(Registry& registry, float deltaTime) 14 | { 15 | PROFILER_FUNCTION(); 16 | 17 | 18 | const auto& gameSettingsSingleton = registry.ctx().holderEntity; 19 | const auto& waypointSettings = registry.get(gameSettingsSingleton); 20 | const std::vector& waypoints = waypointSettings.waypoints; 21 | auto& waypointMovementView = registry.group(entt::get); 22 | std::for_each(std::execution::par, 23 | waypointMovementView.begin(), waypointMovementView.end(), 24 | [deltaTime, &waypoints, &waypointMovementView](const auto entity) 25 | { 26 | CWaypointIndex& waypointIndex = waypointMovementView.get(entity); 27 | CPosition& position = waypointMovementView.get(entity); 28 | COrientation& orientation = waypointMovementView.get(entity); 29 | CDestination& destination = waypointMovementView.get(entity); 30 | 31 | Vector3 delta = destination.value - position.value; 32 | 33 | // Move past the destination already 34 | if (delta.dot(orientation.value) < 0) 35 | { 36 | position.value = destination.value; 37 | 38 | if (waypointIndex.value < waypoints.size() - 1) 39 | { 40 | orientation.value = waypoints[waypointIndex.value].direction; 41 | 42 | waypointIndex.value++; 43 | destination.value = waypoints[waypointIndex.value].position; 44 | } 45 | } 46 | }); 47 | 48 | PROFILER_END(); 49 | } 50 | 51 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Maps/GeometryBasicGenerator.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | #if UNITY_EDITOR 6 | using UnityEditor; 7 | #endif 8 | 9 | [ExecuteInEditMode] 10 | public class GeometryBasicGenerator : MonoBehaviour 11 | { 12 | [SerializeField] 13 | GameObject m_TileToSpawn; 14 | 15 | [SerializeField] 16 | float m_SpawnScale; 17 | 18 | [SerializeField] 19 | Vector2 m_RangeX; 20 | 21 | [SerializeField] 22 | Vector2 m_RangeY; 23 | 24 | public void Clear() 25 | { 26 | int last = transform.childCount - 1; 27 | int first = 0; 28 | for (int i = last; i >= first; i--) 29 | { 30 | DestroyImmediate(transform.GetChild(i).gameObject); 31 | } 32 | } 33 | 34 | public void GenerateGeometry() 35 | { 36 | Clear(); 37 | 38 | for (int x = (int)m_RangeX.x; x <= (int)m_RangeX.y; x++) 39 | { 40 | for (int z = (int)m_RangeY.x; z <= (int)m_RangeY.y; z++) 41 | { 42 | GameObject tile = Instantiate(m_TileToSpawn); 43 | tile.transform.SetParent(transform); 44 | tile.transform.localScale = new Vector3(m_SpawnScale, 1, m_SpawnScale); 45 | tile.transform.localPosition = new Vector3(x, 0, z); 46 | tile.isStatic = true; 47 | } 48 | } 49 | } 50 | } 51 | 52 | #if UNITY_EDITOR 53 | [CustomEditor(typeof(GeometryBasicGenerator))] 54 | public class GeometryBasicGeneratorInspector : Editor 55 | { 56 | public override void OnInspectorGUI() 57 | { 58 | DrawDefaultInspector(); 59 | 60 | serializedObject.Update(); 61 | 62 | if (GUILayout.Button("Generate")) 63 | ((GeometryBasicGenerator)serializedObject.targetObject).GenerateGeometry(); 64 | 65 | if (GUILayout.Button("Clear")) 66 | ((GeometryBasicGenerator)serializedObject.targetObject).Clear(); 67 | } 68 | } 69 | #endif 70 | -------------------------------------------------------------------------------- /UnityProject/Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.2d.sprite": "1.0.0", 4 | "com.unity.2d.tilemap": "1.0.0", 5 | "com.unity.ads": "3.5.0", 6 | "com.unity.analytics": "3.3.5", 7 | "com.unity.collab-proxy": "1.2.16", 8 | "com.unity.ide.rider": "1.1.4", 9 | "com.unity.ide.vscode": "1.2.2", 10 | "com.unity.purchasing": "2.1.1", 11 | "com.unity.test-framework": "1.1.18", 12 | "com.unity.textmeshpro": "2.0.1", 13 | "com.unity.timeline": "1.2.6", 14 | "com.unity.ugui": "1.0.0", 15 | "com.unity.modules.ai": "1.0.0", 16 | "com.unity.modules.androidjni": "1.0.0", 17 | "com.unity.modules.animation": "1.0.0", 18 | "com.unity.modules.assetbundle": "1.0.0", 19 | "com.unity.modules.audio": "1.0.0", 20 | "com.unity.modules.cloth": "1.0.0", 21 | "com.unity.modules.director": "1.0.0", 22 | "com.unity.modules.imageconversion": "1.0.0", 23 | "com.unity.modules.imgui": "1.0.0", 24 | "com.unity.modules.jsonserialize": "1.0.0", 25 | "com.unity.modules.particlesystem": "1.0.0", 26 | "com.unity.modules.physics": "1.0.0", 27 | "com.unity.modules.physics2d": "1.0.0", 28 | "com.unity.modules.screencapture": "1.0.0", 29 | "com.unity.modules.terrain": "1.0.0", 30 | "com.unity.modules.terrainphysics": "1.0.0", 31 | "com.unity.modules.tilemap": "1.0.0", 32 | "com.unity.modules.ui": "1.0.0", 33 | "com.unity.modules.uielements": "1.0.0", 34 | "com.unity.modules.umbra": "1.0.0", 35 | "com.unity.modules.unityanalytics": "1.0.0", 36 | "com.unity.modules.unitywebrequest": "1.0.0", 37 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 38 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 39 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 40 | "com.unity.modules.unitywebrequestwww": "1.0.0", 41 | "com.unity.modules.vehicles": "1.0.0", 42 | "com.unity.modules.video": "1.0.0", 43 | "com.unity.modules.vr": "1.0.0", 44 | "com.unity.modules.wind": "1.0.0", 45 | "com.unity.modules.xr": "1.0.0" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/Utilities/Singleton.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | /// 4 | /// Inherit from this base class to create a singleton. 5 | /// e.g. public class MyClassName : Singleton {} 6 | /// 7 | public class Singleton : MonoBehaviour where T : MonoBehaviour 8 | { 9 | // Check to see if we're about to be destroyed. 10 | private static bool m_ShuttingDown = false; 11 | private static object m_Lock = new object(); 12 | private static T m_Instance; 13 | 14 | /// 15 | /// Access singleton instance through this propriety. 16 | /// 17 | public static T Instance 18 | { 19 | get 20 | { 21 | if (m_ShuttingDown) 22 | { 23 | Debug.LogWarning("[Singleton] Instance '" + typeof(T) + 24 | "' already destroyed. Returning null."); 25 | return null; 26 | } 27 | 28 | lock (m_Lock) 29 | { 30 | if (m_Instance == null) 31 | { 32 | // Search for existing instance. 33 | m_Instance = (T)FindObjectOfType(typeof(T)); 34 | 35 | // Create new instance if one doesn't already exist. 36 | if (m_Instance == null) 37 | { 38 | // Need to create a new GameObject to attach the singleton to. 39 | var singletonObject = new GameObject(); 40 | m_Instance = singletonObject.AddComponent(); 41 | singletonObject.name = typeof(T).ToString() + " (Singleton)"; 42 | 43 | // Make instance persistent. 44 | DontDestroyOnLoad(singletonObject); 45 | } 46 | } 47 | 48 | return m_Instance; 49 | } 50 | } 51 | } 52 | 53 | 54 | private void OnApplicationQuit() 55 | { 56 | m_ShuttingDown = true; 57 | } 58 | 59 | 60 | private void OnDestroy() 61 | { 62 | m_ShuttingDown = true; 63 | } 64 | } -------------------------------------------------------------------------------- /Tools/BindingsGenerator/Common/CommonPath.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace BindingsGenerator 9 | { 10 | 11 | static class CommonPath 12 | { 13 | public const string UnityProjectName = "UnityProject"; 14 | public const string NativeScriptName = "NativeScript"; 15 | 16 | public static class Unity 17 | { 18 | public static readonly string ProjectDirPath = Path.Combine( 19 | Directory.GetCurrentDirectory(), 20 | Path.Combine("..", 21 | Path.Combine("..", 22 | UnityProjectName))); 23 | public static readonly string ProjectDllDirPath = Path.Combine( 24 | ProjectDirPath, 25 | Path.Combine( 26 | "Library", 27 | "ScriptAssemblies")); 28 | public static readonly string AssetsDirPath = Path.Combine( 29 | ProjectDirPath, 30 | "Assets"); 31 | } 32 | 33 | public static class Native 34 | { 35 | public static readonly string BindingsSourcesDirPath = Path.Combine( 36 | Directory.GetCurrentDirectory(), 37 | Path.Combine("..", 38 | Path.Combine("..", 39 | Path.Combine(NativeScriptName, 40 | Path.Combine("Source", "Bindings"))))); 41 | 42 | public static readonly string ECSComponentSourcesDirPath = Path.Combine( 43 | Directory.GetCurrentDirectory(), 44 | Path.Combine("..", 45 | Path.Combine("..", 46 | Path.Combine(NativeScriptName, 47 | Path.Combine("Source", 48 | Path.Combine("Simulation", "Components")))))); 49 | } 50 | 51 | public static readonly string DotNetDllsDirPath = new FileInfo( 52 | new Uri(typeof(string).Assembly.CodeBase).LocalPath 53 | ).DirectoryName; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /UnityProject/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: 4 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_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/sample_scene/ground.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: ground 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 2000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: 5781fa2bdcc6cfc4aa608dc751feff4d, type: 3} 44 | m_Scale: {x: 30, y: 30} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _Glossiness: 0.5 64 | - _Metallic: 0 65 | - _Mode: 0 66 | - _OcclusionStrength: 1 67 | - _Parallax: 0.02 68 | - _SrcBlend: 1 69 | - _UVSec: 0 70 | - _ZWrite: 1 71 | m_Colors: 72 | - _Color: {r: 1, g: 1, b: 1, a: 1} 73 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 74 | -------------------------------------------------------------------------------- /UnityProject/Assets/ToonyTinyPeople/TT_demo/models/Materials/TT_demo.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: TT_demo 11 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 2000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: 7a97bf571a8477f449be264c891871e1, type: 3} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _Glossiness: 0.5 64 | - _Metallic: 0 65 | - _Mode: 0 66 | - _OcclusionStrength: 1 67 | - _Parallax: 0.02 68 | - _SrcBlend: 1 69 | - _UVSec: 0 70 | - _ZWrite: 1 71 | m_Colors: 72 | - _Color: {r: 1, g: 1, b: 1, a: 1} 73 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 74 | -------------------------------------------------------------------------------- /UnityProject/Assets/Animators/Male.controller: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!91 &9100000 4 | AnimatorController: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: Male 10 | serializedVersion: 5 11 | m_AnimatorParameters: [] 12 | m_AnimatorLayers: 13 | - serializedVersion: 5 14 | m_Name: Base Layer 15 | m_StateMachine: {fileID: 5970470833460165770} 16 | m_Mask: {fileID: 0} 17 | m_Motions: [] 18 | m_Behaviours: [] 19 | m_BlendingMode: 0 20 | m_SyncedLayerIndex: -1 21 | m_DefaultWeight: 0 22 | m_IKPass: 0 23 | m_SyncedLayerAffectsTiming: 0 24 | m_Controller: {fileID: 9100000} 25 | --- !u!1102 &570068262391847433 26 | AnimatorState: 27 | serializedVersion: 5 28 | m_ObjectHideFlags: 1 29 | m_CorrespondingSourceObject: {fileID: 0} 30 | m_PrefabInstance: {fileID: 0} 31 | m_PrefabAsset: {fileID: 0} 32 | m_Name: m_run 33 | m_Speed: 1 34 | m_CycleOffset: 0 35 | m_Transitions: [] 36 | m_StateMachineBehaviours: [] 37 | m_Position: {x: 50, y: 50, z: 0} 38 | m_IKOnFeet: 0 39 | m_WriteDefaultValues: 1 40 | m_Mirror: 0 41 | m_SpeedParameterActive: 0 42 | m_MirrorParameterActive: 0 43 | m_CycleOffsetParameterActive: 0 44 | m_TimeParameterActive: 0 45 | m_Motion: {fileID: 7400000, guid: 4565b88a84c4f7048b05a8ff423427fd, type: 3} 46 | m_Tag: 47 | m_SpeedParameter: 48 | m_MirrorParameter: 49 | m_CycleOffsetParameter: 50 | m_TimeParameter: 51 | --- !u!1107 &5970470833460165770 52 | AnimatorStateMachine: 53 | serializedVersion: 5 54 | m_ObjectHideFlags: 1 55 | m_CorrespondingSourceObject: {fileID: 0} 56 | m_PrefabInstance: {fileID: 0} 57 | m_PrefabAsset: {fileID: 0} 58 | m_Name: Base Layer 59 | m_ChildStates: 60 | - serializedVersion: 1 61 | m_State: {fileID: 570068262391847433} 62 | m_Position: {x: 30, y: 290, z: 0} 63 | m_ChildStateMachines: [] 64 | m_AnyStateTransitions: [] 65 | m_EntryTransitions: [] 66 | m_StateMachineTransitions: {} 67 | m_StateMachineBehaviours: [] 68 | m_AnyStatePosition: {x: 50, y: 20, z: 0} 69 | m_EntryPosition: {x: 50, y: 120, z: 0} 70 | m_ExitPosition: {x: 800, y: 120, z: 0} 71 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} 72 | m_DefaultState: {fileID: 570068262391847433} 73 | -------------------------------------------------------------------------------- /UnityProject/Assets/Game/Scripts/InputManager.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class InputManager : MonoBehaviour 4 | { 5 | [SerializeField] GameObject m_HighlightedTilePrefab; 6 | [SerializeField] LayerMask m_Selectable; 7 | 8 | [SerializeField] float m_CameraScrollSpeed; 9 | [SerializeField] Vector2 m_CameraScrollSize; 10 | 11 | [SerializeField] float m_CameraMoveSpeed; 12 | 13 | private GameObject m_HighlightedTile; 14 | private Camera m_MainCamera; 15 | 16 | private void Start() 17 | { 18 | m_HighlightedTile = Instantiate(m_HighlightedTilePrefab); 19 | m_MainCamera = Camera.main; 20 | } 21 | 22 | private void Update() 23 | { 24 | UpdateCameraMovement(); 25 | UpdateZoom(); 26 | UpdateSelection(); 27 | UpdateMouseClick(); 28 | } 29 | 30 | private void UpdateSelection() 31 | { 32 | Ray ray = m_MainCamera.ScreenPointToRay(Input.mousePosition); 33 | RaycastHit hitData; 34 | 35 | if (Physics.Raycast(ray, out hitData, 1000, m_Selectable)) 36 | { 37 | Vector3 hitPoint = hitData.point; 38 | hitPoint.x = Mathf.Floor(hitPoint.x); 39 | hitPoint.z = Mathf.Floor(hitPoint.z); 40 | hitPoint.y = -0.19f; 41 | m_HighlightedTile.transform.position = hitPoint; 42 | } 43 | } 44 | 45 | private void UpdateZoom() 46 | { 47 | m_MainCamera.orthographicSize += (-Input.mouseScrollDelta.y) * Time.deltaTime * m_CameraScrollSpeed; 48 | m_MainCamera.orthographicSize = Mathf.Clamp(m_MainCamera.orthographicSize, m_CameraScrollSize.x, m_CameraScrollSize.y); 49 | } 50 | 51 | private void UpdateCameraMovement() 52 | { 53 | Vector3 movement = new Vector3( 54 | Input.GetAxis("Horizontal"), 55 | 0, 56 | Input.GetAxis("Vertical") 57 | ); 58 | movement = Quaternion.Euler(0, m_MainCamera.transform.eulerAngles.y, 0) * movement; 59 | m_MainCamera.transform.position += movement.normalized * m_CameraMoveSpeed * Time.deltaTime; 60 | } 61 | 62 | private void UpdateMouseClick() 63 | { 64 | if (Input.GetMouseButtonDown(0)) 65 | { 66 | ECSBindings.SpawnTower(m_HighlightedTile.transform.position.x, m_HighlightedTile.transform.position.z); 67 | } 68 | } 69 | } 70 | 71 | --------------------------------------------------------------------------------