diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..f3e82df --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,10 @@ +{ + "permissions": { + "allow": [ + "Edit(Assets/**)", + "Write(Assets/**)", + "Edit(Packages/**)", + "Write(Packages/**)" + ] + } +} diff --git a/Assets/Buttons.meta b/Assets/DownAssets/Buttons.meta similarity index 100% rename from Assets/Buttons.meta rename to Assets/DownAssets/Buttons.meta diff --git a/Assets/Buttons/PNG.meta b/Assets/DownAssets/Buttons/PNG.meta similarity index 100% rename from Assets/Buttons/PNG.meta rename to Assets/DownAssets/Buttons/PNG.meta diff --git a/Assets/Buttons/PNG/10Button_Midl_Yellow.png b/Assets/DownAssets/Buttons/PNG/10Button_Midl_Yellow.png similarity index 100% rename from Assets/Buttons/PNG/10Button_Midl_Yellow.png rename to Assets/DownAssets/Buttons/PNG/10Button_Midl_Yellow.png diff --git a/Assets/Buttons/PNG/10Button_Midl_Yellow.png.meta b/Assets/DownAssets/Buttons/PNG/10Button_Midl_Yellow.png.meta similarity index 100% rename from Assets/Buttons/PNG/10Button_Midl_Yellow.png.meta rename to Assets/DownAssets/Buttons/PNG/10Button_Midl_Yellow.png.meta diff --git a/Assets/Buttons/PNG/11Button_Midl_Blue.png b/Assets/DownAssets/Buttons/PNG/11Button_Midl_Blue.png similarity index 100% rename from Assets/Buttons/PNG/11Button_Midl_Blue.png rename to Assets/DownAssets/Buttons/PNG/11Button_Midl_Blue.png diff --git a/Assets/Buttons/PNG/11Button_Midl_Blue.png.meta b/Assets/DownAssets/Buttons/PNG/11Button_Midl_Blue.png.meta similarity index 100% rename from Assets/Buttons/PNG/11Button_Midl_Blue.png.meta rename to Assets/DownAssets/Buttons/PNG/11Button_Midl_Blue.png.meta diff --git a/Assets/Buttons/PNG/12Button_Long_Blue.png b/Assets/DownAssets/Buttons/PNG/12Button_Long_Blue.png similarity index 100% rename from Assets/Buttons/PNG/12Button_Long_Blue.png rename to Assets/DownAssets/Buttons/PNG/12Button_Long_Blue.png diff --git a/Assets/Buttons/PNG/12Button_Long_Blue.png.meta b/Assets/DownAssets/Buttons/PNG/12Button_Long_Blue.png.meta similarity index 100% rename from Assets/Buttons/PNG/12Button_Long_Blue.png.meta rename to Assets/DownAssets/Buttons/PNG/12Button_Long_Blue.png.meta diff --git a/Assets/Buttons/PNG/13Button_Long_Green.png b/Assets/DownAssets/Buttons/PNG/13Button_Long_Green.png similarity index 100% rename from Assets/Buttons/PNG/13Button_Long_Green.png rename to Assets/DownAssets/Buttons/PNG/13Button_Long_Green.png diff --git a/Assets/Buttons/PNG/13Button_Long_Green.png.meta b/Assets/DownAssets/Buttons/PNG/13Button_Long_Green.png.meta similarity index 100% rename from Assets/Buttons/PNG/13Button_Long_Green.png.meta rename to Assets/DownAssets/Buttons/PNG/13Button_Long_Green.png.meta diff --git a/Assets/Buttons/PNG/14Button_Long_Red.png b/Assets/DownAssets/Buttons/PNG/14Button_Long_Red.png similarity index 100% rename from Assets/Buttons/PNG/14Button_Long_Red.png rename to Assets/DownAssets/Buttons/PNG/14Button_Long_Red.png diff --git a/Assets/Buttons/PNG/14Button_Long_Red.png.meta b/Assets/DownAssets/Buttons/PNG/14Button_Long_Red.png.meta similarity index 100% rename from Assets/Buttons/PNG/14Button_Long_Red.png.meta rename to Assets/DownAssets/Buttons/PNG/14Button_Long_Red.png.meta diff --git a/Assets/Buttons/PNG/15Button_Long_Yellow.png b/Assets/DownAssets/Buttons/PNG/15Button_Long_Yellow.png similarity index 100% rename from Assets/Buttons/PNG/15Button_Long_Yellow.png rename to Assets/DownAssets/Buttons/PNG/15Button_Long_Yellow.png diff --git a/Assets/Buttons/PNG/15Button_Long_Yellow.png.meta b/Assets/DownAssets/Buttons/PNG/15Button_Long_Yellow.png.meta similarity index 100% rename from Assets/Buttons/PNG/15Button_Long_Yellow.png.meta rename to Assets/DownAssets/Buttons/PNG/15Button_Long_Yellow.png.meta diff --git a/Assets/Buttons/PNG/16bttn-little.png b/Assets/DownAssets/Buttons/PNG/16bttn-little.png similarity index 100% rename from Assets/Buttons/PNG/16bttn-little.png rename to Assets/DownAssets/Buttons/PNG/16bttn-little.png diff --git a/Assets/Buttons/PNG/16bttn-little.png.meta b/Assets/DownAssets/Buttons/PNG/16bttn-little.png.meta similarity index 100% rename from Assets/Buttons/PNG/16bttn-little.png.meta rename to Assets/DownAssets/Buttons/PNG/16bttn-little.png.meta diff --git a/Assets/Buttons/PNG/17bttn-little.png b/Assets/DownAssets/Buttons/PNG/17bttn-little.png similarity index 100% rename from Assets/Buttons/PNG/17bttn-little.png rename to Assets/DownAssets/Buttons/PNG/17bttn-little.png diff --git a/Assets/Buttons/PNG/17bttn-little.png.meta b/Assets/DownAssets/Buttons/PNG/17bttn-little.png.meta similarity index 100% rename from Assets/Buttons/PNG/17bttn-little.png.meta rename to Assets/DownAssets/Buttons/PNG/17bttn-little.png.meta diff --git a/Assets/Buttons/PNG/18bttn-little.png b/Assets/DownAssets/Buttons/PNG/18bttn-little.png similarity index 100% rename from Assets/Buttons/PNG/18bttn-little.png rename to Assets/DownAssets/Buttons/PNG/18bttn-little.png diff --git a/Assets/Buttons/PNG/18bttn-little.png.meta b/Assets/DownAssets/Buttons/PNG/18bttn-little.png.meta similarity index 100% rename from Assets/Buttons/PNG/18bttn-little.png.meta rename to Assets/DownAssets/Buttons/PNG/18bttn-little.png.meta diff --git a/Assets/Buttons/PNG/19bttn-midl.png b/Assets/DownAssets/Buttons/PNG/19bttn-midl.png similarity index 100% rename from Assets/Buttons/PNG/19bttn-midl.png rename to Assets/DownAssets/Buttons/PNG/19bttn-midl.png diff --git a/Assets/Buttons/PNG/19bttn-midl.png.meta b/Assets/DownAssets/Buttons/PNG/19bttn-midl.png.meta similarity index 100% rename from Assets/Buttons/PNG/19bttn-midl.png.meta rename to Assets/DownAssets/Buttons/PNG/19bttn-midl.png.meta diff --git a/Assets/Buttons/PNG/1button_green_middle.png b/Assets/DownAssets/Buttons/PNG/1button_green_middle.png similarity index 100% rename from Assets/Buttons/PNG/1button_green_middle.png rename to Assets/DownAssets/Buttons/PNG/1button_green_middle.png diff --git a/Assets/Buttons/PNG/1button_green_middle.png.meta b/Assets/DownAssets/Buttons/PNG/1button_green_middle.png.meta similarity index 100% rename from Assets/Buttons/PNG/1button_green_middle.png.meta rename to Assets/DownAssets/Buttons/PNG/1button_green_middle.png.meta diff --git a/Assets/Buttons/PNG/20bttn-midl.png b/Assets/DownAssets/Buttons/PNG/20bttn-midl.png similarity index 100% rename from Assets/Buttons/PNG/20bttn-midl.png rename to Assets/DownAssets/Buttons/PNG/20bttn-midl.png diff --git a/Assets/Buttons/PNG/20bttn-midl.png.meta b/Assets/DownAssets/Buttons/PNG/20bttn-midl.png.meta similarity index 100% rename from Assets/Buttons/PNG/20bttn-midl.png.meta rename to Assets/DownAssets/Buttons/PNG/20bttn-midl.png.meta diff --git a/Assets/Buttons/PNG/21bttn-midl.png b/Assets/DownAssets/Buttons/PNG/21bttn-midl.png similarity index 100% rename from Assets/Buttons/PNG/21bttn-midl.png rename to Assets/DownAssets/Buttons/PNG/21bttn-midl.png diff --git a/Assets/Buttons/PNG/21bttn-midl.png.meta b/Assets/DownAssets/Buttons/PNG/21bttn-midl.png.meta similarity index 100% rename from Assets/Buttons/PNG/21bttn-midl.png.meta rename to Assets/DownAssets/Buttons/PNG/21bttn-midl.png.meta diff --git a/Assets/Buttons/PNG/22Button_Midl_Green.png b/Assets/DownAssets/Buttons/PNG/22Button_Midl_Green.png similarity index 100% rename from Assets/Buttons/PNG/22Button_Midl_Green.png rename to Assets/DownAssets/Buttons/PNG/22Button_Midl_Green.png diff --git a/Assets/Buttons/PNG/22Button_Midl_Green.png.meta b/Assets/DownAssets/Buttons/PNG/22Button_Midl_Green.png.meta similarity index 100% rename from Assets/Buttons/PNG/22Button_Midl_Green.png.meta rename to Assets/DownAssets/Buttons/PNG/22Button_Midl_Green.png.meta diff --git a/Assets/Buttons/PNG/23Button_Midl_Red.png b/Assets/DownAssets/Buttons/PNG/23Button_Midl_Red.png similarity index 100% rename from Assets/Buttons/PNG/23Button_Midl_Red.png rename to Assets/DownAssets/Buttons/PNG/23Button_Midl_Red.png diff --git a/Assets/Buttons/PNG/23Button_Midl_Red.png.meta b/Assets/DownAssets/Buttons/PNG/23Button_Midl_Red.png.meta similarity index 100% rename from Assets/Buttons/PNG/23Button_Midl_Red.png.meta rename to Assets/DownAssets/Buttons/PNG/23Button_Midl_Red.png.meta diff --git a/Assets/Buttons/PNG/24Button_Midl_Blue.png b/Assets/DownAssets/Buttons/PNG/24Button_Midl_Blue.png similarity index 100% rename from Assets/Buttons/PNG/24Button_Midl_Blue.png rename to Assets/DownAssets/Buttons/PNG/24Button_Midl_Blue.png diff --git a/Assets/Buttons/PNG/24Button_Midl_Blue.png.meta b/Assets/DownAssets/Buttons/PNG/24Button_Midl_Blue.png.meta similarity index 100% rename from Assets/Buttons/PNG/24Button_Midl_Blue.png.meta rename to Assets/DownAssets/Buttons/PNG/24Button_Midl_Blue.png.meta diff --git a/Assets/Buttons/PNG/25Button_Long_Green.png b/Assets/DownAssets/Buttons/PNG/25Button_Long_Green.png similarity index 100% rename from Assets/Buttons/PNG/25Button_Long_Green.png rename to Assets/DownAssets/Buttons/PNG/25Button_Long_Green.png diff --git a/Assets/Buttons/PNG/25Button_Long_Green.png.meta b/Assets/DownAssets/Buttons/PNG/25Button_Long_Green.png.meta similarity index 100% rename from Assets/Buttons/PNG/25Button_Long_Green.png.meta rename to Assets/DownAssets/Buttons/PNG/25Button_Long_Green.png.meta diff --git a/Assets/Buttons/PNG/26Button_Long_Blue.png b/Assets/DownAssets/Buttons/PNG/26Button_Long_Blue.png similarity index 100% rename from Assets/Buttons/PNG/26Button_Long_Blue.png rename to Assets/DownAssets/Buttons/PNG/26Button_Long_Blue.png diff --git a/Assets/Buttons/PNG/26Button_Long_Blue.png.meta b/Assets/DownAssets/Buttons/PNG/26Button_Long_Blue.png.meta similarity index 100% rename from Assets/Buttons/PNG/26Button_Long_Blue.png.meta rename to Assets/DownAssets/Buttons/PNG/26Button_Long_Blue.png.meta diff --git a/Assets/Buttons/PNG/27Button_Long_Red.png b/Assets/DownAssets/Buttons/PNG/27Button_Long_Red.png similarity index 100% rename from Assets/Buttons/PNG/27Button_Long_Red.png rename to Assets/DownAssets/Buttons/PNG/27Button_Long_Red.png diff --git a/Assets/Buttons/PNG/27Button_Long_Red.png.meta b/Assets/DownAssets/Buttons/PNG/27Button_Long_Red.png.meta similarity index 100% rename from Assets/Buttons/PNG/27Button_Long_Red.png.meta rename to Assets/DownAssets/Buttons/PNG/27Button_Long_Red.png.meta diff --git a/Assets/Buttons/PNG/28button_green.png b/Assets/DownAssets/Buttons/PNG/28button_green.png similarity index 100% rename from Assets/Buttons/PNG/28button_green.png rename to Assets/DownAssets/Buttons/PNG/28button_green.png diff --git a/Assets/Buttons/PNG/28button_green.png.meta b/Assets/DownAssets/Buttons/PNG/28button_green.png.meta similarity index 100% rename from Assets/Buttons/PNG/28button_green.png.meta rename to Assets/DownAssets/Buttons/PNG/28button_green.png.meta diff --git a/Assets/Buttons/PNG/29button_blue.png b/Assets/DownAssets/Buttons/PNG/29button_blue.png similarity index 100% rename from Assets/Buttons/PNG/29button_blue.png rename to Assets/DownAssets/Buttons/PNG/29button_blue.png diff --git a/Assets/Buttons/PNG/29button_blue.png.meta b/Assets/DownAssets/Buttons/PNG/29button_blue.png.meta similarity index 100% rename from Assets/Buttons/PNG/29button_blue.png.meta rename to Assets/DownAssets/Buttons/PNG/29button_blue.png.meta diff --git a/Assets/Buttons/PNG/2button_blue_middle.png b/Assets/DownAssets/Buttons/PNG/2button_blue_middle.png similarity index 100% rename from Assets/Buttons/PNG/2button_blue_middle.png rename to Assets/DownAssets/Buttons/PNG/2button_blue_middle.png diff --git a/Assets/Buttons/PNG/2button_blue_middle.png.meta b/Assets/DownAssets/Buttons/PNG/2button_blue_middle.png.meta similarity index 100% rename from Assets/Buttons/PNG/2button_blue_middle.png.meta rename to Assets/DownAssets/Buttons/PNG/2button_blue_middle.png.meta diff --git a/Assets/Buttons/PNG/30button_red.png b/Assets/DownAssets/Buttons/PNG/30button_red.png similarity index 100% rename from Assets/Buttons/PNG/30button_red.png rename to Assets/DownAssets/Buttons/PNG/30button_red.png diff --git a/Assets/Buttons/PNG/30button_red.png.meta b/Assets/DownAssets/Buttons/PNG/30button_red.png.meta similarity index 100% rename from Assets/Buttons/PNG/30button_red.png.meta rename to Assets/DownAssets/Buttons/PNG/30button_red.png.meta diff --git a/Assets/Buttons/PNG/3button_green_middle.png b/Assets/DownAssets/Buttons/PNG/3button_green_middle.png similarity index 100% rename from Assets/Buttons/PNG/3button_green_middle.png rename to Assets/DownAssets/Buttons/PNG/3button_green_middle.png diff --git a/Assets/Buttons/PNG/3button_green_middle.png.meta b/Assets/DownAssets/Buttons/PNG/3button_green_middle.png.meta similarity index 100% rename from Assets/Buttons/PNG/3button_green_middle.png.meta rename to Assets/DownAssets/Buttons/PNG/3button_green_middle.png.meta diff --git a/Assets/Buttons/PNG/4button_green_middle.png b/Assets/DownAssets/Buttons/PNG/4button_green_middle.png similarity index 100% rename from Assets/Buttons/PNG/4button_green_middle.png rename to Assets/DownAssets/Buttons/PNG/4button_green_middle.png diff --git a/Assets/Buttons/PNG/4button_green_middle.png.meta b/Assets/DownAssets/Buttons/PNG/4button_green_middle.png.meta similarity index 100% rename from Assets/Buttons/PNG/4button_green_middle.png.meta rename to Assets/DownAssets/Buttons/PNG/4button_green_middle.png.meta diff --git a/Assets/Buttons/PNG/5button_blue_middle.png b/Assets/DownAssets/Buttons/PNG/5button_blue_middle.png similarity index 100% rename from Assets/Buttons/PNG/5button_blue_middle.png rename to Assets/DownAssets/Buttons/PNG/5button_blue_middle.png diff --git a/Assets/Buttons/PNG/5button_blue_middle.png.meta b/Assets/DownAssets/Buttons/PNG/5button_blue_middle.png.meta similarity index 100% rename from Assets/Buttons/PNG/5button_blue_middle.png.meta rename to Assets/DownAssets/Buttons/PNG/5button_blue_middle.png.meta diff --git a/Assets/Buttons/PNG/6button_green_middle.png b/Assets/DownAssets/Buttons/PNG/6button_green_middle.png similarity index 100% rename from Assets/Buttons/PNG/6button_green_middle.png rename to Assets/DownAssets/Buttons/PNG/6button_green_middle.png diff --git a/Assets/Buttons/PNG/6button_green_middle.png.meta b/Assets/DownAssets/Buttons/PNG/6button_green_middle.png.meta similarity index 100% rename from Assets/Buttons/PNG/6button_green_middle.png.meta rename to Assets/DownAssets/Buttons/PNG/6button_green_middle.png.meta diff --git a/Assets/Buttons/PNG/7button_green_middle.png b/Assets/DownAssets/Buttons/PNG/7button_green_middle.png similarity index 100% rename from Assets/Buttons/PNG/7button_green_middle.png rename to Assets/DownAssets/Buttons/PNG/7button_green_middle.png diff --git a/Assets/Buttons/PNG/7button_green_middle.png.meta b/Assets/DownAssets/Buttons/PNG/7button_green_middle.png.meta similarity index 100% rename from Assets/Buttons/PNG/7button_green_middle.png.meta rename to Assets/DownAssets/Buttons/PNG/7button_green_middle.png.meta diff --git a/Assets/Buttons/PNG/8Button_Midl_Red.png b/Assets/DownAssets/Buttons/PNG/8Button_Midl_Red.png similarity index 100% rename from Assets/Buttons/PNG/8Button_Midl_Red.png rename to Assets/DownAssets/Buttons/PNG/8Button_Midl_Red.png diff --git a/Assets/Buttons/PNG/8Button_Midl_Red.png.meta b/Assets/DownAssets/Buttons/PNG/8Button_Midl_Red.png.meta similarity index 100% rename from Assets/Buttons/PNG/8Button_Midl_Red.png.meta rename to Assets/DownAssets/Buttons/PNG/8Button_Midl_Red.png.meta diff --git a/Assets/Buttons/PNG/9Button_Midl_Green.png b/Assets/DownAssets/Buttons/PNG/9Button_Midl_Green.png similarity index 100% rename from Assets/Buttons/PNG/9Button_Midl_Green.png rename to Assets/DownAssets/Buttons/PNG/9Button_Midl_Green.png diff --git a/Assets/Buttons/PNG/9Button_Midl_Green.png.meta b/Assets/DownAssets/Buttons/PNG/9Button_Midl_Green.png.meta similarity index 100% rename from Assets/Buttons/PNG/9Button_Midl_Green.png.meta rename to Assets/DownAssets/Buttons/PNG/9Button_Midl_Green.png.meta diff --git a/Assets/Buttons/Scenes.meta b/Assets/DownAssets/Buttons/Scenes.meta similarity index 100% rename from Assets/Buttons/Scenes.meta rename to Assets/DownAssets/Buttons/Scenes.meta diff --git a/Assets/Buttons/Scenes/SampleScene.unity b/Assets/DownAssets/Buttons/Scenes/SampleScene.unity similarity index 100% rename from Assets/Buttons/Scenes/SampleScene.unity rename to Assets/DownAssets/Buttons/Scenes/SampleScene.unity diff --git a/Assets/Buttons/Scenes/SampleScene.unity.meta b/Assets/DownAssets/Buttons/Scenes/SampleScene.unity.meta similarity index 100% rename from Assets/Buttons/Scenes/SampleScene.unity.meta rename to Assets/DownAssets/Buttons/Scenes/SampleScene.unity.meta diff --git a/Assets/Buttons/buttons.png b/Assets/DownAssets/Buttons/buttons.png similarity index 100% rename from Assets/Buttons/buttons.png rename to Assets/DownAssets/Buttons/buttons.png diff --git a/Assets/Buttons/buttons.png.meta b/Assets/DownAssets/Buttons/buttons.png.meta similarity index 100% rename from Assets/Buttons/buttons.png.meta rename to Assets/DownAssets/Buttons/buttons.png.meta diff --git a/Assets/Buttons/buttons.psd b/Assets/DownAssets/Buttons/buttons.psd similarity index 100% rename from Assets/Buttons/buttons.psd rename to Assets/DownAssets/Buttons/buttons.psd diff --git a/Assets/Buttons/buttons.psd.meta b/Assets/DownAssets/Buttons/buttons.psd.meta similarity index 100% rename from Assets/Buttons/buttons.psd.meta rename to Assets/DownAssets/Buttons/buttons.psd.meta diff --git a/Assets/Buttons/buttons_Back.png b/Assets/DownAssets/Buttons/buttons_Back.png similarity index 100% rename from Assets/Buttons/buttons_Back.png rename to Assets/DownAssets/Buttons/buttons_Back.png diff --git a/Assets/Buttons/buttons_Back.png.meta b/Assets/DownAssets/Buttons/buttons_Back.png.meta similarity index 100% rename from Assets/Buttons/buttons_Back.png.meta rename to Assets/DownAssets/Buttons/buttons_Back.png.meta diff --git a/Assets/_TerrainAutoUpgrade.meta b/Assets/DownAssets/_TerrainAutoUpgrade.meta similarity index 100% rename from Assets/_TerrainAutoUpgrade.meta rename to Assets/DownAssets/_TerrainAutoUpgrade.meta diff --git a/Assets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer b/Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer similarity index 100% rename from Assets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer rename to Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer diff --git a/Assets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer.meta b/Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer.meta similarity index 100% rename from Assets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer.meta rename to Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground1cc0f254a2c535401.terrainlayer.meta diff --git a/Assets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer b/Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer similarity index 100% rename from Assets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer rename to Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer diff --git a/Assets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer.meta b/Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer.meta similarity index 100% rename from Assets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer.meta rename to Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground2cc0f254a2c535401.terrainlayer.meta diff --git a/Assets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer b/Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer similarity index 100% rename from Assets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer rename to Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer diff --git a/Assets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer.meta b/Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer.meta similarity index 100% rename from Assets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer.meta rename to Assets/DownAssets/_TerrainAutoUpgrade/layer_Ground3cc0f254a2c535401.terrainlayer.meta diff --git a/Assets/eretichable Technologies.meta b/Assets/DownAssets/eretichable Technologies.meta similarity index 100% rename from Assets/eretichable Technologies.meta rename to Assets/DownAssets/eretichable Technologies.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly).meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly).meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly).meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly).meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_Bullet.mat.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_LP.mat.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_desert_camo.mat.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Materials/Revolver_green_camo.mat.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_Bullet.fbx.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Meshes/Revolver_LP.fbx.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab similarity index 99% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab index aa5cb16..35e7c37 100644 --- a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab +++ b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab @@ -249,7 +249,7 @@ BoxCollider: serializedVersion: 2 m_Bits: 0 m_LayerOverridePriority: 0 - m_IsTrigger: 0 + m_IsTrigger: 1 m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Bullet.prefab.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Desert.prefab.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_Green.prefab.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Prefabs/Revolver_LP.prefab.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene.unity.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scenes/Weapon_Scene_1.1.unity.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Scripts/Gun_rotation.cs.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_Bullet.png.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_LP.png.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_desert_camo.png.meta diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png diff --git a/Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png.meta b/Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png.meta similarity index 100% rename from Assets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png.meta rename to Assets/DownAssets/eretichable Technologies/Revolver Gun (Low Poly)/Textures/Revolver_green_camo.png.meta diff --git a/Assets/Image/Dodge_img.psd b/Assets/Image/Dodge_img.psd new file mode 100644 index 0000000..bd530d9 Binary files /dev/null and b/Assets/Image/Dodge_img.psd differ diff --git a/Assets/Image/Dodge_img.psd.meta b/Assets/Image/Dodge_img.psd.meta new file mode 100644 index 0000000..6fcafe2 --- /dev/null +++ b/Assets/Image/Dodge_img.psd.meta @@ -0,0 +1,143 @@ +fileFormatVersion: 2 +guid: 553eb3d37f9a9cd4ea66853bea8ae6e8 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: iOS + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Material/Sheild_Mat.mat b/Assets/Material/Sheild_Mat.mat new file mode 100644 index 0000000..d2ffe50 --- /dev/null +++ b/Assets/Material/Sheild_Mat.mat @@ -0,0 +1,59 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Sheild_Mat + m_Shader: {fileID: -6465566751694194690, guid: ec26e2079c73aa34d8867e02f81322c7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _QueueControl: 0 + - _QueueOffset: 0 + m_Colors: + - _ShieldShader: {r: 0.5062892, g: 0.6164569, b: 1, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &1434032535988342051 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Assets/Material/Sheild_Mat.mat.meta b/Assets/Material/Sheild_Mat.mat.meta new file mode 100644 index 0000000..178cded --- /dev/null +++ b/Assets/Material/Sheild_Mat.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d8b3f2b5416a3d3478513a83c168db19 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Material/ShieldShader.shadergraph b/Assets/Material/ShieldShader.shadergraph new file mode 100644 index 0000000..4a738ff --- /dev/null +++ b/Assets/Material/ShieldShader.shadergraph @@ -0,0 +1,1169 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "6923286080e04ea4ae5019b59ca658c3", + "m_Properties": [ + { + "m_Id": "6b6c47a062784801bf28d216ec1d3ecb" + } + ], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "9e28c66fbdd14be697fac3e5ec8efc2e" + } + ], + "m_Nodes": [ + { + "m_Id": "4e3434c3c8e54ae5b7c5acdf5a88e3d9" + }, + { + "m_Id": "080d20ea6e7744cb8292b8e6458d87f9" + }, + { + "m_Id": "5f56f5a757b846acae54568aaa1d1eee" + }, + { + "m_Id": "a6b4ca78d54b4f898db6b1b48b3ba281" + }, + { + "m_Id": "5415a9c0f8e44df2816d09c6b3fc7f01" + }, + { + "m_Id": "3e1851512d884c92a81bf93237ea9ecc" + }, + { + "m_Id": "b12d92a7a12c4a5088f1019ba91803d7" + }, + { + "m_Id": "d788925fcb314245a8170aeeba9e4e2e" + }, + { + "m_Id": "24e621d1b8434fc0bced1b95ab8285f7" + }, + { + "m_Id": "3ecc674ace5f440ead862e147f0ce4f3" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "24e621d1b8434fc0bced1b95ab8285f7" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3ecc674ace5f440ead862e147f0ce4f3" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3e1851512d884c92a81bf93237ea9ecc" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "a6b4ca78d54b4f898db6b1b48b3ba281" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "3e1851512d884c92a81bf93237ea9ecc" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "d788925fcb314245a8170aeeba9e4e2e" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "5415a9c0f8e44df2816d09c6b3fc7f01" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3e1851512d884c92a81bf93237ea9ecc" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b12d92a7a12c4a5088f1019ba91803d7" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3e1851512d884c92a81bf93237ea9ecc" + }, + "m_SlotId": 1 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 0.0, + "y": 0.0 + }, + "m_Blocks": [ + { + "m_Id": "4e3434c3c8e54ae5b7c5acdf5a88e3d9" + }, + { + "m_Id": "080d20ea6e7744cb8292b8e6458d87f9" + }, + { + "m_Id": "5f56f5a757b846acae54568aaa1d1eee" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": 0.0, + "y": 200.0 + }, + "m_Blocks": [ + { + "m_Id": "a6b4ca78d54b4f898db6b1b48b3ba281" + }, + { + "m_Id": "d788925fcb314245a8170aeeba9e4e2e" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_SubDatas": [], + "m_ActiveTargets": [ + { + "m_Id": "bbc6605a9ebb4973a4cc51f96b5eaacc" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ViewDirectionMaterialSlot", + "m_ObjectId": "04d6b389b2874cf3a407c9f57b70e4f0", + "m_Id": 1, + "m_DisplayName": "View Dir", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "ViewDir", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 2 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "06826b6fdee54bc48ab2a5a9978cb891", + "m_Id": 0, + "m_DisplayName": "ShieldShader", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "080d20ea6e7744cb8292b8e6458d87f9", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Normal", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "8b0733103b554455bcdbc4450cce5c9a" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "1100d27cb51f41ef9d7e49a5dadb3b0e", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "143267df37fe4f21a2ae991bcfc8be17", + "m_Id": 1, + "m_DisplayName": "Sine Time", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Sine Time", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "194ca120472a48f485ee819c0c69fea4", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "e00": 2.0, + "e01": 2.0, + "e02": 2.0, + "e03": 2.0, + "e10": 2.0, + "e11": 2.0, + "e12": 2.0, + "e13": 2.0, + "e20": 2.0, + "e21": 2.0, + "e22": 2.0, + "e23": 2.0, + "e30": 2.0, + "e31": 2.0, + "e32": 2.0, + "e33": 2.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "24a1b58875644d7c95ab7dc4390ba3b7", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 2 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TimeNode", + "m_ObjectId": "24e621d1b8434fc0bced1b95ab8285f7", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Time", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 434.0000305175781, + "y": 424.0000305175781, + "width": 125.33334350585938, + "height": 174.66659545898438 + } + }, + "m_Slots": [ + { + "m_Id": "c83178d2c5004ca1960849e9408fb387" + }, + { + "m_Id": "143267df37fe4f21a2ae991bcfc8be17" + }, + { + "m_Id": "c303f7e3fc6c4a9c80a18d926945ab57" + }, + { + "m_Id": "4e0f58131e874ea5bf9f186c9e65112b" + }, + { + "m_Id": "35fabdb7a2a3466c8778aeb6a6a94da8" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "30b5a891f588461ba92dd35bb94707e3", + "m_Id": 0, + "m_DisplayName": "Alpha", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Alpha", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "35fabdb7a2a3466c8778aeb6a6a94da8", + "m_Id": 4, + "m_DisplayName": "Smooth Delta", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Smooth Delta", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "36e1a91ef9bd47b2afe5d48d1fb5ab92", + "m_Id": 1, + "m_DisplayName": "Tiling", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tiling", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0 + }, + "m_DefaultValue": { + "x": 1.0, + "y": 1.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", + "m_ObjectId": "3736c3721c7b4b4da22833be03164c89", + "m_KeepLightingVariants": false, + "m_DefaultDecalBlending": true, + "m_DefaultSSAO": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "3e1851512d884c92a81bf93237ea9ecc", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 96.00000762939453, + "y": 423.9999694824219, + "width": 209.33334350585938, + "height": 304.0000305175781 + } + }, + "m_Slots": [ + { + "m_Id": "1100d27cb51f41ef9d7e49a5dadb3b0e" + }, + { + "m_Id": "194ca120472a48f485ee819c0c69fea4" + }, + { + "m_Id": "7f470614785645b2bc6ad2c642119513" + } + ], + "synonyms": [ + "multiplication", + "times", + "x" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TilingAndOffsetNode", + "m_ObjectId": "3ecc674ace5f440ead862e147f0ce4f3", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Tiling And Offset", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 792.0, + "y": 400.0, + "width": 209.33331298828126, + "height": 328.0 + } + }, + "m_Slots": [ + { + "m_Id": "75eb7bd9a0f54b3d9fdc94141965e780" + }, + { + "m_Id": "36e1a91ef9bd47b2afe5d48d1fb5ab92" + }, + { + "m_Id": "fb9348541c314132a4d4c98e8e19bace" + }, + { + "m_Id": "809bf246e8cd4f7db9da988a9bda332c" + } + ], + "synonyms": [ + "pan", + "scale" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "4e0f58131e874ea5bf9f186c9e65112b", + "m_Id": 3, + "m_DisplayName": "Delta Time", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Delta Time", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "4e3434c3c8e54ae5b7c5acdf5a88e3d9", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "a49c128d06f74907b9127118f9861659" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Position" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "51f793934e26422c8953f137a2be6b3a", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.FresnelNode", + "m_ObjectId": "5415a9c0f8e44df2816d09c6b3fc7f01", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Fresnel Effect", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -461.3333740234375, + "y": 362.6666259765625, + "width": 209.33334350585938, + "height": 327.99993896484377 + } + }, + "m_Slots": [ + { + "m_Id": "24a1b58875644d7c95ab7dc4390ba3b7" + }, + { + "m_Id": "04d6b389b2874cf3a407c9f57b70e4f0" + }, + { + "m_Id": "856c541653884559beb020d3239b26b1" + }, + { + "m_Id": "5dab017f42ae446296c29b5f368d9629" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "5da3bdd690454c44b9a8b4cfde7a4d18", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "5dab017f42ae446296c29b5f368d9629", + "m_Id": 3, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "5f56f5a757b846acae54568aaa1d1eee", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Tangent", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "51f793934e26422c8953f137a2be6b3a" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "6b6c47a062784801bf28d216ec1d3ecb", + "m_Guid": { + "m_GuidSerialized": "22b3d13c-bff8-4f2e-ac83-5aa4ec43184e" + }, + "promotedFromAssetID": "", + "promotedFromCategoryName": "", + "promotedOrdering": -1, + "m_Name": "ShieldShader", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "ShieldShader", + "m_DefaultReferenceName": "_ShieldShader", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_PerRendererData": false, + "m_customAttributes": [], + "m_Value": { + "r": 0.5062892436981201, + "g": 0.616456925868988, + "b": 1.0, + "a": 1.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", + "m_ObjectId": "75eb7bd9a0f54b3d9fdc94141965e780", + "m_Id": 0, + "m_DisplayName": "UV", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "UV", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [], + "m_Channel": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "7f470614785645b2bc6ad2c642119513", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "809bf246e8cd4f7db9da988a9bda332c", + "m_Id": 3, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "856c541653884559beb020d3239b26b1", + "m_Id": 2, + "m_DisplayName": "Power", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Power", + "m_StageCapability": 3, + "m_Value": 0.949999988079071, + "m_DefaultValue": 1.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "8b0733103b554455bcdbc4450cce5c9a", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "9e28c66fbdd14be697fac3e5ec8efc2e", + "m_Name": "", + "m_ChildObjectList": [ + { + "m_Id": "6b6c47a062784801bf28d216ec1d3ecb" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", + "m_ObjectId": "a49c128d06f74907b9127118f9861659", + "m_Id": 0, + "m_DisplayName": "Position", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Position", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "a6b4ca78d54b4f898db6b1b48b3ba281", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.BaseColor", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "5da3bdd690454c44b9a8b4cfde7a4d18" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.BaseColor" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "b12d92a7a12c4a5088f1019ba91803d7", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -99.71931457519531, + "y": 567.6333618164063, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "06826b6fdee54bc48ab2a5a9978cb891" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "6b6c47a062784801bf28d216ec1d3ecb" + } +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "bbc6605a9ebb4973a4cc51f96b5eaacc", + "m_Datas": [], + "m_ActiveSubTarget": { + "m_Id": "3736c3721c7b4b4da22833be03164c89" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 1, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 2, + "m_RenderFace": 2, + "m_AlphaClip": false, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_DisableTint": false, + "m_Sort3DAs2DCompatible": false, + "m_AdditionalMotionVectorMode": 0, + "m_AlembicMotionVectors": false, + "m_SupportsLODCrossFade": false, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "c303f7e3fc6c4a9c80a18d926945ab57", + "m_Id": 2, + "m_DisplayName": "Cosine Time", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Cosine Time", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "c83178d2c5004ca1960849e9408fb387", + "m_Id": 0, + "m_DisplayName": "Time", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Time", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [], + "m_LiteralMode": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "d788925fcb314245a8170aeeba9e4e2e", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Alpha", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "30b5a891f588461ba92dd35bb94707e3" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Alpha" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "fb9348541c314132a4d4c98e8e19bace", + "m_Id": 2, + "m_DisplayName": "Offset", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Offset", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + diff --git a/Assets/Material/ShieldShader.shadergraph.meta b/Assets/Material/ShieldShader.shadergraph.meta new file mode 100644 index 0000000..fdea0bb --- /dev/null +++ b/Assets/Material/ShieldShader.shadergraph.meta @@ -0,0 +1,18 @@ +fileFormatVersion: 2 +guid: ec26e2079c73aa34d8867e02f81322c7 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} + useAsTemplate: 0 + exposeTemplateAsShader: 0 + template: + name: + category: + description: + icon: {instanceID: 0} + thumbnail: {instanceID: 0} diff --git a/Assets/Material/Shiled.mat b/Assets/Material/Shiled.mat index a4632e6..b2575bf 100644 --- a/Assets/Material/Shiled.mat +++ b/Assets/Material/Shiled.mat @@ -21,67 +21,24 @@ Material: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Shiled - m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Shader: {fileID: -6465566751694194690, guid: ec26e2079c73aa34d8867e02f81322c7, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 m_ValidKeywords: [] - m_InvalidKeywords: [] + m_InvalidKeywords: + - _ALPHAPREMULTIPLY_ON + - _SURFACE_TYPE_TRANSPARENT m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 m_CustomRenderQueue: -1 - stringTagMap: - RenderType: Opaque + stringTagMap: {} disabledShaderPasses: - MOTIONVECTORS m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: - - _BaseMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - unity_Lightmaps: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -96,42 +53,9 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: - - _AddPrecomputedVelocity: 0 - - _AlphaClip: 0 - - _AlphaToMask: 0 - - _Blend: 0 - - _BlendModePreserveSpecular: 1 - - _BumpScale: 1 - - _ClearCoatMask: 0 - - _ClearCoatSmoothness: 0 - - _Cull: 2 - - _Cutoff: 0.5 - - _DetailAlbedoMapScale: 1 - - _DetailNormalMapScale: 1 - - _DstBlend: 0 - - _DstBlendAlpha: 0 - - _EnvironmentReflections: 1 - - _GlossMapScale: 0 - - _Glossiness: 0 - - _GlossyReflections: 0 - - _Metallic: 0.51 - - _OcclusionStrength: 1 - - _Parallax: 0.005 + - _QueueControl: 0 - _QueueOffset: 0 - - _ReceiveShadows: 1 - - _Smoothness: 0.72 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _SrcBlendAlpha: 1 - - _Surface: 0 - - _WorkflowMode: 1 - - _XRMotionVectorsPass: 1 - - _ZWrite: 1 m_Colors: - - _BaseColor: {r: 1, g: 0.99056596, b: 0.99056596, a: 1} - - _Color: {r: 1, g: 0.99056596, b: 0.99056596, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + - _ShieldShader: {r: 0.5062892, g: 0.6164569, b: 1, a: 1} m_BuildTextureStacks: [] m_AllowLocking: 1 diff --git a/Assets/Prefab/Gameover Text.prefab b/Assets/Prefab/Gameover Text.prefab new file mode 100644 index 0000000..31c030c --- /dev/null +++ b/Assets/Prefab/Gameover Text.prefab @@ -0,0 +1,195 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &4640640396070775436 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1105074093276737916} + - component: {fileID: 1928025716198524146} + - component: {fileID: 4946578310072413178} + - component: {fileID: 5087766028209217354} + m_Layer: 5 + m_Name: Gameover Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1105074093276737916 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4640640396070775436} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1793608588726304347} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1928025716198524146 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4640640396070775436} + m_CullTransparentMesh: 1 +--- !u!114 &4946578310072413178 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4640640396070775436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 42 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 50 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 1 + m_LineSpacing: 1 + m_Text: 1 +--- !u!114 &5087766028209217354 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4640640396070775436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Shadow + m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 +--- !u!1 &8164059797673688969 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1793608588726304347} + - component: {fileID: 4093393007411021991} + - component: {fileID: 2160858664842960963} + - component: {fileID: 753063611021492932} + m_Layer: 5 + m_Name: Record Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1793608588726304347 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8164059797673688969} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1105074093276737916} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: -40} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4093393007411021991 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8164059797673688969} + m_CullTransparentMesh: 1 +--- !u!114 &2160858664842960963 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8164059797673688969} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 30 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 50 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 1 + m_LineSpacing: 1 + m_Text: 'Best Record: 0 + +' +--- !u!114 &753063611021492932 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8164059797673688969} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Shadow + m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 diff --git a/Assets/Prefab/Gameover Text.prefab.meta b/Assets/Prefab/Gameover Text.prefab.meta new file mode 100644 index 0000000..3ba8a6b --- /dev/null +++ b/Assets/Prefab/Gameover Text.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e28de7c522da5e54383c603db4b88449 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/SampleScene.unity.meta b/Assets/Resources.meta similarity index 67% rename from Assets/Scenes/SampleScene.unity.meta rename to Assets/Resources.meta index 9531828..0e4fd8f 100644 --- a/Assets/Scenes/SampleScene.unity.meta +++ b/Assets/Resources.meta @@ -1,5 +1,6 @@ fileFormatVersion: 2 -guid: 99c9720ab356a0642a771bea13969a05 +guid: 46a5f7ff6a98d774b9ee0970f02653ef +folderAsset: yes DefaultImporter: externalObjects: {} userData: diff --git a/Assets/Scenes/Game.unity b/Assets/Scenes/Game.unity index df3345c..fdb4f62 100644 --- a/Assets/Scenes/Game.unity +++ b/Assets/Scenes/Game.unity @@ -131,6 +131,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence (5) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -179,6 +187,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -326,6 +346,61 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 10, y: 4, z: 1} m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &64410880 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 5255999745714295778, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + m_PrefabInstance: {fileID: 1330685544} + m_PrefabAsset: {fileID: 0} +--- !u!1 &76053267 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 76053268} + - component: {fileID: 76053269} + m_Layer: 5 + m_Name: PlatformUIHandler + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &76053268 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 76053267} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2073886672} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &76053269 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 76053267} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: feb0dc7f5acf8d04d9aa26416992cb24, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PlatformUIHandler + joystickUI: {fileID: 1237123420} + buttonUI: {fileID: 64410880} --- !u!1001 &83230230 PrefabInstance: m_ObjectHideFlags: 0 @@ -338,6 +413,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -386,6 +469,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -397,6 +492,127 @@ PrefabInstance: insertIndex: -1 addedObject: {fileID: 1290893774} m_SourcePrefab: {fileID: 100100000, guid: 04381a6530534774c82cb9ae85578002, type: 3} +--- !u!1001 &130471812 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 2073886672} + m_Modifications: + - target: {fileID: 7994729573854476862, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729573854476862, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729573854476862, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_SizeDelta.x + value: 200 + objectReference: {fileID: 0} + - target: {fileID: 7994729573854476862, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_SizeDelta.y + value: 200 + objectReference: {fileID: 0} + - target: {fileID: 7994729573854476862, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 200 + objectReference: {fileID: 0} + - target: {fileID: 7994729573854476862, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchoredPosition.y + value: 200 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_SizeDelta.x + value: 1000 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_SizeDelta.y + value: 970 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalPosition.z + value: -0.63616 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362314, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Name + value: Joystick Floating + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} --- !u!4 &149950768 stripped Transform: m_CorrespondingSourceObject: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} @@ -465,46 +681,17 @@ GameObject: m_CorrespondingSourceObject: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} m_PrefabInstance: {fileID: 1073046169} m_PrefabAsset: {fileID: 0} ---- !u!1 &192938692 +--- !u!1 &192938692 stripped GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 4640640396070775436, guid: e28de7c522da5e54383c603db4b88449, type: 3} + m_PrefabInstance: {fileID: 4461394044525941047} m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 192938693} - - component: {fileID: 192938696} - - component: {fileID: 192938695} - - component: {fileID: 192938694} - m_Layer: 5 - m_Name: Gameover Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &192938693 +--- !u!224 &192938693 stripped RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + m_PrefabInstance: {fileID: 4461394044525941047} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 192938692} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 975446302} - m_Father: {fileID: 2073886672} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 160, y: 30} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &192938694 +--- !u!114 &192938697 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -513,24 +700,9 @@ MonoBehaviour: m_GameObject: {fileID: 192938692} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Shadow - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 1, y: -1} - m_UseGraphicAlpha: 1 ---- !u!114 &192938695 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 192938692} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 @@ -539,28 +711,78 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 42 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 4 - m_MaxSize: 50 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 1 - m_LineSpacing: 1 - m_Text: Press R to Restart ---- !u!222 &192938696 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 192938692} - m_CullTransparentMesh: 1 + m_text: + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 0 + m_fontSizeMax: 0 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 0 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} --- !u!1 &201763750 GameObject: m_ObjectHideFlags: 0 @@ -889,6 +1111,7 @@ MonoBehaviour: gameoverText: {fileID: 192938692} timeText: {fileID: 1031756831} recordText: {fileID: 975446299} + restartButton: {fileID: 1907543062} --- !u!4 &313474538 Transform: m_ObjectHideFlags: 0 @@ -964,7 +1187,7 @@ Camera: height: 1 near clip plane: 0.3 far clip plane: 100 - field of view: 60 + field of view: 45 orthographic: 0 orthographic size: 5 m_Depth: -1 @@ -991,7 +1214,7 @@ Transform: m_GameObject: {fileID: 330585543} serializedVersion: 2 m_LocalRotation: {x: 0.5, y: 0, z: 0, w: 0.8660254} - m_LocalPosition: {x: 0, y: 19.5, z: -12.2} + m_LocalPosition: {x: 0, y: 18.82, z: -13.37} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -1111,6 +1334,14 @@ PrefabInstance: propertyPath: m_Name value: fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -1159,6 +1390,14 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5814027414274439083, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1.2 @@ -1167,6 +1406,10 @@ PrefabInstance: propertyPath: m_LocalScale.z value: 1.0000002 objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -1357,6 +1600,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -1405,6 +1656,14 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5814027414274439083, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1.2 @@ -1413,6 +1672,10 @@ PrefabInstance: propertyPath: m_LocalScale.z value: 1.0000002 objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -1441,6 +1704,14 @@ PrefabInstance: propertyPath: m_Name value: fence (3) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -1489,6 +1760,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -1512,6 +1795,14 @@ PrefabInstance: propertyPath: m_Name value: fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -1560,6 +1851,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -1904,6 +2207,7 @@ MonoBehaviour: shieldVisual: {fileID: 998623055} shieldIcon: {fileID: 800208871} countText: {fileID: 2041015429} + joystick: {fileID: 1256235263} --- !u!1001 &562677981 PrefabInstance: m_ObjectHideFlags: 0 @@ -1966,6 +2270,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -2018,6 +2330,18 @@ PrefabInstance: propertyPath: m_ConstrainProportionsScale value: 1 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -2201,6 +2525,14 @@ PrefabInstance: propertyPath: m_Name value: 'fence ' objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -2249,6 +2581,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -2272,6 +2616,14 @@ PrefabInstance: propertyPath: m_Name value: 'fence ' objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -2324,6 +2676,18 @@ PrefabInstance: propertyPath: m_ConstrainProportionsScale value: 1 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -2541,6 +2905,14 @@ PrefabInstance: propertyPath: m_Name value: fence (2) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -2589,6 +2961,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -2725,6 +3109,14 @@ PrefabInstance: propertyPath: m_Name value: fence (1) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -2773,6 +3165,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -2869,8 +3273,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 0} m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} + m_AnchoredPosition: {x: -100, y: 130} + m_SizeDelta: {x: 130, y: 130} m_Pivot: {x: 1, y: 0} --- !u!114 &800208871 MonoBehaviour: @@ -2922,6 +3326,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence (1) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -2970,6 +3382,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -3130,6 +3554,14 @@ PrefabInstance: propertyPath: m_Name value: 'fence ' objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -3178,6 +3610,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -3247,12 +3691,7 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 10, y: 4, z: 1} m_Center: {x: 0, y: 0, z: 0} ---- !u!4 &935467717 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 4506419760738798, guid: a1f403feb3451c14c8d72d495a993cb1, type: 3} - m_PrefabInstance: {fileID: 1891091619} - m_PrefabAsset: {fileID: 0} ---- !u!1 &975446298 +--- !u!1 &918389044 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -3260,95 +3699,93 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 975446302} - - component: {fileID: 975446301} - - component: {fileID: 975446299} - - component: {fileID: 975446300} - m_Layer: 5 - m_Name: Record Text + - component: {fileID: 918389047} + - component: {fileID: 918389046} + - component: {fileID: 918389045} + m_Layer: 0 + m_Name: EventSystem m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &975446299 +--- !u!114 &918389045 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} + m_GameObject: {fileID: 918389044} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.InputSystem::UnityEngine.InputSystem.UI.InputSystemUIInputModule + m_SendPointerHoverToParent: 1 + m_MoveRepeatDelay: 0.5 + m_MoveRepeatRate: 0.1 + m_XRTrackingOrigin: {fileID: 0} + m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_PointAction: {fileID: -1654692200621890270, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_MoveAction: {fileID: -8784545083839296357, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_SubmitAction: {fileID: 392368643174621059, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_CancelAction: {fileID: 7727032971491509709, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_LeftClickAction: {fileID: 3001919216989983466, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_MiddleClickAction: {fileID: -2185481485913320682, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_RightClickAction: {fileID: -4090225696740746782, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_ScrollWheelAction: {fileID: 6240969308177333660, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_TrackedDevicePositionAction: {fileID: 6564999863303420839, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_TrackedDeviceOrientationAction: {fileID: 7970375526676320489, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_DeselectOnBackgroundClick: 1 + m_PointerBehavior: 0 + m_CursorLockBehavior: 0 + m_ScrollDeltaPerTick: 6 +--- !u!114 &918389046 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 918389044} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.EventSystems.EventSystem + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!4 &918389047 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 918389044} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &935467717 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4506419760738798, guid: a1f403feb3451c14c8d72d495a993cb1, type: 3} + m_PrefabInstance: {fileID: 1891091619} + m_PrefabAsset: {fileID: 0} +--- !u!114 &975446299 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 2160858664842960963, guid: e28de7c522da5e54383c603db4b88449, type: 3} + m_PrefabInstance: {fileID: 4461394044525941047} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Name: m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 30 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 0 - m_MaxSize: 50 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 1 - m_LineSpacing: 1 - m_Text: 'Best Record: 0 - -' ---- !u!114 &975446300 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Shadow - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 1, y: -1} - m_UseGraphicAlpha: 1 ---- !u!222 &975446301 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} - m_CullTransparentMesh: 1 ---- !u!224 &975446302 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 192938693} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -40} - m_SizeDelta: {x: 160, y: 30} - m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &998623055 GameObject: m_ObjectHideFlags: 0 @@ -3427,7 +3864,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 4189f5dd50557e84daf8e94244364951, type: 2} + - {fileID: 2100000, guid: d8b3f2b5416a3d3478513a83c168db19, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -3709,6 +4146,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -3757,6 +4202,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -3940,6 +4397,11 @@ Transform: m_CorrespondingSourceObject: {fileID: 4427979448961148, guid: 5c243d3591422814a81656730b54873b, type: 3} m_PrefabInstance: {fileID: 1176144795} m_PrefabAsset: {fileID: 0} +--- !u!1 &1237123420 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7994729574101362314, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + m_PrefabInstance: {fileID: 130471812} + m_PrefabAsset: {fileID: 0} --- !u!1001 &1243467272 PrefabInstance: m_ObjectHideFlags: 0 @@ -3994,6 +4456,22 @@ Transform: m_CorrespondingSourceObject: {fileID: 4129686743165072, guid: ce4192f2b3cb01b4ea33251fa9ea76ed, type: 3} m_PrefabInstance: {fileID: 1243467272} m_PrefabAsset: {fileID: 0} +--- !u!224 &1256235262 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + m_PrefabInstance: {fileID: 130471812} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1256235263 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4684214475355825702, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + m_PrefabInstance: {fileID: 130471812} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1237123420} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 54ae418ed01fd513d96455d6356e49bc, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1001 &1264546312 PrefabInstance: m_ObjectHideFlags: 0 @@ -4301,6 +4779,151 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 10, y: 4, z: 1} m_Center: {x: 0, y: 0, z: 0} +--- !u!1001 &1330685544 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 2073886672} + m_Modifications: + - target: {fileID: 5255999745547897111, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_fontAsset + value: + objectReference: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + - target: {fileID: 5255999745547897111, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_sharedMaterial + value: + objectReference: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + - target: {fileID: 5255999745547897111, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: 'm_ActiveFontFeatures.Array.data[0]' + value: 1801810542 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295778, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_Name + value: Button + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295778, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMin.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_SizeDelta.x + value: 180 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_SizeDelta.y + value: 180 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalPosition.z + value: -0.63616 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchoredPosition.x + value: -200 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 200 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9172598602197683105, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: onClick.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 9172598602197683105, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: onClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 9172598602197683105, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: onClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 508955663} + - target: {fileID: 9172598602197683105, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: onClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 9172598602197683105, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: onClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: ActivateShieldLogic + objectReference: {fileID: 0} + - target: {fileID: 9172598602197683105, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: onClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName + value: PlayerController, Assembly-CSharp + objectReference: {fileID: 0} + - target: {fileID: 9172598602197683105, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: onClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: + - {fileID: 5255999745547897109, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + insertIndex: -1 + addedObject: {fileID: 1386463666} + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 275b280c081e3406c94cdb832d875a59, type: 3} --- !u!1 &1332925673 GameObject: m_ObjectHideFlags: 0 @@ -4447,6 +5070,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence (2) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -4499,6 +5130,18 @@ PrefabInstance: propertyPath: m_ConstrainProportionsScale value: 1 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -4510,6 +5153,87 @@ PrefabInstance: insertIndex: -1 addedObject: {fileID: 297686349} m_SourcePrefab: {fileID: 100100000, guid: 04381a6530534774c82cb9ae85578002, type: 3} +--- !u!224 &1383868532 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + m_PrefabInstance: {fileID: 1330685544} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1386463665 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1386463666} + - component: {fileID: 1386463668} + - component: {fileID: 1386463667} + m_Layer: 5 + m_Name: Shiled (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1386463666 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1386463665} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0.63616} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1981028994} + m_Father: {fileID: 1383868532} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 130, y: 130} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1386463667 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1386463665} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 5defaa032c8a7484cab0ce3d3e70b7d5, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1386463668 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1386463665} + m_CullTransparentMesh: 1 --- !u!1001 &1402649716 PrefabInstance: m_ObjectHideFlags: 0 @@ -4522,6 +5246,14 @@ PrefabInstance: propertyPath: m_Name value: fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -4570,6 +5302,14 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5814027414274439083, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1.2 @@ -4578,6 +5318,10 @@ PrefabInstance: propertyPath: m_LocalScale.z value: 1.0000002 objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -4650,6 +5394,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -4698,6 +5450,14 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5814027414274439083, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1.2 @@ -4706,6 +5466,10 @@ PrefabInstance: propertyPath: m_LocalScale.z value: 1.0000002 objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -4850,6 +5614,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence (3) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -4898,6 +5670,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -5102,6 +5886,14 @@ PrefabInstance: propertyPath: m_Name value: fence (1) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -5150,6 +5942,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -5594,6 +6398,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -5642,6 +6454,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -5821,6 +6645,14 @@ PrefabInstance: propertyPath: m_Name value: 'fence ' objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -5869,6 +6701,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -5892,6 +6736,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -5940,6 +6792,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -5963,6 +6827,14 @@ PrefabInstance: propertyPath: m_Name value: north_fence (4) objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -6011,6 +6883,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -6452,6 +7336,153 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 10, y: 4, z: 1} m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &1907543062 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1907543063} + - component: {fileID: 1907543066} + - component: {fileID: 1907543065} + - component: {fileID: 1907543064} + - component: {fileID: 1907543067} + m_Layer: 5 + m_Name: RestartButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &1907543063 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1907543062} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 192938693} + m_Father: {fileID: 2073886672} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1907543064 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1907543062} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Button + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1907543065} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 313474537} + m_TargetAssemblyTypeName: GameManager, Assembly-CSharp + m_MethodName: RestartGame + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1907543065 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1907543062} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1907543066 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1907543062} + m_CullTransparentMesh: 1 +--- !u!114 &1907543067 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1907543062} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b82599e72e3c0b040a9e796f3f6e6d6a, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::RestartTextHandler + restartText: {fileID: 192938697} --- !u!1001 &1911006920 PrefabInstance: m_ObjectHideFlags: 0 @@ -6585,6 +7616,14 @@ PrefabInstance: propertyPath: m_Name value: 'fence ' objectReference: {fileID: 0} + - target: {fileID: 1381541740651274, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1924020786187446, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4115050730990982, guid: 04381a6530534774c82cb9ae85578002, type: 3} propertyPath: m_LocalScale.x value: 1 @@ -6637,6 +7676,18 @@ PrefabInstance: propertyPath: m_ConstrainProportionsScale value: 1 objectReference: {fileID: 0} + - target: {fileID: 1001449962576553473, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2815176284736560012, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6659271590935429390, guid: 04381a6530534774c82cb9ae85578002, type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -6706,6 +7757,143 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 10, y: 4, z: 1} m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &1981028993 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1981028994} + - component: {fileID: 1981028996} + - component: {fileID: 1981028995} + m_Layer: 5 + m_Name: shiledCount + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1981028994 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1981028993} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1386463666} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 200, y: 50} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1981028995 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1981028993} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!222 &1981028996 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1981028993} + m_CullTransparentMesh: 1 --- !u!1001 &1999422577 PrefabInstance: m_ObjectHideFlags: 0 @@ -7083,8 +8271,11 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1031756828} - - {fileID: 192938693} + - {fileID: 1907543063} - {fileID: 800208870} + - {fileID: 1383868532} + - {fileID: 1256235262} + - {fileID: 76053268} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} @@ -7242,6 +8433,107 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &4461394044525941047 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 1907543063} + m_Modifications: + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_SizeDelta.x + value: 160 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_SizeDelta.y + value: 30 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1105074093276737916, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4640640396070775436, guid: e28de7c522da5e54383c603db4b88449, type: 3} + propertyPath: m_Name + value: Gameover Text + objectReference: {fileID: 0} + m_RemovedComponents: + - {fileID: 4946578310072413178, guid: e28de7c522da5e54383c603db4b88449, type: 3} + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 4640640396070775436, guid: e28de7c522da5e54383c603db4b88449, type: 3} + insertIndex: -1 + addedObject: {fileID: 192938697} + m_SourcePrefab: {fileID: 100100000, guid: e28de7c522da5e54383c603db4b88449, type: 3} --- !u!1660057539 &9223372036854775807 SceneRoots: m_ObjectHideFlags: 0 @@ -7255,3 +8547,4 @@ SceneRoots: - {fileID: 313474538} - {fileID: 2136502376} - {fileID: 1332925675} + - {fileID: 918389047} diff --git a/Assets/Scenes/Intro.unity b/Assets/Scenes/Intro.unity index 7be0758..8a0a0a3 100644 --- a/Assets/Scenes/Intro.unity +++ b/Assets/Scenes/Intro.unity @@ -383,6 +383,50 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 515788184} m_CullTransparentMesh: 1 +--- !u!1 &544250150 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 544250152} + - component: {fileID: 544250151} + m_Layer: 0 + m_Name: GameSettings + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &544250151 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 544250150} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 75598ca86eac5ec46a9dcc7713ac9b25, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::GameSettings +--- !u!4 &544250152 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 544250150} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -13.28128, y: -0, z: -0.51173} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &585151269 GameObject: m_ObjectHideFlags: 0 @@ -1093,3 +1137,4 @@ SceneRoots: - {fileID: 845110366} - {fileID: 2015425060} - {fileID: 1386879187} + - {fileID: 544250152} diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity deleted file mode 100644 index 74c10b3..0000000 --- a/Assets/Scenes/SampleScene.unity +++ /dev/null @@ -1,2347 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!29 &1 -OcclusionCullingSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_OcclusionBakeSettings: - smallestOccluder: 5 - smallestHole: 0.25 - backfaceThreshold: 100 - m_SceneGUID: 00000000000000000000000000000000 - m_OcclusionCullingData: {fileID: 0} ---- !u!104 &2 -RenderSettings: - m_ObjectHideFlags: 0 - serializedVersion: 10 - m_Fog: 0 - m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - m_FogMode: 3 - m_FogDensity: 0.01 - m_LinearFogStart: 0 - m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} - m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} - m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} - m_AmbientIntensity: 1 - m_AmbientMode: 0 - m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} - m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} - m_HaloStrength: 0.5 - m_FlareStrength: 1 - m_FlareFadeSpeed: 3 - m_HaloTexture: {fileID: 0} - m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} - m_DefaultReflectionMode: 0 - m_DefaultReflectionResolution: 128 - m_ReflectionBounces: 1 - m_ReflectionIntensity: 1 - m_CustomReflection: {fileID: 0} - m_Sun: {fileID: 0} - m_UseRadianceAmbientProbe: 0 ---- !u!157 &3 -LightmapSettings: - m_ObjectHideFlags: 0 - serializedVersion: 13 - m_BakeOnSceneLoad: 0 - m_GISettings: - serializedVersion: 2 - m_BounceScale: 1 - m_IndirectOutputScale: 1 - m_AlbedoBoost: 1 - m_EnvironmentLightingMode: 0 - m_EnableBakedLightmaps: 1 - m_EnableRealtimeLightmaps: 0 - m_LightmapEditorSettings: - serializedVersion: 12 - m_Resolution: 2 - m_BakeResolution: 40 - m_AtlasSize: 1024 - m_AO: 0 - m_AOMaxDistance: 1 - m_CompAOExponent: 1 - m_CompAOExponentDirect: 0 - m_ExtractAmbientOcclusion: 0 - m_Padding: 2 - m_LightmapParameters: {fileID: 0} - m_LightmapsBakeMode: 1 - m_TextureCompression: 1 - m_ReflectionCompression: 2 - m_MixedBakeMode: 2 - m_BakeBackend: 1 - m_PVRSampling: 1 - m_PVRDirectSampleCount: 32 - m_PVRSampleCount: 512 - m_PVRBounces: 2 - m_PVREnvironmentSampleCount: 256 - m_PVREnvironmentReferencePointCount: 2048 - m_PVRFilteringMode: 1 - m_PVRDenoiserTypeDirect: 1 - m_PVRDenoiserTypeIndirect: 1 - m_PVRDenoiserTypeAO: 1 - m_PVRFilterTypeDirect: 0 - m_PVRFilterTypeIndirect: 0 - m_PVRFilterTypeAO: 0 - m_PVREnvironmentMIS: 1 - m_PVRCulling: 1 - m_PVRFilteringGaussRadiusDirect: 1 - m_PVRFilteringGaussRadiusIndirect: 5 - m_PVRFilteringGaussRadiusAO: 2 - m_PVRFilteringAtrousPositionSigmaDirect: 0.5 - m_PVRFilteringAtrousPositionSigmaIndirect: 2 - m_PVRFilteringAtrousPositionSigmaAO: 1 - m_ExportTrainingData: 0 - m_TrainingDataDestination: TrainingData - m_LightProbeSampleCountMultiplier: 4 - m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0} - m_LightingSettings: {fileID: 0} ---- !u!196 &4 -NavMeshSettings: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_BuildSettings: - serializedVersion: 3 - agentTypeID: 0 - agentRadius: 0.5 - agentHeight: 2 - agentSlope: 45 - agentClimb: 0.4 - ledgeDropHeight: 0 - maxJumpAcrossDistance: 0 - minRegionArea: 2 - manualCellSize: 0 - cellSize: 0.16666667 - manualTileSize: 0 - tileSize: 256 - buildHeightMesh: 0 - maxJobWorkers: 0 - preserveTilesOutsideBounds: 0 - debug: - m_Flags: 0 - m_NavMeshData: {fileID: 0} ---- !u!1 &19639792 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 19639793} - - component: {fileID: 19639794} - m_Layer: 0 - m_Name: Level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &19639793 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 19639792} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1161208317} - - {fileID: 422501125} - - {fileID: 643941741} - - {fileID: 953189640} - - {fileID: 988718162} - - {fileID: 2084076980} - - {fileID: 1166580932} - - {fileID: 1242518661} - - {fileID: 616910290} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &19639794 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 19639792} - m_Enabled: 0 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 69ff7931b6ff8924ba03035fafcc4f0a, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::Rotator - speed: 60 ---- !u!1 &192938692 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 192938693} - - component: {fileID: 192938696} - - component: {fileID: 192938695} - - component: {fileID: 192938694} - m_Layer: 5 - m_Name: Gameover Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &192938693 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 192938692} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 975446302} - m_Father: {fileID: 2073886672} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 160, y: 30} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &192938694 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 192938692} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Shadow - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 1, y: -1} - m_UseGraphicAlpha: 1 ---- !u!114 &192938695 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 192938692} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 42 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 4 - m_MaxSize: 50 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 1 - m_LineSpacing: 1 - m_Text: Press R to Restart ---- !u!222 &192938696 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 192938692} - m_CullTransparentMesh: 1 ---- !u!1 &313474536 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 313474538} - - component: {fileID: 313474537} - m_Layer: 0 - m_Name: GameManager - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &313474537 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 313474536} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 7e4ba2ede7843784fae74f235a66f368, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::GameManager - gameoverText: {fileID: 192938692} - timeText: {fileID: 1031756831} - recordText: {fileID: 975446299} ---- !u!4 &313474538 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 313474536} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 583.2374, y: 496.0872, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &330585543 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 330585546} - - component: {fileID: 330585545} - - component: {fileID: 330585544} - - component: {fileID: 330585547} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &330585544 -AudioListener: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 330585543} - m_Enabled: 1 ---- !u!20 &330585545 -Camera: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 330585543} - m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 2 - m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0} - m_projectionMatrixMode: 1 - m_GateFitMode: 2 - m_FOVAxisMode: 0 - m_Iso: 200 - m_ShutterSpeed: 0.005 - m_Aperture: 16 - m_FocusDistance: 10 - m_FocalLength: 50 - m_BladeCount: 5 - m_Curvature: {x: 2, y: 11} - m_BarrelClipping: 0.25 - m_Anamorphism: 0 - m_SensorSize: {x: 36, y: 24} - m_LensShift: {x: 0, y: 0} - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 0 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 1 - m_AllowMSAA: 1 - m_AllowDynamicResolution: 0 - m_ForceIntoRT: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 ---- !u!4 &330585546 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 330585543} - serializedVersion: 2 - m_LocalRotation: {x: 0.5, y: 0, z: 0, w: 0.8660254} - m_LocalPosition: {x: 0, y: 15, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 60, y: 0, z: 0} ---- !u!114 &330585547 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 330585543} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3} - m_Name: - m_EditorClassIdentifier: - m_RenderShadows: 1 - m_RequiresDepthTextureOption: 2 - m_RequiresOpaqueTextureOption: 2 - m_CameraType: 0 - m_Cameras: [] - m_RendererIndex: -1 - m_VolumeLayerMask: - serializedVersion: 2 - m_Bits: 1 - m_VolumeTrigger: {fileID: 0} - m_VolumeFrameworkUpdateModeOption: 2 - m_RenderPostProcessing: 1 - m_Antialiasing: 0 - m_AntialiasingQuality: 2 - m_StopNaN: 0 - m_Dithering: 0 - m_ClearDepth: 1 - m_AllowXRRendering: 1 - m_AllowHDROutput: 1 - m_UseScreenCoordOverride: 0 - m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0} - m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0} - m_RequiresDepthTexture: 0 - m_RequiresColorTexture: 0 - m_TaaSettings: - m_Quality: 3 - m_FrameInfluence: 0.1 - m_JitterScale: 1 - m_MipBias: 0 - m_VarianceClampScale: 0.9 - m_ContrastAdaptiveSharpening: 0 - m_Version: 2 ---- !u!1001 &376379764 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 19639793} - m_Modifications: - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.z - value: 8 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_Name - value: BulletSpawner (2) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} ---- !u!1 &410087039 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 410087041} - - component: {fileID: 410087040} - - component: {fileID: 410087042} - m_Layer: 0 - m_Name: Directional Light - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!108 &410087040 -Light: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 410087039} - m_Enabled: 1 - serializedVersion: 12 - m_Type: 1 - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_Intensity: 2 - m_Range: 10 - m_SpotAngle: 30 - m_InnerSpotAngle: 21.80208 - m_CookieSize2D: {x: 10, y: 10} - m_Shadows: - m_Type: 2 - m_Resolution: -1 - m_CustomResolution: -1 - m_Strength: 1 - m_Bias: 0.05 - m_NormalBias: 0.4 - m_NearPlane: 0.2 - m_CullingMatrixOverride: - e00: 1 - e01: 0 - e02: 0 - e03: 0 - e10: 0 - e11: 1 - e12: 0 - e13: 0 - e20: 0 - e21: 0 - e22: 1 - e23: 0 - e30: 0 - e31: 0 - e32: 0 - e33: 1 - m_UseCullingMatrixOverride: 0 - m_Cookie: {fileID: 0} - m_DrawHalo: 0 - m_Flare: {fileID: 0} - m_RenderMode: 0 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingLayerMask: 1 - m_Lightmapping: 4 - m_LightShadowCasterMode: 0 - m_AreaSize: {x: 1, y: 1} - m_BounceIntensity: 1 - m_ColorTemperature: 5000 - m_UseColorTemperature: 1 - m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} - m_UseBoundingSphereOverride: 0 - m_UseViewFrustumForShadowCasterCull: 1 - m_ForceVisible: 0 - m_ShadowRadius: 0 - m_ShadowAngle: 0 - m_LightUnit: 1 - m_LuxAtDistance: 1 - m_EnableSpotReflector: 1 ---- !u!4 &410087041 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 410087039} - serializedVersion: 2 - m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} - m_LocalPosition: {x: 0, y: 3, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} ---- !u!114 &410087042 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 410087039} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UsePipelineSettings: 1 - m_AdditionalLightsShadowResolutionTier: 2 - m_CustomShadowLayers: 0 - m_LightCookieSize: {x: 1, y: 1} - m_LightCookieOffset: {x: 0, y: 0} - m_SoftShadowQuality: 1 - m_RenderingLayersMask: - serializedVersion: 0 - m_Bits: 1 - m_ShadowRenderingLayersMask: - serializedVersion: 0 - m_Bits: 1 - m_Version: 4 - m_LightLayerMask: 1 - m_ShadowLayerMask: 1 - m_RenderingLayers: 1 - m_ShadowRenderingLayers: 1 ---- !u!1 &422501124 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 422501125} - - component: {fileID: 422501128} - - component: {fileID: 422501127} - - component: {fileID: 422501126} - m_Layer: 0 - m_Name: Wall (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &422501125 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 422501124} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0.5, z: -10} - m_LocalScale: {x: 21, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 19639793} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!65 &422501126 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 422501124} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 0 - m_ProvidesContacts: 0 - m_Enabled: 1 - serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &422501127 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 422501124} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &422501128 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 422501124} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1001 &429682148 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 19639793} - m_Modifications: - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.z - value: -8 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_Name - value: BulletSpawner (3) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} ---- !u!1 &508955657 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 508955662} - - component: {fileID: 508955661} - - component: {fileID: 508955660} - - component: {fileID: 508955659} - - component: {fileID: 508955658} - - component: {fileID: 508955663} - m_Layer: 0 - m_Name: Player - m_TagString: Player - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!54 &508955658 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 508955657} - serializedVersion: 5 - m_Mass: 1 - m_LinearDamping: 0 - m_AngularDamping: 0.05 - m_CenterOfMass: {x: 0, y: 0, z: 0} - m_InertiaTensor: {x: 1, y: 1, z: 1} - m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ImplicitCom: 1 - m_ImplicitTensor: 1 - m_UseGravity: 1 - m_IsKinematic: 0 - m_Interpolate: 1 - m_Constraints: 84 - m_CollisionDetection: 2 ---- !u!136 &508955659 -CapsuleCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 508955657} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 0 - m_ProvidesContacts: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Radius: 0.5 - m_Height: 2 - m_Direction: 1 - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &508955660 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 508955657} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 72e6e2696ff9e804a8252093da89f99e, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &508955661 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 508955657} - m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &508955662 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 508955657} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 1, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 998623060} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &508955663 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 508955657} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b32f0aba899d4c3419e21f8471a75657, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::PlayerController - speed: 10 - shieldCount: 3 - shieldVisual: {fileID: 998623055} - shieldIcon: {fileID: 800208871} - countText: {fileID: 2041015429} ---- !u!1 &538444312 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 429682148} - m_PrefabAsset: {fileID: 0} ---- !u!4 &616910290 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 429682148} - m_PrefabAsset: {fileID: 0} ---- !u!1 &643941740 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 643941741} - - component: {fileID: 643941744} - - component: {fileID: 643941743} - - component: {fileID: 643941742} - m_Layer: 0 - m_Name: Wall (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &643941741 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 643941740} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 10, y: 0.5, z: 0} - m_LocalScale: {x: 1, y: 1, z: 20} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 19639793} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!65 &643941742 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 643941740} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 0 - m_ProvidesContacts: 0 - m_Enabled: 1 - serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &643941743 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 643941740} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &643941744 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 643941740} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1 &658744476 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 1582102705} - m_PrefabAsset: {fileID: 0} ---- !u!1 &800208869 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 800208870} - - component: {fileID: 800208872} - - component: {fileID: 800208871} - m_Layer: 5 - m_Name: Shiled - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &800208870 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 800208869} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 2041015428} - m_Father: {fileID: 2073886672} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 1, y: 0} ---- !u!114 &800208871 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 800208869} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 5defaa032c8a7484cab0ce3d3e70b7d5, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &800208872 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 800208869} - m_CullTransparentMesh: 1 ---- !u!1 &953189639 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 953189640} - - component: {fileID: 953189643} - - component: {fileID: 953189642} - - component: {fileID: 953189641} - m_Layer: 0 - m_Name: Wall (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &953189640 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 953189639} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -10, y: 0.5, z: 0} - m_LocalScale: {x: 1, y: 1, z: 20} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 19639793} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!65 &953189641 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 953189639} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 0 - m_ProvidesContacts: 0 - m_Enabled: 1 - serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &953189642 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 953189639} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &953189643 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 953189639} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1 &975446298 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 975446302} - - component: {fileID: 975446301} - - component: {fileID: 975446299} - - component: {fileID: 975446300} - m_Layer: 5 - m_Name: Record Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &975446299 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 30 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 0 - m_MaxSize: 50 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 1 - m_LineSpacing: 1 - m_Text: 'Best Record: 0 - -' ---- !u!114 &975446300 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Shadow - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 1, y: -1} - m_UseGraphicAlpha: 1 ---- !u!222 &975446301 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} - m_CullTransparentMesh: 1 ---- !u!224 &975446302 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 975446298} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 192938693} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -40} - m_SizeDelta: {x: 160, y: 30} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1001 &981905871 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 19639793} - m_Modifications: - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.x - value: 8 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_Name - value: BulletSpawner (1) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} ---- !u!1 &988718158 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 988718162} - - component: {fileID: 988718161} - - component: {fileID: 988718160} - - component: {fileID: 988718159} - m_Layer: 0 - m_Name: Plane - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!64 &988718159 -MeshCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 988718158} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 0 - m_ProvidesContacts: 0 - m_Enabled: 1 - serializedVersion: 5 - m_Convex: 0 - m_CookingOptions: 30 - m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &988718160 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 988718158} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 61654c8746626d54490f6b9675f41992, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &988718161 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 988718158} - m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &988718162 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 988718158} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 2, y: 1, z: 2} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 19639793} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &998623055 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 998623060} - - component: {fileID: 998623059} - - component: {fileID: 998623058} - - component: {fileID: 998623057} - - component: {fileID: 998623056} - m_Layer: 0 - m_Name: Shield - m_TagString: Shield - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!114 &998623056 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 998623055} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b8b34afd2b2a4654db4c96d0556032ab, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::Shield ---- !u!135 &998623057 -SphereCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 998623055} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 1 - m_ProvidesContacts: 0 - m_Enabled: 1 - serializedVersion: 3 - m_Radius: 0.5 - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &998623058 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 998623055} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 4189f5dd50557e84daf8e94244364951, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &998623059 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 998623055} - m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &998623060 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 998623055} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.5, y: 2.2, z: 1.5} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 508955662} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1031756827 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1031756828} - - component: {fileID: 1031756830} - - component: {fileID: 1031756831} - - component: {fileID: 1031756829} - m_Layer: 5 - m_Name: Time Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1031756828 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1031756827} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2073886672} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -30} - m_SizeDelta: {x: 160, y: 30} - m_Pivot: {x: 0.5, y: 1} ---- !u!114 &1031756829 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1031756827} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Shadow - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 1, y: -1} - m_UseGraphicAlpha: 1 ---- !u!222 &1031756830 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1031756827} - m_CullTransparentMesh: 1 ---- !u!114 &1031756831 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1031756827} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 42 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 4 - m_MaxSize: 50 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 1 - m_VerticalOverflow: 1 - m_LineSpacing: 1 - m_Text: 'Time: 0' ---- !u!1 &1161208316 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1161208317} - - component: {fileID: 1161208320} - - component: {fileID: 1161208319} - - component: {fileID: 1161208318} - m_Layer: 0 - m_Name: Wall - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1161208317 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1161208316} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0.5, z: 10} - m_LocalScale: {x: 21, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 19639793} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!65 &1161208318 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1161208316} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 0 - m_ProvidesContacts: 0 - m_Enabled: 1 - serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &1161208319 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1161208316} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &1161208320 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1161208316} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &1166580932 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 981905871} - m_PrefabAsset: {fileID: 0} ---- !u!4 &1242518661 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 376379764} - m_PrefabAsset: {fileID: 0} ---- !u!1 &1385256419 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 981905871} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &1582102705 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 19639793} - m_Modifications: - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.x - value: -8 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - propertyPath: m_Name - value: BulletSpawner - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} ---- !u!1 &1613446689 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1613446692} - - component: {fileID: 1613446691} - - component: {fileID: 1613446690} - m_Layer: 0 - m_Name: EventSystem - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1613446690 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1613446689} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3} - m_Name: - m_EditorClassIdentifier: Unity.InputSystem::UnityEngine.InputSystem.UI.InputSystemUIInputModule - m_SendPointerHoverToParent: 1 - m_MoveRepeatDelay: 0.5 - m_MoveRepeatRate: 0.1 - m_XRTrackingOrigin: {fileID: 0} - m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_PointAction: {fileID: -1654692200621890270, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_MoveAction: {fileID: -8784545083839296357, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_SubmitAction: {fileID: 392368643174621059, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_CancelAction: {fileID: 7727032971491509709, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_LeftClickAction: {fileID: 3001919216989983466, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_MiddleClickAction: {fileID: -2185481485913320682, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_RightClickAction: {fileID: -4090225696740746782, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_ScrollWheelAction: {fileID: 6240969308177333660, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_TrackedDevicePositionAction: {fileID: 6564999863303420839, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_TrackedDeviceOrientationAction: {fileID: 7970375526676320489, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} - m_DeselectOnBackgroundClick: 1 - m_PointerBehavior: 0 - m_CursorLockBehavior: 0 - m_ScrollDeltaPerTick: 6 ---- !u!114 &1613446691 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1613446689} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.EventSystems.EventSystem - m_FirstSelected: {fileID: 0} - m_sendNavigationEvents: 1 - m_DragThreshold: 10 ---- !u!4 &1613446692 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1613446689} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1727906447 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 6562069378033042082, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 376379764} - m_PrefabAsset: {fileID: 0} ---- !u!1 &2041015427 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2041015428} - - component: {fileID: 2041015430} - - component: {fileID: 2041015429} - m_Layer: 5 - m_Name: shiledCount - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2041015428 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2041015427} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 800208870} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 200, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &2041015429 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2041015427} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_characterHorizontalScale: 1 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!222 &2041015430 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2041015427} - m_CullTransparentMesh: 1 ---- !u!1 &2073886671 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2073886672} - - component: {fileID: 2073886675} - - component: {fileID: 2073886674} - - component: {fileID: 2073886673} - m_Layer: 5 - m_Name: Canvas - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2073886672 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2073886671} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1031756828} - - {fileID: 192938693} - - {fileID: 800208870} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!114 &2073886673 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2073886671} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.GraphicRaycaster - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!114 &2073886674 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2073886671} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - m_Name: - m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.CanvasScaler - m_UiScaleMode: 0 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 800, y: 600} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 0 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 0 ---- !u!223 &2073886675 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2073886671} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_VertexColorAlwaysGammaSpace: 0 - m_AdditionalShaderChannelsFlag: 25 - m_UpdateRectTransformForStandalone: 0 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!4 &2084076980 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1594548340225132162, guid: 1933bf32c3f69ab478e3aaf5e8704838, type: 3} - m_PrefabInstance: {fileID: 1582102705} - m_PrefabAsset: {fileID: 0} ---- !u!1 &2136502374 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2136502376} - - component: {fileID: 2136502375} - m_Layer: 0 - m_Name: GameStep - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &2136502375 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2136502374} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 2ff2d5d670d73194188e933827e87ceb, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::NewMonoBehaviourScript - spawners: - - {fileID: 658744476} - - {fileID: 1385256419} - - {fileID: 1727906447} - - {fileID: 538444312} - rotator: {fileID: 19639794} ---- !u!4 &2136502376 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2136502374} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1660057539 &9223372036854775807 -SceneRoots: - m_ObjectHideFlags: 0 - m_Roots: - - {fileID: 330585546} - - {fileID: 410087041} - - {fileID: 19639793} - - {fileID: 508955662} - - {fileID: 2073886672} - - {fileID: 1613446692} - - {fileID: 313474538} - - {fileID: 2136502376} diff --git a/Assets/Script/GameManager.cs b/Assets/Script/GameManager.cs index e84986b..59e6528 100644 --- a/Assets/Script/GameManager.cs +++ b/Assets/Script/GameManager.cs @@ -13,10 +13,13 @@ public class GameManager : MonoBehaviour private float surviveTime; private bool isGameover; + public GameObject restartButton; + public void EndGame() { isGameover = true; gameoverText.SetActive(true); + restartButton.SetActive(true); float bestTime = PlayerPrefs.GetFloat("BestTime"); if(surviveTime > bestTime) @@ -26,6 +29,7 @@ public class GameManager : MonoBehaviour } recordText.text = "Best Time: " + (int)bestTime; + } @@ -46,9 +50,15 @@ public class GameManager : MonoBehaviour } else { - if(Input.GetKeyDown(KeyCode.R)) + // 1. PC: R키 + if (Input.GetKeyDown(KeyCode.R)) { - SceneManager.LoadScene("Game"); + RestartGame(); + } + // 2. 모바일/PC: 클릭 또는 터치 (화면 아무데나 눌러도 재시작) + if (Input.GetMouseButtonDown(0)) + { + RestartGame(); } } @@ -58,4 +68,9 @@ public class GameManager : MonoBehaviour { return surviveTime; } + + public void RestartGame() + { + UnityEngine.SceneManagement.SceneManager.LoadScene(1); + } } diff --git a/Assets/Script/GameSettings.cs b/Assets/Script/GameSettings.cs new file mode 100644 index 0000000..d29df94 --- /dev/null +++ b/Assets/Script/GameSettings.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +public class GameSettings : MonoBehaviour +{ + public static bool IsMobile; + + void Awake() + { + IsMobile = Application.isMobilePlatform; + + DontDestroyOnLoad(gameObject); + } +} diff --git a/Assets/Script/GameSettings.cs.meta b/Assets/Script/GameSettings.cs.meta new file mode 100644 index 0000000..987c704 --- /dev/null +++ b/Assets/Script/GameSettings.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75598ca86eac5ec46a9dcc7713ac9b25 \ No newline at end of file diff --git a/Assets/Script/GameStep.cs b/Assets/Script/GameStep.cs index 873c102..422a3f8 100644 --- a/Assets/Script/GameStep.cs +++ b/Assets/Script/GameStep.cs @@ -22,7 +22,7 @@ public class NewMonoBehaviourScript : MonoBehaviour float currentTime = gameManager.GetSurviveTime(); int targetStep = 1; - if (currentTime > 10f) targetStep = 4; + if (currentTime > 30f) targetStep = 4; else if (currentTime > 20f) targetStep = 3; else if (currentTime > 10f) targetStep = 2; else targetStep = 1; diff --git a/Assets/Script/PlatformUIHandler.cs b/Assets/Script/PlatformUIHandler.cs new file mode 100644 index 0000000..e572fe5 --- /dev/null +++ b/Assets/Script/PlatformUIHandler.cs @@ -0,0 +1,17 @@ +using UnityEngine; + +public class PlatformUIHandler : MonoBehaviour +{ + public GameObject joystickUI; // 모바일 조이스틱 오브젝트 + public GameObject buttonUI; // 가상 버튼 오브젝트 + + void Start() + { + // 아까 Intro에서 저장한 값을 확인 + bool isMobile = GameSettings.IsMobile; + + // 모바일이면 켜고, 아니면 끔 + if (joystickUI != null) joystickUI.SetActive(isMobile); + if (buttonUI != null) buttonUI.SetActive(isMobile); + } +} \ No newline at end of file diff --git a/Assets/Script/PlatformUIHandler.cs.meta b/Assets/Script/PlatformUIHandler.cs.meta new file mode 100644 index 0000000..5207798 --- /dev/null +++ b/Assets/Script/PlatformUIHandler.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: feb0dc7f5acf8d04d9aa26416992cb24 \ No newline at end of file diff --git a/Assets/Script/PlayerController.cs b/Assets/Script/PlayerController.cs index 3a9477c..056b8ee 100644 --- a/Assets/Script/PlayerController.cs +++ b/Assets/Script/PlayerController.cs @@ -2,41 +2,61 @@ using TMPro; using System.Collections; using System.Collections.Generic; using UnityEngine; -using UnityEngine.UI; //코드로 ui를 건들기 위해서 임포트 +using UnityEngine.UI; public class PlayerController : MonoBehaviour { private Rigidbody playerRigidbody; public float speed = 8f; - public int shieldCount = 3; //초기 실드 수 - private bool isShieldActive = false; //실드 발동여부 - public GameObject shieldVisual; //하이라이어키 실드 - public Image shieldIcon; // 실드 이미지 아이콘 - public TextMeshProUGUI countText; //글자 + public int shieldCount = 3; + private bool isShieldActive = false; + public GameObject shieldVisual; + public Image shieldIcon; + public TextMeshProUGUI countText; + + // [추가] 조이스틱 연결용 변수 + public VirtualJoystick joystick; public void Die() { gameObject.SetActive(false); - GameManager gm = FindFirstObjectByType(); gm.EndGame(); - } - - // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { playerRigidbody = GetComponent(); - UpdateShieldUI(); //함수발동 + + if (GameSettings.IsMobile) + { + if (shieldIcon != null) shieldIcon.gameObject.SetActive(false); + if (countText != null) countText.gameObject.SetActive(false); + } + else + { + UpdateShieldUI(); + } } - // Update is called once per frame void Update() { - float x = Input.GetAxis("Horizontal"); - float z = Input.GetAxis("Vertical"); + float x = 0; + float z = 0; + + // [수정] 플랫폼에 따라 입력 방식 분기 + if (GameSettings.IsMobile && joystick != null) + { + Vector2 input = joystick.GetInput(); + x = input.x; + z = input.y; + } + else + { + x = Input.GetAxis("Horizontal"); + z = Input.GetAxis("Vertical"); + } float xSpeed = x * speed; float zSpeed = z * speed; @@ -44,21 +64,19 @@ public class PlayerController : MonoBehaviour bool moveInput = (x != 0 || z != 0); Vector3 newVelocity = new Vector3(xSpeed, 0f, zSpeed); - playerRigidbody.linearVelocity = newVelocity; - if(moveInput) + if (moveInput) { Vector3 moveDirection = new Vector3(x, 0f, z); - Quaternion newRotation = Quaternion.LookRotation(moveDirection); - transform.rotation = newRotation; } - if (Input.GetKeyDown(KeyCode.Alpha1) && shieldCount > 0 && !isShieldActive) //1숫자가 눌리고 카운트가 1이상이고 실드가 활동한 상태이면 + // PC일 때만 키보드 실드 입력 허용 + if (!GameSettings.IsMobile && Input.GetKeyDown(KeyCode.Alpha1)) { - StartCoroutine(ActivateShield()); //비동기적으로 함수를 발동하라 + ActivateShieldLogic(); } Animator anim = GetComponentInChildren(); @@ -68,16 +86,22 @@ public class PlayerController : MonoBehaviour } } + public void ActivateShieldLogic() + { + if (shieldCount > 0 && !isShieldActive) + { + StartCoroutine(ActivateShield()); + } + } + void UpdateShieldUI() { - if (countText != null) //텍스트가 비어있지 않다면 + if (countText != null) { - countText.text = shieldCount.ToString(); //실드의 카운트를 문자열로 저장 - + countText.text = shieldCount.ToString(); if (shieldCount <= 0) { - countText.gameObject.SetActive(false); //0이하면 활동에 페일즈를 저장 - + countText.gameObject.SetActive(false); if (shieldIcon != null) { shieldIcon.color = new Color(0.2f, 0.2f, 0.2f, 0.5f); @@ -86,20 +110,15 @@ public class PlayerController : MonoBehaviour } } - IEnumerator ActivateShield() //코루틴 + IEnumerator ActivateShield() { - isShieldActive = true; //실드는 트루로 변경 - shieldCount--; //실드 카운트는 감소 + isShieldActive = true; + shieldCount--; + UpdateShieldUI(); - UpdateShieldUI(); //업데이트 - - if (shieldVisual != null) shieldVisual.SetActive(true); //만약에 실드비주얼이 비어있지 않다면 트루를 저장 - - yield return new WaitForSeconds(2f); // 2초동안만 - - if (shieldVisual != null) shieldVisual.SetActive(false); //만약에 실드비주얼이 비어있지 않다면면 페일즈 - - isShieldActive = false; //실드 페일즈 + if (shieldVisual != null) shieldVisual.SetActive(true); + yield return new WaitForSeconds(2f); + if (shieldVisual != null) shieldVisual.SetActive(false); + isShieldActive = false; } - -} +} \ No newline at end of file diff --git a/Assets/Script/RestartTextHandler.cs b/Assets/Script/RestartTextHandler.cs new file mode 100644 index 0000000..84ac4f7 --- /dev/null +++ b/Assets/Script/RestartTextHandler.cs @@ -0,0 +1,23 @@ +using UnityEngine; +using TMPro; + +public class RestartTextHandler : MonoBehaviour +{ + // [SerializeField]를 쓰면 private이어도 인스펙터 창에 뜹니다! + [SerializeField] private TextMeshProUGUI restartText; + + void OnEnable() + { + // 이제 null 체크를 할 필요도 거의 없습니다. (인스펙터에서 넣을 거니까요) + if (restartText == null) + { + Debug.LogError("인스펙터에 텍스트 오브젝트를 할당해주세요!"); + return; + } + + if (GameSettings.IsMobile) + restartText.text = "Touch the screen to restart"; + else + restartText.text = "Press the R key to restart"; + } +} \ No newline at end of file diff --git a/Assets/Script/RestartTextHandler.cs.meta b/Assets/Script/RestartTextHandler.cs.meta new file mode 100644 index 0000000..b3dbcb3 --- /dev/null +++ b/Assets/Script/RestartTextHandler.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b82599e72e3c0b040a9e796f3f6e6d6a \ No newline at end of file diff --git a/Assets/Settings/Mobile_RPAsset.asset b/Assets/Settings/Mobile_RPAsset.asset index fedee07..ab8cc15 100644 --- a/Assets/Settings/Mobile_RPAsset.asset +++ b/Assets/Settings/Mobile_RPAsset.asset @@ -101,24 +101,24 @@ MonoBehaviour: m_Keys: [] m_Values: m_PrefilteringModeMainLightShadows: 3 - m_PrefilteringModeAdditionalLight: 4 + m_PrefilteringModeAdditionalLight: 3 m_PrefilteringModeAdditionalLightShadows: 0 m_PrefilterXRKeywords: 1 - m_PrefilteringModeForwardPlus: 1 + m_PrefilteringModeForwardPlus: 0 m_PrefilteringModeDeferredRendering: 0 m_PrefilteringModeScreenSpaceOcclusion: 0 m_PrefilterDebugKeywords: 1 m_PrefilterWriteRenderingLayers: 1 m_PrefilterHDROutput: 1 - m_PrefilterAlphaOutput: 0 + m_PrefilterAlphaOutput: 1 m_PrefilterSSAODepthNormals: 1 m_PrefilterSSAOSourceDepthLow: 1 - m_PrefilterSSAOSourceDepthMedium: 0 + m_PrefilterSSAOSourceDepthMedium: 1 m_PrefilterSSAOSourceDepthHigh: 1 - m_PrefilterSSAOInterleaved: 0 + m_PrefilterSSAOInterleaved: 1 m_PrefilterSSAOBlueNoise: 1 m_PrefilterSSAOSampleCountLow: 1 - m_PrefilterSSAOSampleCountMedium: 0 + m_PrefilterSSAOSampleCountMedium: 1 m_PrefilterSSAOSampleCountHigh: 1 m_PrefilterDBufferMRT1: 1 m_PrefilterDBufferMRT2: 1 @@ -128,14 +128,14 @@ MonoBehaviour: m_PrefilterSoftShadowsQualityHigh: 1 m_PrefilterSoftShadows: 0 m_PrefilterScreenCoord: 1 - m_PrefilterScreenSpaceIrradiance: 0 + m_PrefilterScreenSpaceIrradiance: 1 m_PrefilterNativeRenderPass: 1 m_PrefilterUseLegacyLightmaps: 0 - m_PrefilterBicubicLightmapSampling: 0 - m_PrefilterReflectionProbeRotation: 0 + m_PrefilterBicubicLightmapSampling: 1 + m_PrefilterReflectionProbeRotation: 1 m_PrefilterReflectionProbeBlending: 0 m_PrefilterReflectionProbeBoxProjection: 0 - m_PrefilterReflectionProbeAtlas: 0 + m_PrefilterReflectionProbeAtlas: 1 m_ShaderVariantLogLevel: 0 m_ShadowCascades: 0 m_Textures: diff --git a/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset b/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset index 139ffeb..4f14543 100644 --- a/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset +++ b/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset @@ -68,7 +68,20 @@ MonoBehaviour: - rid: 7254242392302419980 - rid: 7254242392302419981 m_RuntimeSettings: - m_List: [] + m_List: + - rid: 6852985685364965378 + - rid: 6852985685364965379 + - rid: 6852985685364965380 + - rid: 6852985685364965381 + - rid: 6852985685364965384 + - rid: 6852985685364965385 + - rid: 6852985685364965392 + - rid: 6852985685364965394 + - rid: 8712630790384254976 + - rid: 7254242392302419973 + - rid: 7254242392302419974 + - rid: 7254242392302419979 + - rid: 7254242392302419981 m_AssetVersion: 10 m_ObsoleteDefaultVolumeProfile: {fileID: 0} m_RenderingLayerNames: diff --git a/Assets/VirtualButtonsForUnity.meta b/Assets/VirtualButtonsForUnity.meta new file mode 100644 index 0000000..8c9e803 --- /dev/null +++ b/Assets/VirtualButtonsForUnity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: da3a31c77d465a64b844f30688e902e1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity.meta new file mode 100644 index 0000000..34787e6 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 19c804e0651ef3d4faa251262cc1c419 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Documentaion.pdf b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Documentaion.pdf new file mode 100644 index 0000000..8fcba19 Binary files /dev/null and b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Documentaion.pdf differ diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Documentaion.pdf.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Documentaion.pdf.meta new file mode 100644 index 0000000..6f0c7d1 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Documentaion.pdf.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 1eed024dba03d489a9ee2efdf40bedf3 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Documentaion.pdf + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples.meta new file mode 100644 index 0000000..16f7443 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 988b6f144aeef158da78b1592333c835 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials.meta new file mode 100644 index 0000000..2b3b641 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 48b1b134b3232bf37b02db6636a501e7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/GroundExample.mat b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/GroundExample.mat new file mode 100644 index 0000000..62562e1 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/GroundExample.mat @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: GroundExample + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0, g: 1, b: 0.00002193451, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/GroundExample.mat.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/GroundExample.mat.meta new file mode 100644 index 0000000..7a00372 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/GroundExample.mat.meta @@ -0,0 +1,15 @@ +fileFormatVersion: 2 +guid: 64f41bdc301540eed95828da77d634f2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/GroundExample.mat + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/PlayerExample.mat b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/PlayerExample.mat new file mode 100644 index 0000000..13653da --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/PlayerExample.mat @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: PlayerExample + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 0, b: 0, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/PlayerExample.mat.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/PlayerExample.mat.meta new file mode 100644 index 0000000..a17adfb --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/PlayerExample.mat.meta @@ -0,0 +1,15 @@ +fileFormatVersion: 2 +guid: b701fc732bfd6e76f8b81a2514e0753f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Materials/PlayerExample.mat + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/SceneExample.unity b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/SceneExample.unity new file mode 100644 index 0000000..d815b3e --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/SceneExample.unity @@ -0,0 +1,1409 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 705507994} + m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 500 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &13552259 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 13552263} + - component: {fileID: 13552262} + - component: {fileID: 13552261} + - component: {fileID: 13552260} + - component: {fileID: 13552264} + - component: {fileID: 13552265} + m_Layer: 0 + m_Name: Player + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!136 &13552260 +CapsuleCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 13552259} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &13552261 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 13552259} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: b701fc732bfd6e76f8b81a2514e0753f, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &13552262 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 13552259} + m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &13552263 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 13552259} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1.43, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!143 &13552264 +CharacterController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 13552259} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Height: 2 + m_Radius: 0.5 + m_SlopeLimit: 45 + m_StepOffset: 0.3 + m_SkinWidth: 0.08 + m_MinMoveDistance: 0.001 + m_Center: {x: 0, y: 0, z: 0} +--- !u!114 &13552265 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 13552259} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 35b8bffd1f618f41a8b05e6dda922bf5, type: 3} + m_Name: + m_EditorClassIdentifier: + playerSpeed: 2 + jumpHeight: 1 + gravityValue: -9.81 +--- !u!1001 &29024151 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1715803629} + m_Modifications: + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169362, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_Name + value: DPad + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169362, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169363, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + propertyPath: dPadControlPath + value: /leftStick + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} +--- !u!1 &431289212 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 431289216} + - component: {fileID: 431289215} + - component: {fileID: 431289214} + - component: {fileID: 431289213} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &431289213 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 431289212} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &431289214 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 431289212} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1920, y: 1080} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0.5 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 0 +--- !u!223 &431289215 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 431289212} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 50 + m_TargetDisplay: 0 +--- !u!224 &431289216 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 431289212} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 1715803629} + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &481707578 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 481707582} + - component: {fileID: 481707581} + - component: {fileID: 481707580} + - component: {fileID: 481707579} + m_Layer: 0 + m_Name: Ground + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!64 &481707579 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 481707578} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 4 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &481707580 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 481707578} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 64f41bdc301540eed95828da77d634f2, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &481707581 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 481707578} + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &481707582 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 481707578} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 5, y: 5, z: 5} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!224 &534296775 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7822831615047169361, guid: 13669504b50c96f3e8e7229e098eff75, type: 3} + m_PrefabInstance: {fileID: 29024151} + m_PrefabAsset: {fileID: 0} +--- !u!1 &643082030 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 643082033} + - component: {fileID: 643082032} + - component: {fileID: 643082031} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &643082031 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 643082030} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3} + m_Name: + m_EditorClassIdentifier: + m_MoveRepeatDelay: 0.5 + m_MoveRepeatRate: 0.1 + m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_PointAction: {fileID: 1054132383583890850, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_MoveAction: {fileID: 3710738434707379630, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_SubmitAction: {fileID: 2064916234097673511, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_CancelAction: {fileID: -1967631576421560919, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_LeftClickAction: {fileID: 8056856818456041789, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_MiddleClickAction: {fileID: 3279352641294131588, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_RightClickAction: {fileID: 3837173908680883260, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_ScrollWheelAction: {fileID: 4502412055082496612, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_TrackedDevicePositionAction: {fileID: 4754684134866288074, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_TrackedDeviceOrientationAction: {fileID: 1025543830046995696, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3} + m_DeselectOnBackgroundClick: 1 + m_PointerBehavior: 0 +--- !u!114 &643082032 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 643082030} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!4 &643082033 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 643082030} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &705507993 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 705507995} + - component: {fileID: 705507994} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &705507994 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 705507993} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 1 + m_Shape: 0 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 1 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &705507995 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 705507993} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1001 &944427065 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1715803629} + m_Modifications: + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_SizeDelta.x + value: 1000 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_SizeDelta.y + value: 970 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362314, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_Name + value: Joystick Fixed + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362314, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362318, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + propertyPath: stickControlPath + value: /leftStick + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} +--- !u!224 &944427066 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7994729574101362313, guid: 032428d81191245d4ae5a23a0a301ae9, type: 3} + m_PrefabInstance: {fileID: 944427065} + m_PrefabAsset: {fileID: 0} +--- !u!1 &963194225 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 963194228} + - component: {fileID: 963194227} + - component: {fileID: 963194226} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &963194226 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 963194225} + m_Enabled: 1 +--- !u!20 &963194227 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 963194225} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &963194228 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 963194225} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1217385717 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1715803629} + m_Modifications: + - target: {fileID: 5255999745547897111, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_text + value: A + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295778, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_Name + value: Button A + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295788, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_ControlPath + value: /buttonSouth + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_Pivot.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMin.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_SizeDelta.x + value: 180 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_SizeDelta.y + value: 180 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchoredPosition.x + value: -120 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_AnchoredPosition.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 275b280c081e3406c94cdb832d875a59, type: 3} +--- !u!224 &1217385718 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 5255999745714295789, guid: 275b280c081e3406c94cdb832d875a59, type: 3} + m_PrefabInstance: {fileID: 1217385717} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1344622040 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1715803629} + m_Modifications: + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169362, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_Name + value: DPadY + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169362, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169363, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + propertyPath: dPadControlPath + value: /leftStick + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 043c5a08fecc491c8951e150ac165122, type: 3} +--- !u!224 &1344622041 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7822831615047169361, guid: 043c5a08fecc491c8951e150ac165122, type: 3} + m_PrefabInstance: {fileID: 1344622040} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1715803628 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1715803629} + m_Layer: 5 + m_Name: VirtualButtons + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1715803629 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1715803628} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 944427066} + - {fileID: 2122120022} + - {fileID: 534296775} + - {fileID: 1934942737} + - {fileID: 1344622041} + - {fileID: 1217385718} + m_Father: {fileID: 431289216} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1001 &1934942736 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1715803629} + m_Modifications: + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169362, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_Name + value: DPadX + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169362, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7822831615047169363, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + propertyPath: dPadControlPath + value: /leftStick + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} +--- !u!224 &1934942737 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7822831615047169361, guid: 0b46c1cd07c060da091ca275d48193ff, type: 3} + m_PrefabInstance: {fileID: 1934942736} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2122120021 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1715803629} + m_Modifications: + - target: {fileID: 4684214475355825702, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: stickControlPath + value: /leftStick + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_SizeDelta.x + value: 1000 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_SizeDelta.y + value: 970 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362314, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_Name + value: Joystick Floating + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362314, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7994729574101362318, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + propertyPath: stickControlPath + value: /leftStick + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} +--- !u!224 &2122120022 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7994729574101362313, guid: efadf30c50b27cd5ca146ec5d01ca2b6, type: 3} + m_PrefabInstance: {fileID: 2122120021} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/SceneExample.unity.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/SceneExample.unity.meta new file mode 100644 index 0000000..2f47d0a --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/SceneExample.unity.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 50ba1c8cfb6422cb8a7ac31ea3227ec8 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/SceneExample.unity + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts.meta new file mode 100644 index 0000000..94e7d14 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bf8d8c4829faeefd0ac3b79aff4941ab +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.cs b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.cs new file mode 100644 index 0000000..4cc3d2c --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.cs @@ -0,0 +1,521 @@ +//------------------------------------------------------------------------------ +// +// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator +// version 1.18.0 +// from Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine.InputSystem; +using UnityEngine.InputSystem.Utilities; + +/// +/// Provides programmatic access to , , and instances defined in asset "Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions". +/// +/// +/// This class is source generated and any manual edits will be discarded if the associated asset is reimported or modified. +/// +/// +/// +/// using namespace UnityEngine; +/// using UnityEngine.InputSystem; +/// +/// // Example of using an InputActionMap named "Player" from a UnityEngine.MonoBehaviour implementing callback interface. +/// public class Example : MonoBehaviour, MyActions.IPlayerActions +/// { +/// private MyActions_Actions m_Actions; // Source code representation of asset. +/// private MyActions_Actions.PlayerActions m_Player; // Source code representation of action map. +/// +/// void Awake() +/// { +/// m_Actions = new MyActions_Actions(); // Create asset object. +/// m_Player = m_Actions.Player; // Extract action map object. +/// m_Player.AddCallbacks(this); // Register callback interface IPlayerActions. +/// } +/// +/// void OnDestroy() +/// { +/// m_Actions.Dispose(); // Destroy asset object. +/// } +/// +/// void OnEnable() +/// { +/// m_Player.Enable(); // Enable all actions within map. +/// } +/// +/// void OnDisable() +/// { +/// m_Player.Disable(); // Disable all actions within map. +/// } +/// +/// #region Interface implementation of MyActions.IPlayerActions +/// +/// // Invoked when "Move" action is either started, performed or canceled. +/// public void OnMove(InputAction.CallbackContext context) +/// { +/// Debug.Log($"OnMove: {context.ReadValue<Vector2>()}"); +/// } +/// +/// // Invoked when "Attack" action is either started, performed or canceled. +/// public void OnAttack(InputAction.CallbackContext context) +/// { +/// Debug.Log($"OnAttack: {context.ReadValue<float>()}"); +/// } +/// +/// #endregion +/// } +/// +/// +public partial class @PlayerActionsExample: IInputActionCollection2, IDisposable +{ + /// + /// Provides access to the underlying asset instance. + /// + public InputActionAsset asset { get; } + + /// + /// Constructs a new instance. + /// + public @PlayerActionsExample() + { + asset = InputActionAsset.FromJson(@"{ + ""version"": 1, + ""name"": ""PlayerActionsExample"", + ""maps"": [ + { + ""name"": ""Player"", + ""id"": ""273f247e-7ede-4607-9179-565ba36b2eeb"", + ""actions"": [ + { + ""name"": ""Move"", + ""type"": ""Value"", + ""id"": ""a6d9108d-0c4f-4263-b8fd-0b1d0a1e7e36"", + ""expectedControlType"": ""Vector2"", + ""processors"": """", + ""interactions"": """", + ""initialStateCheck"": true + }, + { + ""name"": ""Jump"", + ""type"": ""Button"", + ""id"": ""8ca82146-06d5-432f-b24e-18b8860d74c3"", + ""expectedControlType"": ""Button"", + ""processors"": """", + ""interactions"": """", + ""initialStateCheck"": false + }, + { + ""name"": ""Look"", + ""type"": ""PassThrough"", + ""id"": ""537c4a16-362e-4a13-b05d-f70fb76822dd"", + ""expectedControlType"": ""Vector2"", + ""processors"": """", + ""interactions"": """", + ""initialStateCheck"": false + } + ], + ""bindings"": [ + { + ""name"": """", + ""id"": ""87e02e82-8896-4260-9c55-1ac134235353"", + ""path"": ""/leftStick"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": false + }, + { + ""name"": """", + ""id"": ""a03502aa-0696-4d02-a67a-36eac79b57e7"", + ""path"": ""/dpad"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": false + }, + { + ""name"": ""WASD"", + ""id"": ""93633e04-515c-4d1d-8e52-8e119735815f"", + ""path"": ""2DVector"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Move"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""up"", + ""id"": ""03e8e465-1e55-446b-abb4-c301062a0152"", + ""path"": ""/w"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""KeyboardMouse"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""down"", + ""id"": ""80681ded-e958-4815-9f8b-51c4f48daefe"", + ""path"": ""/s"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""KeyboardMouse"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""left"", + ""id"": ""c6badcc4-7422-40be-8725-53dcd2bef7f7"", + ""path"": ""/a"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""KeyboardMouse"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""right"", + ""id"": ""baa6cdfd-4dec-4faa-b882-dcfcbef3321e"", + ""path"": ""/d"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""KeyboardMouse"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": """", + ""id"": ""c603c58c-f370-4351-ab3d-7f98e07efa51"", + ""path"": ""/buttonSouth"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Jump"", + ""isComposite"": false, + ""isPartOfComposite"": false + }, + { + ""name"": """", + ""id"": ""c2721f0b-82a8-4978-8dd4-9670e88134e5"", + ""path"": ""/space"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""KeyboardMouse"", + ""action"": ""Jump"", + ""isComposite"": false, + ""isPartOfComposite"": false + }, + { + ""name"": """", + ""id"": ""5e288ecb-b499-46db-86ff-03d4328b5fbe"", + ""path"": ""/rightStick"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Look"", + ""isComposite"": false, + ""isPartOfComposite"": false + } + ] + } + ], + ""controlSchemes"": [ + { + ""name"": ""Gamepad"", + ""bindingGroup"": ""Gamepad"", + ""devices"": [ + { + ""devicePath"": """", + ""isOptional"": false, + ""isOR"": false + } + ] + }, + { + ""name"": ""KeyboardMouse"", + ""bindingGroup"": ""KeyboardMouse"", + ""devices"": [ + { + ""devicePath"": """", + ""isOptional"": false, + ""isOR"": false + }, + { + ""devicePath"": """", + ""isOptional"": false, + ""isOR"": false + } + ] + } + ] +}"); + // Player + m_Player = asset.FindActionMap("Player", throwIfNotFound: true); + m_Player_Move = m_Player.FindAction("Move", throwIfNotFound: true); + m_Player_Jump = m_Player.FindAction("Jump", throwIfNotFound: true); + m_Player_Look = m_Player.FindAction("Look", throwIfNotFound: true); + } + + ~@PlayerActionsExample() + { + UnityEngine.Debug.Assert(!m_Player.enabled, "This will cause a leak and performance issues, PlayerActionsExample.Player.Disable() has not been called."); + } + + /// + /// Destroys this asset and all associated instances. + /// + public void Dispose() + { + UnityEngine.Object.Destroy(asset); + } + + /// + public InputBinding? bindingMask + { + get => asset.bindingMask; + set => asset.bindingMask = value; + } + + /// + public ReadOnlyArray? devices + { + get => asset.devices; + set => asset.devices = value; + } + + /// + public ReadOnlyArray controlSchemes => asset.controlSchemes; + + /// + public bool Contains(InputAction action) + { + return asset.Contains(action); + } + + /// + public IEnumerator GetEnumerator() + { + return asset.GetEnumerator(); + } + + /// + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + + /// + public void Enable() + { + asset.Enable(); + } + + /// + public void Disable() + { + asset.Disable(); + } + + /// + public IEnumerable bindings => asset.bindings; + + /// + public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false) + { + return asset.FindAction(actionNameOrId, throwIfNotFound); + } + + /// + public int FindBinding(InputBinding bindingMask, out InputAction action) + { + return asset.FindBinding(bindingMask, out action); + } + + // Player + private readonly InputActionMap m_Player; + private List m_PlayerActionsCallbackInterfaces = new List(); + private readonly InputAction m_Player_Move; + private readonly InputAction m_Player_Jump; + private readonly InputAction m_Player_Look; + /// + /// Provides access to input actions defined in input action map "Player". + /// + public struct PlayerActions + { + private @PlayerActionsExample m_Wrapper; + + /// + /// Construct a new instance of the input action map wrapper class. + /// + public PlayerActions(@PlayerActionsExample wrapper) { m_Wrapper = wrapper; } + /// + /// Provides access to the underlying input action "Player/Move". + /// + public InputAction @Move => m_Wrapper.m_Player_Move; + /// + /// Provides access to the underlying input action "Player/Jump". + /// + public InputAction @Jump => m_Wrapper.m_Player_Jump; + /// + /// Provides access to the underlying input action "Player/Look". + /// + public InputAction @Look => m_Wrapper.m_Player_Look; + /// + /// Provides access to the underlying input action map instance. + /// + public InputActionMap Get() { return m_Wrapper.m_Player; } + /// + public void Enable() { Get().Enable(); } + /// + public void Disable() { Get().Disable(); } + /// + public bool enabled => Get().enabled; + /// + /// Implicitly converts an to an instance. + /// + public static implicit operator InputActionMap(PlayerActions set) { return set.Get(); } + /// + /// Adds , and callbacks provided via on all input actions contained in this map. + /// + /// Callback instance. + /// + /// If is null or have already been added this method does nothing. + /// + /// + public void AddCallbacks(IPlayerActions instance) + { + if (instance == null || m_Wrapper.m_PlayerActionsCallbackInterfaces.Contains(instance)) return; + m_Wrapper.m_PlayerActionsCallbackInterfaces.Add(instance); + @Move.started += instance.OnMove; + @Move.performed += instance.OnMove; + @Move.canceled += instance.OnMove; + @Jump.started += instance.OnJump; + @Jump.performed += instance.OnJump; + @Jump.canceled += instance.OnJump; + @Look.started += instance.OnLook; + @Look.performed += instance.OnLook; + @Look.canceled += instance.OnLook; + } + + /// + /// Removes , and callbacks provided via on all input actions contained in this map. + /// + /// + /// Calling this method when have not previously been registered has no side-effects. + /// + /// + private void UnregisterCallbacks(IPlayerActions instance) + { + @Move.started -= instance.OnMove; + @Move.performed -= instance.OnMove; + @Move.canceled -= instance.OnMove; + @Jump.started -= instance.OnJump; + @Jump.performed -= instance.OnJump; + @Jump.canceled -= instance.OnJump; + @Look.started -= instance.OnLook; + @Look.performed -= instance.OnLook; + @Look.canceled -= instance.OnLook; + } + + /// + /// Unregisters and unregisters all input action callbacks via . + /// + /// + public void RemoveCallbacks(IPlayerActions instance) + { + if (m_Wrapper.m_PlayerActionsCallbackInterfaces.Remove(instance)) + UnregisterCallbacks(instance); + } + + /// + /// Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via . + /// + /// + /// If is null, calling this method will only unregister all existing callbacks but not register any new callbacks. + /// + /// + /// + /// + public void SetCallbacks(IPlayerActions instance) + { + foreach (var item in m_Wrapper.m_PlayerActionsCallbackInterfaces) + UnregisterCallbacks(item); + m_Wrapper.m_PlayerActionsCallbackInterfaces.Clear(); + AddCallbacks(instance); + } + } + /// + /// Provides a new instance referencing this action map. + /// + public PlayerActions @Player => new PlayerActions(this); + private int m_GamepadSchemeIndex = -1; + /// + /// Provides access to the input control scheme. + /// + /// + public InputControlScheme GamepadScheme + { + get + { + if (m_GamepadSchemeIndex == -1) m_GamepadSchemeIndex = asset.FindControlSchemeIndex("Gamepad"); + return asset.controlSchemes[m_GamepadSchemeIndex]; + } + } + private int m_KeyboardMouseSchemeIndex = -1; + /// + /// Provides access to the input control scheme. + /// + /// + public InputControlScheme KeyboardMouseScheme + { + get + { + if (m_KeyboardMouseSchemeIndex == -1) m_KeyboardMouseSchemeIndex = asset.FindControlSchemeIndex("KeyboardMouse"); + return asset.controlSchemes[m_KeyboardMouseSchemeIndex]; + } + } + /// + /// Interface to implement callback methods for all input action callbacks associated with input actions defined by "Player" which allows adding and removing callbacks. + /// + /// + /// + public interface IPlayerActions + { + /// + /// Method invoked when associated input action "Move" is either , or . + /// + /// + /// + /// + void OnMove(InputAction.CallbackContext context); + /// + /// Method invoked when associated input action "Jump" is either , or . + /// + /// + /// + /// + void OnJump(InputAction.CallbackContext context); + /// + /// Method invoked when associated input action "Look" is either , or . + /// + /// + /// + /// + void OnLook(InputAction.CallbackContext context); + } +} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.cs.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.cs.meta new file mode 100644 index 0000000..336ef96 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.cs.meta @@ -0,0 +1,18 @@ +fileFormatVersion: 2 +guid: 5b80e1bde9fa840f08829be733e44d78 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.cs + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions new file mode 100644 index 0000000..5bd9b78 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions @@ -0,0 +1,180 @@ +{ + "version": 1, + "name": "PlayerActionsExample", + "maps": [ + { + "name": "Player", + "id": "273f247e-7ede-4607-9179-565ba36b2eeb", + "actions": [ + { + "name": "Move", + "type": "Value", + "id": "a6d9108d-0c4f-4263-b8fd-0b1d0a1e7e36", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": true + }, + { + "name": "Jump", + "type": "Button", + "id": "8ca82146-06d5-432f-b24e-18b8860d74c3", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false + }, + { + "name": "Look", + "type": "PassThrough", + "id": "537c4a16-362e-4a13-b05d-f70fb76822dd", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": false + } + ], + "bindings": [ + { + "name": "", + "id": "87e02e82-8896-4260-9c55-1ac134235353", + "path": "/leftStick", + "interactions": "", + "processors": "", + "groups": "Gamepad", + "action": "Move", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "a03502aa-0696-4d02-a67a-36eac79b57e7", + "path": "/dpad", + "interactions": "", + "processors": "", + "groups": "Gamepad", + "action": "Move", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "WASD", + "id": "93633e04-515c-4d1d-8e52-8e119735815f", + "path": "2DVector", + "interactions": "", + "processors": "", + "groups": "", + "action": "Move", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "up", + "id": "03e8e465-1e55-446b-abb4-c301062a0152", + "path": "/w", + "interactions": "", + "processors": "", + "groups": "KeyboardMouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "80681ded-e958-4815-9f8b-51c4f48daefe", + "path": "/s", + "interactions": "", + "processors": "", + "groups": "KeyboardMouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "c6badcc4-7422-40be-8725-53dcd2bef7f7", + "path": "/a", + "interactions": "", + "processors": "", + "groups": "KeyboardMouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "baa6cdfd-4dec-4faa-b882-dcfcbef3321e", + "path": "/d", + "interactions": "", + "processors": "", + "groups": "KeyboardMouse", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "", + "id": "c603c58c-f370-4351-ab3d-7f98e07efa51", + "path": "/buttonSouth", + "interactions": "", + "processors": "", + "groups": "Gamepad", + "action": "Jump", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "c2721f0b-82a8-4978-8dd4-9670e88134e5", + "path": "/space", + "interactions": "", + "processors": "", + "groups": "KeyboardMouse", + "action": "Jump", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "5e288ecb-b499-46db-86ff-03d4328b5fbe", + "path": "/rightStick", + "interactions": "", + "processors": "", + "groups": "Gamepad", + "action": "Look", + "isComposite": false, + "isPartOfComposite": false + } + ] + } + ], + "controlSchemes": [ + { + "name": "Gamepad", + "bindingGroup": "Gamepad", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + }, + { + "name": "KeyboardMouse", + "bindingGroup": "KeyboardMouse", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + }, + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + } + ] +} \ No newline at end of file diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions.meta new file mode 100644 index 0000000..0e3401a --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions.meta @@ -0,0 +1,21 @@ +fileFormatVersion: 2 +guid: fb82ed5b27fefcf5ca931ab7256e6b51 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 8404be70184654265930450def6a9037, type: 3} + generateWrapperCode: 1 + wrapperCodePath: ./PlayerActionsExample.cs + wrapperClassName: PlayerActionsExample + wrapperCodeNamespace: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerActionsExample.inputactions + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerControllerExample.cs b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerControllerExample.cs new file mode 100644 index 0000000..3d1807f --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerControllerExample.cs @@ -0,0 +1,62 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.InputSystem; + +public class PlayerControllerExample : MonoBehaviour +{ + + [SerializeField] private float playerSpeed = 2.0f; + [SerializeField] private float jumpHeight = 1.0f; + [SerializeField] private float gravityValue = -9.81f; + + protected CharacterController controller; + protected PlayerActionsExample playerInput; + private Vector3 playerVelocity; + private bool groundedPlayer; + + private void Awake() + { + controller = GetComponent(); + playerInput = new PlayerActionsExample(); + } + + private void Update() + { + groundedPlayer = controller.isGrounded; + if (groundedPlayer && playerVelocity.y < 0) + { + playerVelocity.y = 0f; + } + + Vector2 movement = playerInput.Player.Move.ReadValue(); + Vector3 move = new Vector3(movement.x, 0, movement.y); + controller.Move(move * Time.deltaTime * playerSpeed); + + if (move != Vector3.zero) + { + gameObject.transform.forward = move; + } + + // bool jumpPress = playerInput.Player.Jump.IsPressed(); + bool jumpPress = playerInput.Player.Jump.triggered; + if (jumpPress && groundedPlayer) + { + playerVelocity.y += Mathf.Sqrt(jumpHeight * -3.0f * gravityValue); + } + + playerVelocity.y += gravityValue * Time.deltaTime; + controller.Move(playerVelocity * Time.deltaTime); + } + + private void OnEnable() + { + playerInput.Enable(); + } + + private void OnDisable() + { + playerInput.Disable(); + } + +} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerControllerExample.cs.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerControllerExample.cs.meta new file mode 100644 index 0000000..0891f87 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerControllerExample.cs.meta @@ -0,0 +1,18 @@ +fileFormatVersion: 2 +guid: 35b8bffd1f618f41a8b05e6dda922bf5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/PlayerControllerExample.cs + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/VirtualButtonsExamplesScripts.asmref b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/VirtualButtonsExamplesScripts.asmref new file mode 100644 index 0000000..cb3c3bb --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/VirtualButtonsExamplesScripts.asmref @@ -0,0 +1,3 @@ +{ + "reference": "GUID:8b98e6aa87e2353b59a8ef18a76c8fb0" +} \ No newline at end of file diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/VirtualButtonsExamplesScripts.asmref.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/VirtualButtonsExamplesScripts.asmref.meta new file mode 100644 index 0000000..1ba9455 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/VirtualButtonsExamplesScripts.asmref.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 77089f22a3b6a36d3936a3eb16cb2246 +AssemblyDefinitionReferenceImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Examples/Scripts/VirtualButtonsExamplesScripts.asmref + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs.meta new file mode 100644 index 0000000..8829f4d --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 75b8730deb8448def9274305be49c3fe +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Button.prefab b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Button.prefab new file mode 100644 index 0000000..240b4fa --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Button.prefab @@ -0,0 +1,241 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &5255999745547897109 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5255999745547897108} + - component: {fileID: 5255999745547897110} + - component: {fileID: 5255999745547897111} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5255999745547897108 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745547897109} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 5255999745714295789} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -24.395752, y: -24.395699} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5255999745547897110 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745547897109} + m_CullTransparentMesh: 0 +--- !u!114 &5255999745547897111 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745547897109} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: N + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8a89fa14b10d46a99122fd4f73fca9a2, type: 2} + m_sharedMaterial: {fileID: 2140474, guid: 8a89fa14b10d46a99122fd4f73fca9a2, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 100 + m_fontSizeBase: 80 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 18 + m_fontSizeMax: 100 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5255999745714295778 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5255999745714295789} + - component: {fileID: 5255999745714295785} + - component: {fileID: 5255999745714295790} + - component: {fileID: 5255999745714295788} + - component: {fileID: 9172598602197683105} + m_Layer: 5 + m_Name: Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5255999745714295789 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745714295778} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 5255999745547897108} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 180, y: 180} + m_Pivot: {x: 1, y: 0} +--- !u!222 &5255999745714295785 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745714295778} + m_CullTransparentMesh: 0 +--- !u!114 &5255999745714295790 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745714295778} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 0292bb946198207e9b17503e15966465, type: 3} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5255999745714295788 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745714295778} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6d54531977ecb194c95e2d3aa7a5d72a, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ControlPath: +--- !u!114 &9172598602197683105 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5255999745714295778} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ed2f7e1ca694477a5a5f9f0d35c6d395, type: 3} + m_Name: + m_EditorClassIdentifier: + rotationLimit: 40 + rotationSpeed: 15 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Button.prefab.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Button.prefab.meta new file mode 100644 index 0000000..ca23b6b --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Button.prefab.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 275b280c081e3406c94cdb832d875a59 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Button.prefab + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPad.prefab b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPad.prefab new file mode 100644 index 0000000..0290ef0 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPad.prefab @@ -0,0 +1,210 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7822831614871332094 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831614871332093} + - component: {fileID: 7822831614871332082} + - component: {fileID: 7822831614871332083} + m_Layer: 5 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831614871332093 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 7822831615438760422} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 256, y: 256} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7822831614871332082 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_CullTransparentMesh: 0 +--- !u!114 &7822831614871332083 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: a94e22f504b6549b4b99a471ca0e1d14, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &7822831615047169362 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831615047169361} + - component: {fileID: 7822831615047169367} + - component: {fileID: 7822831615047169360} + - component: {fileID: 7822831615047169363} + m_Layer: 5 + m_Name: DPad + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831615047169361 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7822831615438760422} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!222 &7822831615047169367 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_CullTransparentMesh: 0 +--- !u!114 &7822831615047169360 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7822831615047169363 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a412b7ad262882a48bb3cdbb170e2f0, type: 3} + m_Name: + m_EditorClassIdentifier: + centerArea: {fileID: 7822831615438760422} + handle: {fileID: 7822831614871332093} + direction: 0 + dPadControlPath: + movementRange: 10 + moveThreshold: 0 + uiMovementRange: 10 + forceIntValue: 1 +--- !u!1 &7822831615438760423 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831615438760422} + m_Layer: 5 + m_Name: Center + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831615438760422 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615438760423} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7822831614871332093} + m_Father: {fileID: 7822831615047169361} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 300, y: 228} + m_SizeDelta: {x: 256, y: 256} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPad.prefab.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPad.prefab.meta new file mode 100644 index 0000000..537d5b7 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPad.prefab.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 13669504b50c96f3e8e7229e098eff75 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPad.prefab + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadX.prefab b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadX.prefab new file mode 100644 index 0000000..8a68843 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadX.prefab @@ -0,0 +1,210 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7822831614871332094 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831614871332093} + - component: {fileID: 7822831614871332082} + - component: {fileID: 7822831614871332083} + m_Layer: 5 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831614871332093 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 7822831615438760422} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 400, y: 180} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7822831614871332082 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_CullTransparentMesh: 0 +--- !u!114 &7822831614871332083 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: d3fd5bb7b3dd860a8948182a7ce8bba8, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &7822831615047169362 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831615047169361} + - component: {fileID: 7822831615047169367} + - component: {fileID: 7822831615047169360} + - component: {fileID: 7822831615047169363} + m_Layer: 5 + m_Name: DPadX + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831615047169361 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7822831615438760422} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!222 &7822831615047169367 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_CullTransparentMesh: 0 +--- !u!114 &7822831615047169360 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7822831615047169363 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a412b7ad262882a48bb3cdbb170e2f0, type: 3} + m_Name: + m_EditorClassIdentifier: + centerArea: {fileID: 7822831615438760422} + handle: {fileID: 7822831614871332093} + direction: 1 + dPadControlPath: + movementRange: 10 + moveThreshold: 0 + uiMovementRange: 10 + forceIntValue: 1 +--- !u!1 &7822831615438760423 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831615438760422} + m_Layer: 5 + m_Name: Center + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831615438760422 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615438760423} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7822831614871332093} + m_Father: {fileID: 7822831615047169361} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 325, y: 180} + m_SizeDelta: {x: 400, y: 180} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadX.prefab.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadX.prefab.meta new file mode 100644 index 0000000..9b1078a --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadX.prefab.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 0b46c1cd07c060da091ca275d48193ff +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadX.prefab + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadY.prefab b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadY.prefab new file mode 100644 index 0000000..eb15e17 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadY.prefab @@ -0,0 +1,210 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7822831614871332094 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831614871332093} + - component: {fileID: 7822831614871332082} + - component: {fileID: 7822831614871332083} + m_Layer: 5 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831614871332093 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 7822831615438760422} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 115, y: 256} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7822831614871332082 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_CullTransparentMesh: 0 +--- !u!114 &7822831614871332083 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831614871332094} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 7511b9f86b8092342a3d62fb936c51c1, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &7822831615047169362 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831615047169361} + - component: {fileID: 7822831615047169367} + - component: {fileID: 7822831615047169360} + - component: {fileID: 7822831615047169363} + m_Layer: 5 + m_Name: DPadY + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831615047169361 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7822831615438760422} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!222 &7822831615047169367 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_CullTransparentMesh: 0 +--- !u!114 &7822831615047169360 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7822831615047169363 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615047169362} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a412b7ad262882a48bb3cdbb170e2f0, type: 3} + m_Name: + m_EditorClassIdentifier: + centerArea: {fileID: 7822831615438760422} + handle: {fileID: 7822831614871332093} + direction: 2 + dPadControlPath: + movementRange: 10 + moveThreshold: 0 + uiMovementRange: 10 + forceIntValue: 1 +--- !u!1 &7822831615438760423 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7822831615438760422} + m_Layer: 5 + m_Name: Center + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7822831615438760422 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7822831615438760423} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7822831614871332093} + m_Father: {fileID: 7822831615047169361} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 256, y: 228} + m_SizeDelta: {x: 115, y: 256} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadY.prefab.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadY.prefab.meta new file mode 100644 index 0000000..a7edf95 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadY.prefab.meta @@ -0,0 +1,14 @@ +fileFormatVersion: 2 +guid: 043c5a08fecc491c8951e150ac165122 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/DPadY.prefab + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Fixed.prefab b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Fixed.prefab new file mode 100644 index 0000000..178dc2b --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Fixed.prefab @@ -0,0 +1,259 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7994729573854476863 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7994729573854476862} + - component: {fileID: 7994729573854476835} + - component: {fileID: 7994729573854476860} + - component: {fileID: 4919564186449556267} + m_Layer: 5 + m_Name: Center + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7994729573854476862 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7994729574394115877} + m_Father: {fileID: 7994729574101362313} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 300, y: 228} + m_SizeDelta: {x: 256, y: 256} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7994729573854476835 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_CullTransparentMesh: 0 +--- !u!114 &7994729573854476860 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 83adf99002fa21b9f8602d8d97948c61, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!225 &4919564186449556267 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!1 &7994729574101362314 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7994729574101362313} + - component: {fileID: 7994729574101362319} + - component: {fileID: 7994729574101362312} + - component: {fileID: 7994729574101362318} + m_Layer: 5 + m_Name: Joystick Fixed + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7994729574101362313 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7994729573854476862} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 1000, y: 970} + m_Pivot: {x: 0, y: 0} +--- !u!222 &7994729574101362319 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_CullTransparentMesh: 0 +--- !u!114 &7994729574101362312 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7994729574101362318 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2054e083065b45bd59e2feb7c28e6840, type: 3} + m_Name: + m_EditorClassIdentifier: + centerArea: {fileID: 7994729573854476862} + handle: {fileID: 7994729574394115877} + stickControlPath: + movementRange: 100 +--- !u!1 &7994729574394115878 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7994729574394115877} + - component: {fileID: 7994729574394115882} + - component: {fileID: 7994729574394115883} + m_Layer: 5 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7994729574394115877 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574394115878} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 7994729573854476862} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 128, y: 128} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7994729574394115882 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574394115878} + m_CullTransparentMesh: 0 +--- !u!114 &7994729574394115883 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574394115878} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 098b426cb73dd953886efddf38416b89, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Fixed.prefab.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Fixed.prefab.meta new file mode 100644 index 0000000..aa59645 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Fixed.prefab.meta @@ -0,0 +1,15 @@ +fileFormatVersion: 2 +guid: 032428d81191245d4ae5a23a0a301ae9 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick + Fixed.prefab + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Floating.prefab b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Floating.prefab new file mode 100644 index 0000000..246610e --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Floating.prefab @@ -0,0 +1,261 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7994729573854476863 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7994729573854476862} + - component: {fileID: 7994729573854476835} + - component: {fileID: 7994729573854476860} + - component: {fileID: 3594876278805702869} + m_Layer: 5 + m_Name: Center + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7994729573854476862 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7994729574394115877} + m_Father: {fileID: 7994729574101362313} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 300, y: 228} + m_SizeDelta: {x: 256, y: 256} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7994729573854476835 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_CullTransparentMesh: 0 +--- !u!114 &7994729573854476860 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 83adf99002fa21b9f8602d8d97948c61, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!225 &3594876278805702869 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729573854476863} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!1 &7994729574101362314 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7994729574101362313} + - component: {fileID: 7994729574101362319} + - component: {fileID: 7994729574101362312} + - component: {fileID: 4684214475355825702} + m_Layer: 5 + m_Name: Joystick Floating + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7994729574101362313 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 7994729573854476862} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 1000, y: 970} + m_Pivot: {x: 0, y: 0} +--- !u!222 &7994729574101362319 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_CullTransparentMesh: 0 +--- !u!114 &7994729574101362312 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &4684214475355825702 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574101362314} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 54ae418ed01fd513d96455d6356e49bc, type: 3} + m_Name: + m_EditorClassIdentifier: + centerArea: {fileID: 7994729573854476862} + handle: {fileID: 7994729574394115877} + stickControlPath: + movementRange: 100 + hideOnPointerUp: 0 + centralizeOnPointerUp: 1 +--- !u!1 &7994729574394115878 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7994729574394115877} + - component: {fileID: 7994729574394115882} + - component: {fileID: 7994729574394115883} + m_Layer: 5 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7994729574394115877 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574394115878} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 7994729573854476862} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 128, y: 128} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7994729574394115882 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574394115878} + m_CullTransparentMesh: 0 +--- !u!114 &7994729574394115883 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7994729574394115878} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 098b426cb73dd953886efddf38416b89, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Floating.prefab.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Floating.prefab.meta new file mode 100644 index 0000000..a6cb78b --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick Floating.prefab.meta @@ -0,0 +1,15 @@ +fileFormatVersion: 2 +guid: efadf30c50b27cd5ca146ec5d01ca2b6 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Prefabs/Joystick + Floating.prefab + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts.meta new file mode 100644 index 0000000..477ba5b --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 70e97a3ea05a0612fa7800b1126d8e56 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualButton.cs b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualButton.cs new file mode 100644 index 0000000..bec739b --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualButton.cs @@ -0,0 +1,39 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.Events; +using UnityEngine.EventSystems; + +public class VirtualButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandler +{ + + [SerializeField] private float rotationLimit = 40; + [SerializeField] private float rotationSpeed = 15; + + public UnityEvent onClick; + + private bool rotate = false; + + void FixedUpdate() + { + float targetRotate = rotate ? rotationLimit : 0f; + + // Rotate the cube by converting the angles into a quaternion. + Quaternion target = Quaternion.Euler(targetRotate, 0, 0); + + // Dampen towards the target rotation + transform.rotation = Quaternion.Slerp(transform.rotation, target, Time.deltaTime * rotationSpeed); + } + + public void OnPointerDown(PointerEventData pointerEventData) + { + rotate = true; + + onClick?.Invoke(); + } + + public void OnPointerUp(PointerEventData pointerEventData) + { + rotate = false; + } +} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualButton.cs.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualButton.cs.meta new file mode 100644 index 0000000..155adaf --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualButton.cs.meta @@ -0,0 +1,18 @@ +fileFormatVersion: 2 +guid: ed2f7e1ca694477a5a5f9f0d35c6d395 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualButton.cs + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualDPad.cs b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualDPad.cs new file mode 100644 index 0000000..e2af5ee --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualDPad.cs @@ -0,0 +1,103 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.EventSystems; +using UnityEngine.InputSystem.Layouts; +using UnityEngine.InputSystem.OnScreen; +using UnityEngine.UI; + +public enum VirtualDPadDirection { Both, Horizontal, Vertical } + +public class VirtualDPad : OnScreenControl, IPointerDownHandler, IPointerUpHandler, IDragHandler +{ + [SerializeField] private RectTransform centerArea = null; + [SerializeField] private RectTransform handle = null; + [SerializeField] private VirtualDPadDirection direction = VirtualDPadDirection.Both; + [InputControl(layout = "Vector2")] + [SerializeField] private string dPadControlPath; + [SerializeField] private float movementRange = 10f; + [SerializeField] private float moveThreshold = 0f; + [SerializeField] private float uiMovementRange = 10f; + [SerializeField] private bool forceIntValue = true; + + private Vector3 startPos; + + protected override string controlPathInternal + { + get => dPadControlPath; + set => dPadControlPath = value; + } + + private void Awake() + { + if (centerArea == null) + centerArea = GetComponent(); + + Vector2 center = new Vector2(0.5f, 0.5f); + centerArea.pivot = center; + handle.anchorMin = center; + handle.anchorMax = center; + handle.pivot = center; + handle.anchoredPosition = Vector2.zero; + } + + private void Start() + { + startPos = handle.anchoredPosition; + } + + public void OnPointerDown(PointerEventData eventData) + { + if (eventData == null) + throw new System.ArgumentNullException(nameof(eventData)); + + OnDrag(eventData); + } + + public void OnDrag(PointerEventData eventData) + { + if (eventData == null) + throw new System.ArgumentNullException(nameof(eventData)); + + RectTransformUtility.ScreenPointToLocalPointInRectangle(handle.parent.GetComponentInParent(), eventData.position, eventData.pressEventCamera, out var position); + Vector2 delta = position; + + if (direction == VirtualDPadDirection.Horizontal) delta.y = 0; + else if (direction == VirtualDPadDirection.Vertical) delta.x = 0; + + Vector2 buttonDelta = Vector2.ClampMagnitude(delta, uiMovementRange); + handle.anchoredPosition = startPos + (Vector3)buttonDelta; + + Vector2 newPos = SanitizePosition(delta); + SendValueToControl(newPos); + } + + public void OnPointerUp(PointerEventData eventData) + { + handle.anchoredPosition = startPos; + SendValueToControl(Vector2.zero); + } + + private Vector2 SanitizePosition(Vector2 pos) + { + pos = Vector2.ClampMagnitude(pos, movementRange); + + float minMovementRange = this.moveThreshold > movementRange ? movementRange : this.moveThreshold; + if (pos.x < minMovementRange && pos.x > (minMovementRange * -1)) pos.x = 0; + if (pos.y < minMovementRange && pos.y > (minMovementRange * -1)) pos.y = 0; + + pos = new Vector2(pos.x / movementRange, pos.y / movementRange); + + if (forceIntValue) + { + if (pos.x < 0) pos.x = -1; + else if (pos.x > 0) pos.x = 1; + + if (pos.y < 0) pos.y = -1; + else if (pos.y > 0) pos.y = 1; + } + + return pos; + } + +} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualDPad.cs.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualDPad.cs.meta new file mode 100644 index 0000000..4875b70 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualDPad.cs.meta @@ -0,0 +1,18 @@ +fileFormatVersion: 2 +guid: 8a412b7ad262882a48bb3cdbb170e2f0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualDPad.cs + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystick.cs b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystick.cs new file mode 100644 index 0000000..8aa8c70 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystick.cs @@ -0,0 +1,123 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.EventSystems; +using UnityEngine.InputSystem.Layouts; +using UnityEngine.InputSystem.OnScreen; +using UnityEngine.UI; + +public enum VirtualJoystickType { Fixed, Floating } + +public class VirtualJoystick : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IDragHandler +{ + + [SerializeField] private RectTransform centerArea = null; + [SerializeField] private RectTransform handle = null; + [InputControl(layout = "Vector2")] + [SerializeField] private string stickControlPath; + [SerializeField] private float movementRange = 100f; + + protected VirtualJoystickType joystickType = VirtualJoystickType.Fixed; + protected bool _hideOnPointerUp = false; + protected bool _centralizeOnPointerUp = true; + private Canvas canvas; + protected RectTransform baseRect = null; + protected OnScreenStick handleStickController = null; + protected CanvasGroup bgCanvasGroup = null; + protected Vector2 initialPosition = Vector2.zero; + + protected virtual void Awake() + { + canvas = GetComponentInParent(); + baseRect = GetComponent(); + bgCanvasGroup = centerArea.GetComponent(); + handleStickController = handle.gameObject.AddComponent(); + handleStickController.movementRange = movementRange; + handleStickController.controlPath = stickControlPath; + + Vector2 center = new Vector2(0.5f, 0.5f); + centerArea.pivot = center; + handle.anchorMin = center; + handle.anchorMax = center; + handle.pivot = center; + handle.anchoredPosition = Vector2.zero; + + initialPosition = centerArea.anchoredPosition; + + if (joystickType == VirtualJoystickType.Fixed) + { + centerArea.anchoredPosition = initialPosition; + bgCanvasGroup.alpha = 1; + } + else if (joystickType == VirtualJoystickType.Floating) + { + if (_hideOnPointerUp) bgCanvasGroup.alpha = 0; + else bgCanvasGroup.alpha = 1; + } + } + + public void OnPointerDown(PointerEventData eventData) + { + PointerEventData constructedEventData = new PointerEventData(EventSystem.current); + constructedEventData.position = handle.position; + handleStickController.OnPointerDown(constructedEventData); + + if (joystickType == VirtualJoystickType.Floating) + { + centerArea.anchoredPosition = GetAnchoredPosition(eventData.position); + + if (_hideOnPointerUp) + bgCanvasGroup.alpha = 1; + } + } + + public void OnDrag(PointerEventData eventData) + { + if (joystickType == VirtualJoystickType.Floating) + { + handleStickController.OnDrag(eventData); + } + } + + public void OnPointerUp(PointerEventData eventData) + { + if (joystickType == VirtualJoystickType.Floating) + { + if (_centralizeOnPointerUp) + centerArea.anchoredPosition = initialPosition; + + if (_hideOnPointerUp) bgCanvasGroup.alpha = 0; + else bgCanvasGroup.alpha = 1; + } + + PointerEventData constructedEventData = new PointerEventData(EventSystem.current); + constructedEventData.position = Vector2.zero; + + handleStickController.OnPointerUp(constructedEventData); + } + + protected Vector2 GetAnchoredPosition(Vector2 screenPosition) + { + Camera cam = (canvas.renderMode == RenderMode.ScreenSpaceCamera) ? canvas.worldCamera : null; + Vector2 localPoint = Vector2.zero; + + if (RectTransformUtility.ScreenPointToLocalPointInRectangle(baseRect, screenPosition, cam, out localPoint)) + { + Vector2 pivotOffset = baseRect.pivot * baseRect.sizeDelta; + return localPoint - (centerArea.anchorMax * baseRect.sizeDelta) + pivotOffset; + } + + return Vector2.zero; + } + + public Vector2 GetInput() + { + + if (handle != null && movementRange != 0) + { + return handle.anchoredPosition / movementRange; + } + return Vector2.zero; + } + +} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystick.cs.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystick.cs.meta new file mode 100644 index 0000000..92b6e00 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystick.cs.meta @@ -0,0 +1,18 @@ +fileFormatVersion: 2 +guid: 2054e083065b45bd59e2feb7c28e6840 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystick.cs + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystickFloating.cs b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystickFloating.cs new file mode 100644 index 0000000..8c4e2f4 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystickFloating.cs @@ -0,0 +1,20 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class VirtualJoystickFloating : VirtualJoystick +{ + + [SerializeField] private bool hideOnPointerUp = false; + [SerializeField] private bool centralizeOnPointerUp = true; + + protected override void Awake() + { + joystickType = VirtualJoystickType.Floating; + _hideOnPointerUp = hideOnPointerUp; + _centralizeOnPointerUp = centralizeOnPointerUp; + + base.Awake(); + } + +} diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystickFloating.cs.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystickFloating.cs.meta new file mode 100644 index 0000000..bc18850 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystickFloating.cs.meta @@ -0,0 +1,18 @@ +fileFormatVersion: 2 +guid: 54ae418ed01fd513d96455d6356e49bc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Scripts/VirtualJoystickFloating.cs + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites.meta new file mode 100644 index 0000000..a2e961d --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 36dcf22b21a1b3e5680e208533864247 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle-border.png b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle-border.png new file mode 100644 index 0000000..76b7842 Binary files /dev/null and b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle-border.png differ diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle-border.png.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle-border.png.meta new file mode 100644 index 0000000..368cac0 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle-border.png.meta @@ -0,0 +1,151 @@ +fileFormatVersion: 2 +guid: 0292bb946198207e9b17503e15966465 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 0 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 190, y: 190, z: 190, w: 190} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle-border.png + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle.png b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle.png new file mode 100644 index 0000000..fd23a16 Binary files /dev/null and b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle.png differ diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle.png.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle.png.meta new file mode 100644 index 0000000..5679d92 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle.png.meta @@ -0,0 +1,151 @@ +fileFormatVersion: 2 +guid: 098b426cb73dd953886efddf38416b89 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/circle.png + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-x.png b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-x.png new file mode 100644 index 0000000..d57b6f6 Binary files /dev/null and b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-x.png differ diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-x.png.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-x.png.meta new file mode 100644 index 0000000..facdbf7 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-x.png.meta @@ -0,0 +1,151 @@ +fileFormatVersion: 2 +guid: d3fd5bb7b3dd860a8948182a7ce8bba8 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-x.png + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-y.png b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-y.png new file mode 100644 index 0000000..dadfe12 Binary files /dev/null and b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-y.png differ diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-y.png.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-y.png.meta new file mode 100644 index 0000000..462d63e --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-y.png.meta @@ -0,0 +1,151 @@ +fileFormatVersion: 2 +guid: 7511b9f86b8092342a3d62fb936c51c1 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional-y.png + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional.png b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional.png new file mode 100644 index 0000000..9e054e9 Binary files /dev/null and b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional.png differ diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional.png.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional.png.meta new file mode 100644 index 0000000..94a29ec --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional.png.meta @@ -0,0 +1,151 @@ +fileFormatVersion: 2 +guid: a94e22f504b6549b4b99a471ca0e1d14 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/directional.png + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/joystick.png b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/joystick.png new file mode 100644 index 0000000..285314f Binary files /dev/null and b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/joystick.png differ diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/joystick.png.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/joystick.png.meta new file mode 100644 index 0000000..7e806ba --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/joystick.png.meta @@ -0,0 +1,151 @@ +fileFormatVersion: 2 +guid: 83adf99002fa21b9f8602d8d97948c61 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/Sprites/joystick.png + uploadId: 445799 diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/package.json b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/package.json new file mode 100644 index 0000000..4436ce9 --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/package.json @@ -0,0 +1,27 @@ +{ + "name": "com.cyberghostgames.virtualbuttons", + "displayName": "VirtualButtonsForUnity", + "version": "1.0.0", + "unity": "2021.1", + "description": "Prefabs to help create touch buttons with the new input system.", + "author": { + "name": "Jo\u00e3o Henrique", + "email": "joao_henriquee@outlook.com" + }, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/jhmaverick/VirtualButtonsForUnity.git" + }, + "dependencies": { + "com.unity.inputsystem": "1.0.0" + }, + "type": "tool", + "category": "Tools/Input System", + "keywords": [ + "Input System", + "Virtual Buttons", + "DPad", + "Joystick" + ] +} \ No newline at end of file diff --git a/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/package.json.meta b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/package.json.meta new file mode 100644 index 0000000..71a230e --- /dev/null +++ b/Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/package.json.meta @@ -0,0 +1,15 @@ +fileFormatVersion: 2 +guid: 0ed6cdd4e5e5e4739bc06c875f597b61 +importerOverride: UnityEditor.CoreModule:UnityEditor:TextScriptImporter +PackageManifestImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: +AssetOrigin: + serializedVersion: 1 + productId: 200159 + packageName: Virtual Buttons for Unity + packageVersion: 1.0.0 + assetPath: Assets/VirtualButtonsForUnity/VirtualButtonsForUnity/package.json + uploadId: 445799 diff --git a/Packages/Coplay/.gitignore b/Packages/Coplay/.gitignore new file mode 100644 index 0000000..e0f2da7 --- /dev/null +++ b/Packages/Coplay/.gitignore @@ -0,0 +1,2 @@ +# Ignore all Coplay package data (logs, binaries, checkpoints, etc.) +Editor/ diff --git a/Packages/manifest.json b/Packages/manifest.json index 43e4dbe..873bea1 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,9 +1,12 @@ { "dependencies": { + "com.coplaydev.coplay": "https://github.com/CoplayDev/unity-plugin.git#beta", + "com.tonythedev.unity-claude-code-cli": "https://github.com/Exano/UnityClaudeCLI.git", "com.unity.ai.navigation": "2.0.10", "com.unity.collab-proxy": "2.11.3", "com.unity.ide.rider": "3.0.39", "com.unity.ide.visualstudio": "2.0.26", + "com.unity.ide.vscode": "1.2.3", "com.unity.inputsystem": "1.18.0", "com.unity.multiplayer.center": "1.0.1", "com.unity.render-pipelines.universal": "17.3.0", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 6de98f4..2502b68 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -1,5 +1,22 @@ { "dependencies": { + "com.coplaydev.coplay": { + "version": "https://github.com/CoplayDev/unity-plugin.git#beta", + "depth": 0, + "source": "git", + "dependencies": { + "com.unity.inputsystem": "1.1.1", + "com.unity.cloud.gltfast": "6.12.1" + }, + "hash": "9d45c4518791307476bbf314aaef68280d22f6b9" + }, + "com.tonythedev.unity-claude-code-cli": { + "version": "https://github.com/Exano/UnityClaudeCLI.git", + "depth": 0, + "source": "git", + "dependencies": {}, + "hash": "f1fbdc9a5337511373bde638c8e64368dfc5396e" + }, "com.unity.ai.navigation": { "version": "2.0.10", "depth": 0, @@ -19,6 +36,19 @@ }, "url": "https://packages.unity.com" }, + "com.unity.cloud.gltfast": { + "version": "6.14.1", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.burst": "1.8.24", + "com.unity.collections": "1.2.4", + "com.unity.mathematics": "1.2.6", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + }, + "url": "https://packages.unity.com" + }, "com.unity.collab-proxy": { "version": "2.11.3", "depth": 0, @@ -63,6 +93,13 @@ }, "url": "https://packages.unity.com" }, + "com.unity.ide.vscode": { + "version": "1.2.3", + "depth": 0, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, "com.unity.inputsystem": { "version": "1.18.0", "depth": 0, diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 62e3606..b0539d7 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -59,8 +59,8 @@ PlayerSettings: iosShowActivityIndicatorOnLoading: -1 androidShowActivityIndicatorOnLoading: -1 iosUseCustomAppBackgroundBehavior: 0 - allowedAutorotateToPortrait: 1 - allowedAutorotateToPortraitUpsideDown: 1 + allowedAutorotateToPortrait: 0 + allowedAutorotateToPortraitUpsideDown: 0 allowedAutorotateToLandscapeRight: 1 allowedAutorotateToLandscapeLeft: 1 useOSAutorotation: 1 @@ -144,7 +144,8 @@ PlayerSettings: visionOSBundleVersion: 1.0 tvOSBundleVersion: 1.0 bundleVersion: 0.1.0 - preloadedAssets: [] + preloadedAssets: + - {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3} metroInputSource: 0 wsaTransparentSwapchain: 0 m_HolographicPauseOnTrackingLoss: 1 @@ -166,7 +167,7 @@ PlayerSettings: androidMaxAspectRatio: 2.4 androidMinAspectRatio: 1 applicationIdentifier: - Android: com.UnityTechnologies.com.unity.template.urpblank + Android: com.DefaultCompany.Dodge Standalone: com.Unity-Technologies.com.unity.template.urp-blank iPhone: com.Unity-Technologies.com.unity.template.urp-blank buildNumber: @@ -174,7 +175,7 @@ PlayerSettings: VisionOS: 0 iPhone: 0 tvOS: 0 - overrideDefaultApplicationIdentifier: 1 + overrideDefaultApplicationIdentifier: 0 AndroidBundleVersionCode: 1 AndroidMinSdkVersion: 25 AndroidTargetSdkVersion: 0 @@ -524,7 +525,10 @@ PlayerSettings: m_Height: 720 m_Kind: 1 m_SubKind: - m_BuildTargetBatching: [] + m_BuildTargetBatching: + - m_BuildTarget: Android + m_StaticBatching: 1 + m_DynamicBatching: 0 m_BuildTargetShaderSettings: [] m_BuildTargetGraphicsJobs: [] m_BuildTargetGraphicsJobMode: [] diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index 5038a92..c4ac38a 100644 --- a/ProjectSettings/TagManager.asset +++ b/ProjectSettings/TagManager.asset @@ -14,7 +14,7 @@ TagManager: - Water - UI - - - + - Wall - - - diff --git a/ProjectSettings/UnityConnectSettings.asset b/ProjectSettings/UnityConnectSettings.asset index 029ad8b..7a17e8f 100644 --- a/ProjectSettings/UnityConnectSettings.asset +++ b/ProjectSettings/UnityConnectSettings.asset @@ -4,7 +4,7 @@ UnityConnectSettings: m_ObjectHideFlags: 0 serializedVersion: 1 - m_Enabled: 0 + m_Enabled: 1 m_TestMode: 0 m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events m_EventUrl: https://cdp.cloud.unity3d.com/v1/events