├── ProjectSettings ├── ProjectVersion.txt ├── UnityAdsSettings.asset ├── UnityAnalyticsManager.asset ├── ClusterInputManager.asset ├── EditorBuildSettings.asset ├── NetworkManager.asset ├── TimeManager.asset ├── AudioManager.asset ├── EditorSettings.asset ├── TagManager.asset ├── DynamicsManager.asset ├── UnityConnectSettings.asset ├── Physics2DSettings.asset ├── NavMeshAreas.asset ├── GraphicsSettings.asset ├── QualitySettings.asset └── InputManager.asset ├── Images ├── demo1.gif ├── demo2.gif ├── demo3.gif ├── Content.png ├── ScrollCell.png └── LoopVerticalScrollRect.png ├── Assets ├── Resources │ ├── Texture │ │ ├── RO_lv0.png │ │ ├── RO_lv120.png │ │ ├── UI_CardBG.png │ │ ├── UI_Cardbg1.png │ │ ├── card_bg_big_1.jpg │ │ ├── card_bg_big_2.jpg │ │ ├── card_bg_big_3.jpg │ │ ├── card_bg_big_4.jpg │ │ ├── card_bg_big_5.jpg │ │ ├── card_bg_big_6.jpg │ │ ├── RO_lv0.png.meta │ │ ├── RO_lv120.png.meta │ │ ├── UI_CardBG.png.meta │ │ ├── UI_Cardbg1.png.meta │ │ ├── card_bg_big_1.jpg.meta │ │ ├── card_bg_big_2.jpg.meta │ │ ├── card_bg_big_3.jpg.meta │ │ ├── card_bg_big_4.jpg.meta │ │ ├── card_bg_big_5.jpg.meta │ │ └── card_bg_big_6.jpg.meta │ ├── Prefab │ │ ├── ImageCard.prefab.meta │ │ ├── RoleCard.prefab.meta │ │ └── RoleCard.prefab │ ├── Prefab.meta │ └── Texture.meta ├── ThirdParty │ ├── DOTween │ │ ├── DOTween.dll │ │ ├── DOTween43.dll │ │ ├── DOTween46.dll │ │ ├── DOTween50.dll │ │ ├── DOTween.dll.mdb │ │ ├── DOTween43.dll.mdb │ │ ├── DOTween46.dll.mdb │ │ ├── DOTween50.dll.mdb │ │ ├── Editor │ │ │ ├── DOTweenEditor.dll │ │ │ ├── Imgs │ │ │ │ ├── Footer.png │ │ │ │ ├── Header.jpg │ │ │ │ ├── DOTweenIcon.png │ │ │ │ ├── Footer_dark.png │ │ │ │ ├── Footer.png.meta │ │ │ │ ├── Header.jpg.meta │ │ │ │ ├── DOTweenIcon.png.meta │ │ │ │ └── Footer_dark.png.meta │ │ │ ├── DOTweenEditor.dll.mdb │ │ │ ├── DOTweenEditor.XML.meta │ │ │ ├── DOTweenEditor.dll.mdb.meta │ │ │ ├── Imgs.meta │ │ │ ├── DOTweenEditor.dll.meta │ │ │ └── DOTweenEditor.XML │ │ ├── DOTween.XML.meta │ │ ├── DOTween.dll.mdb.meta │ │ ├── DOTween43.xml.meta │ │ ├── DOTween46.xml.meta │ │ ├── DOTween50.xml.meta │ │ ├── readme.txt.meta │ │ ├── DOTween43.dll.mdb.meta │ │ ├── DOTween46.dll.mdb.meta │ │ ├── DOTween50.dll.mdb.meta │ │ ├── Editor.meta │ │ ├── DOTween.dll.meta │ │ ├── DOTween43.dll.meta │ │ ├── DOTween46.dll.meta │ │ ├── DOTween50.dll.meta │ │ ├── readme.txt │ │ ├── DOTween50.xml │ │ └── DOTween43.xml │ └── DOTween.meta ├── Demo │ ├── DemoScene.unity.meta │ ├── RoleCardsShow.unity.meta │ ├── ScaleScrollRect.unity.meta │ ├── Resources │ │ ├── ScrollCell1.prefab.meta │ │ ├── ScrollCell2.prefab.meta │ │ ├── ScrollCell3.prefab.meta │ │ ├── ScrollCell2.prefab │ │ ├── ScrollCell3.prefab │ │ └── ScrollCell1.prefab │ ├── Scripts.meta │ ├── Resources.meta │ ├── Scripts │ │ ├── ScrollIndexCallback1.cs.meta │ │ ├── ScrollIndexCallback2.cs.meta │ │ ├── ScrollIndexCallback3.cs.meta │ │ ├── ScrollIndexCallback3.cs │ │ ├── ScrollIndexCallback2.cs │ │ └── ScrollIndexCallback1.cs │ └── ScaleScrollRect.unity ├── Demo.meta ├── Resources.meta ├── Scripts.meta ├── Scripts │ ├── EnhanceScrollView │ │ ├── EnhanceItem.cs.meta │ │ ├── EnhancelScrollView.cs.meta │ │ ├── CDragOnCard.cs.meta │ │ ├── EnhanceShow.cs.meta │ │ ├── EnhanceItem.cs │ │ ├── EnhanceShow.cs │ │ ├── CDragOnCard.cs │ │ └── EnhancelScrollView.cs │ ├── Editor.meta │ ├── AladdinScript.meta │ ├── EasyObjectPool.meta │ ├── EnhanceScrollView.meta │ ├── InitOnStart.cs │ ├── InitOnStart.cs.meta │ ├── LoopScrollRect.cs.meta │ ├── Editor │ │ ├── SGMenuOptions.cs.meta │ │ ├── SGDefaultControls.cs.meta │ │ ├── LoopScrollRectInspector.cs.meta │ │ ├── LoopScrollRectInspector.cs │ │ ├── SGDefaultControls.cs │ │ └── SGMenuOptions.cs │ ├── AladdinScript │ │ ├── CFixGridRect.cs.meta │ │ ├── CIgnoreRayCast.cs │ │ ├── CIgnoreRayCast.cs.meta │ │ ├── CPlayedCardOnDrag.cs.meta │ │ ├── CPlayedCardOnDrop.cs.meta │ │ ├── CUIShowCardsPanel.cs.meta │ │ ├── CUIPlayedCharCardWidget.cs.meta │ │ ├── CFixGridRect.cs │ │ ├── CUIPlayedCharCardWidget.cs │ │ ├── CPlayedCardOnDrop.cs │ │ ├── CUIShowCardsPanel.cs │ │ └── CPlayedCardOnDrag.cs │ ├── EasyObjectPool │ │ ├── PoolObject.cs.meta │ │ ├── EasyObjectPool.cs.meta │ │ ├── ResourceManager.cs.meta │ │ ├── PoolObject.cs │ │ ├── ResourceManager.cs │ │ └── EasyObjectPool.cs │ ├── LoopHorizontalScrollRect.cs.meta │ ├── LoopVerticalScrollRect.cs.meta │ ├── LoopVerticalScrollRect.cs │ └── LoopHorizontalScrollRect.cs └── ThirdParty.meta └── .gitignore /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.5.1f1 2 | -------------------------------------------------------------------------------- /Images/demo1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Images/demo1.gif -------------------------------------------------------------------------------- /Images/demo2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Images/demo2.gif -------------------------------------------------------------------------------- /Images/demo3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Images/demo3.gif -------------------------------------------------------------------------------- /Images/Content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Images/Content.png -------------------------------------------------------------------------------- /Images/ScrollCell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Images/ScrollCell.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/RO_lv0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/RO_lv0.png -------------------------------------------------------------------------------- /Images/LoopVerticalScrollRect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Images/LoopVerticalScrollRect.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/RO_lv120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/RO_lv120.png -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween.dll -------------------------------------------------------------------------------- /Assets/Resources/Texture/UI_CardBG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/UI_CardBG.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/UI_Cardbg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/UI_Cardbg1.png -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween43.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween43.dll -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween46.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween46.dll -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween50.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween50.dll -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/ProjectSettings/UnityAdsSettings.asset -------------------------------------------------------------------------------- /Assets/Resources/Texture/card_bg_big_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/card_bg_big_1.jpg -------------------------------------------------------------------------------- /Assets/Resources/Texture/card_bg_big_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/card_bg_big_2.jpg -------------------------------------------------------------------------------- /Assets/Resources/Texture/card_bg_big_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/card_bg_big_3.jpg -------------------------------------------------------------------------------- /Assets/Resources/Texture/card_bg_big_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/card_bg_big_4.jpg -------------------------------------------------------------------------------- /Assets/Resources/Texture/card_bg_big_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/card_bg_big_5.jpg -------------------------------------------------------------------------------- /Assets/Resources/Texture/card_bg_big_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/Resources/Texture/card_bg_big_6.jpg -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween.dll.mdb -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween43.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween43.dll.mdb -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween46.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween46.dll.mdb -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween50.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/DOTween50.dll.mdb -------------------------------------------------------------------------------- /ProjectSettings/UnityAnalyticsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/ProjectSettings/UnityAnalyticsManager.asset -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/DOTweenEditor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/Editor/DOTweenEditor.dll -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/Footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/Editor/Imgs/Footer.png -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/Header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/Editor/Imgs/Header.jpg -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/DOTweenEditor.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/Editor/DOTweenEditor.dll.mdb -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/DOTweenIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/Editor/Imgs/DOTweenIcon.png -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/Footer_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/ScrollRect/HEAD/Assets/ThirdParty/DOTween/Editor/Imgs/Footer_dark.png -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /Assets/Demo/DemoScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb16de1fffe5c164696efe7c5c3bb7d1 3 | timeCreated: 1439396359 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Demo/RoleCardsShow.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 327f17386037f174e84533aadc102efc 3 | timeCreated: 1493101867 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: .0199999996 7 | Maximum Allowed Timestep: .333333343 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /Assets/Demo/ScaleScrollRect.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e814094b686d8145b6a54a6e70607b2 3 | timeCreated: 1493966833 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec49e6ef743a53f4a8ad0cbfd15681f8 3 | timeCreated: 1478510157 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7b25df71bb3e0c4a9ddde8df1edf34e 3 | timeCreated: 1478510154 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween43.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22b5543783f1cba42a50827e5cc3ba1e 3 | timeCreated: 1478510183 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween46.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70af2f29340c4aa43b9ad72412c8ae8c 3 | timeCreated: 1478510185 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween50.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61c7ee8e5e756104286ddf44f6d0b6b7 3 | timeCreated: 1478510185 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/readme.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14aacc9227f3c4942a772264db4caed2 3 | timeCreated: 1478510157 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2175890aaf8a5a4ca0d06dbd5b30932 3 | folderAsset: yes 4 | timeCreated: 1439396419 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Demo/Resources/ScrollCell1.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22b5f8ed284b7904299d6ca6a21597ad 3 | timeCreated: 1439425233 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Demo/Resources/ScrollCell2.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58f2a669cd6976d4ca4c72cd7bfa298c 3 | timeCreated: 1439607751 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Demo/Resources/ScrollCell3.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56b618cf8c6e1584db503ad2cee1f27f 3 | timeCreated: 1439608466 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c18a7cc5c0a1a674989b70139883fc70 3 | folderAsset: yes 4 | timeCreated: 1493101131 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Prefab/ImageCard.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45ee184aaa1403e419a946d0f91b7641 3 | timeCreated: 1493967224 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Prefab/RoleCard.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 908ca160e1d3e2249b13c324c72cb7b2 3 | timeCreated: 1493031321 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec0ddcd49b026ab4fb6b7d49fd693e57 3 | folderAsset: yes 4 | timeCreated: 1439395131 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween43.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3242cee3b366e374ca5e979c85c4d4d9 3 | timeCreated: 1478510181 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween46.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6645b39580b72c48ac438ba3f1bc985 3 | timeCreated: 1478510181 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween50.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63237d7fd79b42f44a32a874fedf497e 3 | timeCreated: 1478510181 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Demo/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38f39d5416d65c848acd1bf8a6fe769b 3 | folderAsset: yes 4 | timeCreated: 1439609534 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/EnhanceScrollView/EnhanceItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8aaee3abae039214c89c60ce96d60b79 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ec22df6fdc7e4c4987b1d6616a933db 3 | folderAsset: yes 4 | timeCreated: 1493101131 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Demo/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcd8464e40b5d9d40b2cb448cdcad0d5 3 | folderAsset: yes 4 | timeCreated: 1439425346 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92b4f97b6841a70428acacd66fa8d6a9 3 | folderAsset: yes 4 | timeCreated: 1493030515 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Texture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7cb7aa6262857ac4e90b8ec2671f9db8 3 | folderAsset: yes 4 | timeCreated: 1493030515 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b10ceda9bec25b14ea5e190eb9bb0341 3 | folderAsset: yes 4 | timeCreated: 1476279504 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a639172aecd82424ea2f77653f3f2302 3 | folderAsset: yes 4 | timeCreated: 1493030322 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/DOTweenEditor.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1df4d563b0ce4354cb596a0091a10150 3 | timeCreated: 1478510157 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/DOTweenEditor.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de2bf23ceb88cc54c907b83fe83d565c 3 | timeCreated: 1478510154 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92c9af37ca3f5974b8b31a37f8bc257a 3 | folderAsset: yes 4 | timeCreated: 1493101131 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/EasyObjectPool.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68f26a4aba55aca4fbcb4894ea811c59 3 | folderAsset: yes 4 | timeCreated: 1439395530 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/EnhanceScrollView/EnhancelScrollView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5377432c7ab4bec4d8bb961ba5c2a06f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/EnhanceScrollView.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9845f99ef8c3dd44c83a77cdb026ee83 3 | folderAsset: yes 4 | timeCreated: 1493966615 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3c9b48f035ef4b46b08530b1a52dffb 3 | folderAsset: yes 4 | timeCreated: 1478510154 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1970072b9ac3754da3baaf31488a772 3 | folderAsset: yes 4 | timeCreated: 1478510154 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/InitOnStart.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [RequireComponent(typeof(UnityEngine.UI.LoopScrollRect))] 5 | [DisallowMultipleComponent] 6 | public class InitOnStart : MonoBehaviour { 7 | void Start () { 8 | GetComponent().RefillCells(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Scripts/InitOnStart.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c41ca759a5d70b448b991ca2699766ba 3 | timeCreated: 1476327660 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/LoopScrollRect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33aaabb8aa0854047a50d2d2b0c6f1a5 3 | timeCreated: 1439395663 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Editor/SGMenuOptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4b63bf28f5af0e42a464ac316fef603 3 | timeCreated: 1476279563 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Demo/Scripts/ScrollIndexCallback1.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aae79c5fe0add56479237307a95fbb7f 3 | timeCreated: 1439396433 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Demo/Scripts/ScrollIndexCallback2.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d2a1b5a8e8308e4fbd894c93c0caa09 3 | timeCreated: 1439607769 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Demo/Scripts/ScrollIndexCallback3.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 485315e3fd2b43d4d8d15c437f7f01d3 3 | timeCreated: 1439608418 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CFixGridRect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bde471e3bd86ad4ba6408a395cf29f7 3 | timeCreated: 1493101139 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CIgnoreRayCast.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | namespace Mga 6 | { 7 | public class CIgnoreRayCast : MonoBehaviour, ICanvasRaycastFilter 8 | { 9 | public bool IsRaycastLocationValid(Vector2 sp, Camera eventCamera) 10 | { 11 | return false; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Assets/Scripts/EasyObjectPool/PoolObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 189b4f09fe854c44ebb9af19483d2a39 3 | timeCreated: 1439395530 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Editor/SGDefaultControls.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e2cfa47387224a4eb069fc6dc8ac8b3 3 | timeCreated: 1476279563 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/LoopHorizontalScrollRect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab7b38d60c9f6a944831d24146f39793 3 | timeCreated: 1439395663 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/LoopVerticalScrollRect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce71017a2903f7c4c9a699e438d0b897 3 | timeCreated: 1439395663 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CIgnoreRayCast.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 106f46e136b65114bb76ab59cad45055 3 | timeCreated: 1493101139 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CPlayedCardOnDrag.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74c59b9066a6dab45832bcdb027a0436 3 | timeCreated: 1493101139 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CPlayedCardOnDrop.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e45d2749c2e3430488066b6b5228095a 3 | timeCreated: 1493101139 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CUIShowCardsPanel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd2b58c746b44a9459256feb5e0dd5d5 3 | timeCreated: 1493101139 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/EasyObjectPool/EasyObjectPool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25ed55ef4750fc64a8d2879276865942 3 | timeCreated: 1439395530 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/EasyObjectPool/ResourceManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ae24a45f17beae49b3281944f847870 3 | timeCreated: 1476411289 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Editor/LoopScrollRectInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 216d44a40b90b944db6c5f4624768e58 3 | timeCreated: 1439395663 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/EnhanceScrollView/CDragOnCard.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 953cebb3b49acf140a7c5cfdb4254dc2 3 | timeCreated: 1494226495 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/EnhanceScrollView/EnhanceShow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7b090740d014424590c0d1c975c09b6 3 | timeCreated: 1493967259 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CUIPlayedCharCardWidget.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00bb43a4f3663a841a8b315b4b700852 3 | timeCreated: 1493101139 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_DisableAudio: 0 15 | -------------------------------------------------------------------------------- /Assets/Demo/Scripts/ScrollIndexCallback3.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class ScrollIndexCallback3 : MonoBehaviour 6 | { 7 | public Text text; 8 | void ScrollCellIndex(int idx) 9 | { 10 | string name = "Cell " + idx.ToString(); 11 | if (text != null) 12 | { 13 | text.text = name; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | m_DefaultBehaviorMode: 0 12 | m_SpritePackerMode: 2 13 | m_SpritePackerPaddingPower: 1 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | uframe-log.txt 6 | # Autogenerated VS/MD solution and project files 7 | *.csproj 8 | *.unityproj 9 | *.sln 10 | *.suo 11 | *.tmp 12 | *.user 13 | *.userprefs 14 | *.pidb 15 | *.booproj 16 | 17 | # Unity3D generated meta files 18 | *.pidb.meta 19 | 20 | # Unity3D Generated File On Crash Reports 21 | sysinfo.txt 22 | 23 | # OS generated 24 | .DS_Store 25 | .DS_Store? 26 | ._* 27 | .Spotlight-V100 28 | .Trashes 29 | ehthumbs.db 30 | Thumbs.db 31 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98a3650545e824c4789161053100e771 3 | timeCreated: 1478510157 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween43.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3246b799ed998ac42bd8d0ee6f7dd045 3 | timeCreated: 1478510182 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween46.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e1ce3c6e172920478c001ac1582fa8a 3 | timeCreated: 1478510183 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/DOTween50.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07f6959014709e44984d5604d697c132 3 | timeCreated: 1478510181 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/DOTweenEditor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80d6b780c465c504882bcdeef5d13f3d 3 | timeCreated: 1478510156 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Scripts/EasyObjectPool/PoolObject.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Unless otherwise licensed, this file cannot be copied or redistributed in any format without the explicit consent of the author. 3 | * (c) Preet Kamal Singh Minhas, http://marchingbytes.com 4 | * contact@marchingbytes.com 5 | */ 6 | using UnityEngine; 7 | using System.Collections; 8 | 9 | namespace MarchingBytes { 10 | public class PoolObject : MonoBehaviour { 11 | public string poolName; 12 | //defines whether the object is waiting in pool or is in use 13 | public bool isPooled; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /Assets/Demo/Scripts/ScrollIndexCallback2.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class ScrollIndexCallback2 : MonoBehaviour 6 | { 7 | public Text text; 8 | public LayoutElement element; 9 | private static float[] randomWidths = new float[3] { 100, 150, 50 }; 10 | void ScrollCellIndex(int idx) 11 | { 12 | string name = "Cell " + idx.ToString(); 13 | if (text != null) 14 | { 15 | text.text = name; 16 | } 17 | element.preferredWidth = randomWidths[Mathf.Abs(idx) % 3]; 18 | gameObject.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | m_Gravity: {x: 0, y: -9.81000042, z: 0} 7 | m_DefaultMaterial: {fileID: 0} 8 | m_BounceThreshold: 2 9 | m_SleepThreshold: .00499999989 10 | m_DefaultContactOffset: .00999999978 11 | m_SolverIterationCount: 6 12 | m_RaycastsHitTriggers: 1 13 | m_EnableAdaptiveForce: 0 14 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 15 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | CrashReportingSettings: 11 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 12 | m_Enabled: 0 13 | m_CaptureEditorExceptions: 1 14 | UnityPurchasingSettings: 15 | m_Enabled: 0 16 | m_TestMode: 0 17 | UnityAnalyticsSettings: 18 | m_Enabled: 0 19 | m_InitializeOnStartup: 1 20 | m_TestMode: 0 21 | m_TestEventUrl: 22 | m_TestConfigUrl: 23 | UnityAdsSettings: 24 | m_Enabled: 0 25 | m_InitializeOnStartup: 1 26 | m_TestMode: 0 27 | m_EnabledPlatforms: 4294967295 28 | m_IosGameId: 29 | m_AndroidGameId: 30 | -------------------------------------------------------------------------------- /Assets/Scripts/Editor/LoopScrollRectInspector.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using UnityEditor; 4 | 5 | [CustomEditor(typeof(LoopScrollRect), true)] 6 | public class LoopScrollRectInspector : Editor 7 | { 8 | public override void OnInspectorGUI () 9 | { 10 | base.OnInspectorGUI(); 11 | EditorGUILayout.Space(); 12 | 13 | LoopScrollRect scroll = (LoopScrollRect)target; 14 | EditorGUILayout.BeginHorizontal(); 15 | if(GUILayout.Button("Clear")) 16 | { 17 | scroll.ClearCells(); 18 | } 19 | if(GUILayout.Button("Refill")) 20 | { 21 | scroll.RefillCells(); 22 | } 23 | if (GUILayout.Button("Refresh")) 24 | { 25 | scroll.RefreshCells(); 26 | } 27 | EditorGUILayout.EndHorizontal(); 28 | } 29 | } -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | m_Gravity: {x: 0, y: -9.81000042} 7 | m_DefaultMaterial: {fileID: 0} 8 | m_VelocityIterations: 8 9 | m_PositionIterations: 3 10 | m_VelocityThreshold: 1 11 | m_MaxLinearCorrection: .200000003 12 | m_MaxAngularCorrection: 8 13 | m_MaxTranslationSpeed: 100 14 | m_MaxRotationSpeed: 360 15 | m_MinPenetrationForPenalty: .00999999978 16 | m_BaumgarteScale: .200000003 17 | m_BaumgarteTimeOfImpactScale: .75 18 | m_TimeToSleep: .5 19 | m_LinearSleepTolerance: .00999999978 20 | m_AngularSleepTolerance: 2 21 | m_RaycastsHitTriggers: 1 22 | m_RaycastsStartInColliders: 1 23 | m_ChangeStopsCallbacks: 0 24 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 25 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/readme.txt: -------------------------------------------------------------------------------- 1 | DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant 2 | 3 | // GET STARTED ////////////////////////////////////////////// 4 | 5 | - After importing a new DOTween update, select DOTween's Utility Panel from the Tools menu (if it doesn't open automatically) and press the "Setup DOTween..." button to set up additional features based on your Unity version. 6 | - In your code, add "using DG.Tweening" to each class where you want to use DOTween. 7 | - You're ready to tween. Check out the links below for full documentation and license info. 8 | 9 | 10 | // LINKS /////////////////////////////////////////////////////// 11 | 12 | DOTween website (documentation, examples, etc): http://dotween.demigiant.com 13 | DOTween license: http://dotween.demigiant.com/license.php 14 | DOTween repository (Google Code): https://code.google.com/p/dotween/ 15 | 16 | // NOTES ////////////////////////////////////////////////////// 17 | 18 | - DOTween's Utility Panel can be found under "Tools > DOTween Utility Panel" and also contains other useful options, plus a tab to set DOTween's preferences -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshAreas: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/RO_lv0.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50d9fff5757a1164eb53609a10bbf684 3 | timeCreated: 1493030516 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/RO_lv120.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e419d39cf52d5c64dafce3f07a91f435 3 | timeCreated: 1493030516 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/UI_CardBG.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb0425c5811991048be275dd45471b74 3 | timeCreated: 1493030881 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/UI_Cardbg1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd1794abc0e82c645b59164bf2685700 3 | timeCreated: 1493030881 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/Footer.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d286722136cddcc45994adaecacb26aa 3 | timeCreated: 1478510174 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/Header.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 711c8b1d125305f40b67b1c3e5c2ac8d 3 | timeCreated: 1478510172 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 512 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/DOTweenIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1927344586e9a1e408261a319a6ac7f8 3 | timeCreated: 1478510157 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/ThirdParty/DOTween/Editor/Imgs/Footer_dark.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a05972cd38bf19d4a87aefe865b1b994 3 | timeCreated: 1478510157 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CFixGridRect.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using DG.Tweening; 3 | using UnityEngine; 4 | using UnityEngine.EventSystems; 5 | using UnityEngine.UI; 6 | 7 | //TODO:当前只试应横向的ScrollRect,还需要扩展支持纵向 8 | public class CFixGridRect : MonoBehaviour, IEndDragHandler 9 | { 10 | public GameObject content; 11 | public ScrollRect scorllRect; 12 | public float itemWidth; 13 | private RectTransform contentRectTf; 14 | 15 | private float formalPosX = 0; 16 | private float currentPosX = 0; 17 | private float halfItemLength = 0; 18 | 19 | void Start() 20 | { 21 | if (itemWidth <= 0) 22 | UnityEngine.Debug.LogError("请设置Item的宽度"); 23 | halfItemLength = itemWidth / 2; 24 | this.contentRectTf = this.content.GetComponent(); 25 | } 26 | 27 | public void OnEndDrag(PointerEventData eventData) 28 | { 29 | this.scorllRect.StopMovement(); 30 | Vector2 afterDragPagePos = this.content.transform.localPosition; 31 | currentPosX = afterDragPagePos.x; //当前拖动的位置 负 32 | if (scorllRect.horizontalNormalizedPosition < 0 || scorllRect.horizontalNormalizedPosition > 1) 33 | return; 34 | int count = (int)(Mathf.Abs(currentPosX) / itemWidth); 35 | var targetPos = -(float)(count * itemWidth); 36 | 37 | if (((float)(count * itemWidth + halfItemLength)) < Mathf.Abs(currentPosX)) //移动不超过一半 38 | { 39 | targetPos = -(float)((count + 1) * itemWidth); 40 | } 41 | formalPosX = targetPos; 42 | this.contentRectTf.DOLocalMoveX(targetPos, .2f); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/Scripts/AladdinScript/CUIPlayedCharCardWidget.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using UnityEngine.UI; 4 | 5 | namespace Mga 6 | { 7 | public class CLocalCharInfo 8 | { 9 | public int ID; 10 | public string Name; 11 | } 12 | 13 | public class CUIPlayedCharCardWidget : MonoBehaviour 14 | { 15 | public class CUIContent 16 | { 17 | public string RoleIcon = "RO_lv0"; 18 | public ScrollRect ScrollRectObj; 19 | public CFixGridRect FixGridRect; 20 | public CLocalCharInfo RoleInfo; 21 | public System.Action BeginDrag = null; 22 | public System.Action EndDrag = null; 23 | public System.Action BeginScroll = null; 24 | public System.Action EndScroll = null; 25 | } 26 | public Image RoleIcon; 27 | private CUIContent m_uiContent; 28 | public CanvasGroup m_CanvasGroup; 29 | 30 | void Start() 31 | { 32 | 33 | } 34 | public void InitContent(CUIContent uiContent) 35 | { 36 | m_uiContent = uiContent; 37 | _initContent(); 38 | } 39 | private void _initContent() 40 | { 41 | if (m_uiContent == null) return; 42 | 43 | if (RoleIcon != null) 44 | { 45 | RoleIcon.sprite = Resources.Load("Texture/" + m_uiContent.RoleIcon); 46 | var dragSrc = RoleIcon.gameObject.AddComponent(); 47 | dragSrc.m_ScrollRect = m_uiContent.ScrollRectObj; 48 | dragSrc.m_FixGridRect = m_uiContent.FixGridRect; 49 | dragSrc.dragOnSurfaces = true; 50 | dragSrc.Init(m_uiContent.RoleInfo, m_uiContent.BeginDrag, m_uiContent.EndDrag, m_uiContent.BeginScroll, m_uiContent.EndScroll); 51 | } 52 | } 53 | 54 | public void SetState(bool state) 55 | { 56 | m_CanvasGroup.alpha = state ? 1 : 0; 57 | } 58 | } 59 | } -------------------------------------------------------------------------------- /Assets/Scripts/EnhanceScrollView/EnhanceItem.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using UnityEngine.UI; 4 | 5 | public class EnhanceItem : MonoBehaviour 6 | { 7 | // 在ScrollViewitem中的索引 8 | // 定位当前的位置和缩放 9 | public int scrollViewItemIndex = 0; 10 | public bool inRightArea = false; 11 | 12 | private Vector3 targetPos = Vector3.one; 13 | private Vector3 targetScale = Vector3.one; 14 | 15 | private Transform mTrs; 16 | private Image mImage; 17 | 18 | private int index = 1; 19 | public void Init(int cardIndex = 1) 20 | { 21 | index = cardIndex; 22 | mTrs = this.transform; 23 | mImage = this.GetComponent(); 24 | //mImage.sprite = Resources.Load(string.Format("Texture/card_bg_big_{0}", cardIndex % 6 + 1)); 25 | mImage.sprite = Resources.Load(string.Format("Texture/card_bg_big_{0}", cardIndex % 6 + 1)); 26 | this.gameObject.GetComponent