├── .gitignore ├── Assets ├── UnityChan2D.meta └── UnityChan2D │ ├── Animations.meta │ ├── Animations │ ├── AirDamage.anim │ ├── AirDamage.anim.meta │ ├── Damage.anim │ ├── Damage.anim.meta │ ├── Footwork.anim │ ├── Footwork.anim.meta │ ├── InvincibleMode.anim │ ├── InvincibleMode.anim.meta │ ├── Jump_down.anim │ ├── Jump_down.anim.meta │ ├── Jump_top.anim │ ├── Jump_top.anim.meta │ ├── Jump_up.anim │ ├── Jump_up.anim.meta │ ├── Move.anim │ ├── Move.anim.meta │ ├── UnityChan2D.controller │ └── UnityChan2D.controller.meta │ ├── Demo.meta │ ├── Demo │ ├── Animations.meta │ ├── Animations │ │ ├── Coin.controller │ │ ├── Coin.controller.meta │ │ ├── uni.controller │ │ └── uni.controller.meta │ ├── Fonts.meta │ ├── Fonts │ │ ├── slkscrb.ttf │ │ └── slkscrb.ttf.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── Block 1.prefab │ │ ├── Block 1.prefab.meta │ │ ├── Block 2.prefab │ │ ├── Block 2.prefab.meta │ │ ├── BrokenBlock.prefab │ │ ├── BrokenBlock.prefab.meta │ │ ├── Coin.prefab │ │ ├── Coin.prefab.meta │ │ ├── DemoUnityChan2D.prefab │ │ ├── DemoUnityChan2D.prefab.meta │ │ ├── Uni.prefab │ │ └── Uni.prefab.meta │ ├── Scenes.meta │ ├── Scenes │ │ ├── Intro 1-1.unity │ │ ├── Intro 1-1.unity.meta │ │ ├── Loading 1-1.unity │ │ ├── Loading 1-1.unity.meta │ │ ├── Start.unity │ │ ├── Start.unity.meta │ │ ├── World 1-1.unity │ │ └── World 1-1.unity.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── AudioSourceController.cs │ │ ├── AudioSourceController.cs.meta │ │ ├── BlockController.cs │ │ ├── BlockController.cs.meta │ │ ├── BrokenBlockController.cs │ │ ├── BrokenBlockController.cs.meta │ │ ├── CameraController.cs │ │ ├── CameraController.cs.meta │ │ ├── CoinController.cs │ │ ├── CoinController.cs.meta │ │ ├── Demo.cs │ │ ├── Demo.cs.meta │ │ ├── IntroCameraController.cs │ │ ├── IntroCameraController.cs.meta │ │ ├── LoadingController.cs │ │ ├── LoadingController.cs.meta │ │ ├── Loop.cs │ │ ├── Loop.cs.meta │ │ ├── PointController.cs │ │ ├── PointController.cs.meta │ │ ├── SceneNameAttribute.cs │ │ ├── SceneNameAttribute.cs.meta │ │ ├── StartController.cs │ │ ├── StartController.cs.meta │ │ ├── TimeController.cs │ │ └── TimeController.cs.meta │ ├── Sounds.meta │ ├── Sounds │ │ ├── Music.meta │ │ ├── Music │ │ │ ├── stage.wav │ │ │ ├── stage.wav.meta │ │ │ ├── start.wav │ │ │ ├── start.wav.meta │ │ │ ├── title.wav │ │ │ └── title.wav.meta │ │ ├── SE.meta │ │ ├── SE │ │ │ ├── block_break.wav │ │ │ ├── block_break.wav.meta │ │ │ ├── block_hit.wav │ │ │ ├── block_hit.wav.meta │ │ │ ├── get.wav │ │ │ ├── get.wav.meta │ │ │ ├── start.wav │ │ │ └── start.wav.meta │ │ ├── Voice.meta │ │ └── Voice │ │ │ ├── unity-chan_voice_list.txt │ │ │ ├── unity-chan_voice_list.txt.meta │ │ │ ├── univ0001.wav │ │ │ ├── univ0001.wav.meta │ │ │ ├── univ0002_trim.wav │ │ │ ├── univ0002_trim.wav.meta │ │ │ ├── univ0006.wav │ │ │ ├── univ0006.wav.meta │ │ │ ├── univ0010.wav │ │ │ ├── univ0010.wav.meta │ │ │ ├── univ1091.wav │ │ │ └── univ1091.wav.meta │ ├── Sprites.meta │ └── Sprites │ │ ├── BG_01.png │ │ ├── BG_01.png.meta │ │ ├── BG_02.png │ │ ├── BG_02.png.meta │ │ ├── Block.png │ │ ├── Block.png.meta │ │ ├── Coin.png │ │ ├── Coin.png.meta │ │ ├── UnityChan_8bit.png │ │ ├── UnityChan_8bit.png.meta │ │ ├── UnityChan_logo.png │ │ ├── UnityChan_logo.png.meta │ │ ├── Write.png │ │ ├── Write.png.meta │ │ ├── uni.png │ │ └── uni.png.meta │ ├── Documents.meta │ ├── Documents │ ├── Demoプロジェクトについて.pdf │ ├── Demoプロジェクトについて.pdf.meta │ ├── Introduction.pdf │ └── Introduction.pdf.meta │ ├── License.meta │ ├── License │ ├── ENGLISH.meta │ ├── ENGLISH │ │ ├── Character Use Guidelines.pdf │ │ ├── Character Use Guidelines.pdf.meta │ │ ├── LicenseNotice.pdf │ │ ├── LicenseNotice.pdf.meta │ │ ├── Summary Unity-Chan License.pdf │ │ ├── Summary Unity-Chan License.pdf.meta │ │ ├── Unity-Chan License Terms and Condition.pdf │ │ └── Unity-Chan License Terms and Condition.pdf.meta │ ├── License Logo.meta │ ├── License Logo │ │ ├── LUUL_LOGO_rules02.ai │ │ ├── LUUL_LOGO_rules02.ai.meta │ │ ├── LUUL_LOGO_rules02.psd │ │ ├── LUUL_LOGO_rules02.psd.meta │ │ ├── LUUL_logo-guideline.pdf │ │ ├── LUUL_logo-guideline.pdf.meta │ │ ├── LUUL_logo-guideline_en.pdf │ │ └── LUUL_logo-guideline_en.pdf.meta │ ├── キャラクター利用のガイドライン.pdf │ ├── キャラクター利用のガイドライン.pdf.meta │ ├── ユニティちゃんライセンス条項.pdf │ ├── ユニティちゃんライセンス条項.pdf.meta │ ├── ユニティちゃんライセンス条項・要約版.pdf │ ├── ユニティちゃんライセンス条項・要約版.pdf.meta │ ├── ライセンス表示について.pdf │ └── ライセンス表示について.pdf.meta │ ├── Physics2DMaterials.meta │ ├── Physics2DMaterials │ ├── Physics2D Material.physicsMaterial2D │ └── Physics2D Material.physicsMaterial2D.meta │ ├── Prefabs.meta │ ├── Prefabs │ ├── UnityChan2D.prefab │ └── UnityChan2D.prefab.meta │ ├── Scenes.meta │ ├── Scenes │ ├── Introduction_Demo.unity │ └── Introduction_Demo.unity.meta │ ├── Scripts.meta │ ├── Scripts │ ├── UnityChan2DController.cs │ └── UnityChan2DController.cs.meta │ ├── Sprites.meta │ └── Sprites │ ├── UnityChan.png │ └── UnityChan.png.meta ├── Documents ├── Demoプロジェクトについて │ ├── Demoプロジェクトについて.md │ └── images │ │ ├── スクリーンショット 2014-06-12 17.10.12.png │ │ ├── スクリーンショット 2014-06-12 17.14.02.png │ │ ├── スクリーンショット 2014-06-12 17.18.37.png │ │ ├── スクリーンショット 2014-06-12 17.32.14.png │ │ ├── スクリーンショット 2014-06-12 17.33.22.png │ │ ├── スクリーンショット 2014-06-12 17.40.32.png │ │ ├── スクリーンショット 2014-06-12 17.43.42.png │ │ └── スクリーンショット 2014-06-12 17.45.42.png └── Introduction │ ├── Introduction.md │ └── images │ ├── スクリーンショット 2014-06-12 11.30.15.png │ ├── スクリーンショット 2014-06-12 11.32.22.png │ ├── スクリーンショット 2014-06-12 11.32.44.png │ ├── スクリーンショット 2014-06-12 11.41.22.png │ ├── スクリーンショット 2014-06-12 12.05.15.png │ ├── スクリーンショット 2014-06-12 12.08.04.png │ ├── スクリーンショット 2014-06-12 12.09.41.png │ ├── スクリーンショット 2014-06-12 12.11.55.png │ ├── スクリーンショット 2014-06-12 12.24.52.png │ ├── スクリーンショット 2014-06-12 14.12.37.png │ ├── スクリーンショット 2014-06-12 14.15.14.png │ ├── スクリーンショット 2014-06-12 14.21.13.png │ ├── スクリーンショット 2014-06-12 14.23.11.png │ ├── スクリーンショット 2014-06-12 14.27.31.png │ ├── スクリーンショット 2014-06-12 14.55.17.png │ ├── スクリーンショット 2014-06-12 14.55.34.png │ ├── スクリーンショット 2014-06-12 14.55.42.png │ ├── スクリーンショット_2014-06-12_11_32_22.png │ ├── スクリーンショット_2014-06-12_11_32_44.png │ ├── スクリーンショット_2014-06-12_11_41_22.png │ ├── スクリーンショット_2014-06-12_12_11_55.png │ ├── スクリーンショット_2014-06-12_14_12_37.png │ └── スクリーンショット_2014-06-12_14_15_14.png ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset ├── README.md ├── build.sh └── unitychan2D.png /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | # Autogenerated VS/MD solution and project files 6 | /*.csproj 7 | /*.unityproj 8 | /*.sln 9 | /*.suo 10 | /*.user 11 | /*.userprefs 12 | /*.pidb 13 | /*.booproj -------------------------------------------------------------------------------- /Assets/UnityChan2D.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9f4a8a4e82db426bb9cbf970bab739a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 931298aec765a48e3b7347bdf16a0f74 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/AirDamage.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: AirDamage 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300008, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 22 | attribute: m_Sprite 23 | path: 24 | classID: 212 25 | script: {fileID: 0} 26 | m_SampleRate: 60 27 | m_WrapMode: 0 28 | m_Bounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 0, y: 0, z: 0} 31 | m_ClipBindingConstant: 32 | genericBindings: 33 | - path: 0 34 | attribute: 0 35 | script: {fileID: 0} 36 | classID: 212 37 | customType: 23 38 | isPPtrCurve: 1 39 | pptrCurveMapping: 40 | - {fileID: 21300008, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 41 | m_AnimationClipSettings: 42 | serializedVersion: 2 43 | m_StartTime: 0 44 | m_StopTime: .0166666675 45 | m_OrientationOffsetY: 0 46 | m_Level: 0 47 | m_CycleOffset: 0 48 | m_LoopTime: 1 49 | m_LoopBlend: 0 50 | m_LoopBlendOrientation: 0 51 | m_LoopBlendPositionY: 0 52 | m_LoopBlendPositionXZ: 0 53 | m_KeepOriginalOrientation: 0 54 | m_KeepOriginalPositionY: 1 55 | m_KeepOriginalPositionXZ: 0 56 | m_HeightFromFeet: 0 57 | m_Mirror: 0 58 | m_EditorCurves: [] 59 | m_EulerEditorCurves: [] 60 | m_Events: [] 61 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/AirDamage.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1383dae016d2246a0847f7c2d1b540d8 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Damage.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Damage 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300006, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 22 | attribute: m_Sprite 23 | path: 24 | classID: 212 25 | script: {fileID: 0} 26 | m_SampleRate: 60 27 | m_WrapMode: 0 28 | m_Bounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 0, y: 0, z: 0} 31 | m_ClipBindingConstant: 32 | genericBindings: 33 | - path: 0 34 | attribute: 0 35 | script: {fileID: 0} 36 | classID: 212 37 | customType: 23 38 | isPPtrCurve: 1 39 | pptrCurveMapping: 40 | - {fileID: 21300006, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 41 | m_AnimationClipSettings: 42 | serializedVersion: 2 43 | m_StartTime: 0 44 | m_StopTime: .0166666675 45 | m_OrientationOffsetY: 0 46 | m_Level: 0 47 | m_CycleOffset: 0 48 | m_LoopTime: 1 49 | m_LoopBlend: 0 50 | m_LoopBlendOrientation: 0 51 | m_LoopBlendPositionY: 0 52 | m_LoopBlendPositionXZ: 0 53 | m_KeepOriginalOrientation: 0 54 | m_KeepOriginalPositionY: 1 55 | m_KeepOriginalPositionXZ: 0 56 | m_HeightFromFeet: 0 57 | m_Mirror: 0 58 | m_EditorCurves: [] 59 | m_EulerEditorCurves: [] 60 | m_Events: [] 61 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Damage.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c74aa118a248f40eca05829f9cbf18fe 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Footwork.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Footwork 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 22 | - time: .916666687 23 | value: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 24 | - time: 1.75 25 | value: {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 26 | - time: 2.75 27 | value: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 28 | - time: 3.66666675 29 | value: {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 30 | - time: 4.91666651 31 | value: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 32 | - time: 5.16666651 33 | value: {fileID: 21300004, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 34 | - time: 5.25 35 | value: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 36 | - time: 5.33333349 37 | value: {fileID: 21300004, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 38 | - time: 5.41666651 39 | value: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 40 | - time: 5.91666651 41 | value: {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 42 | attribute: m_Sprite 43 | path: 44 | classID: 212 45 | script: {fileID: 0} 46 | m_SampleRate: 12 47 | m_WrapMode: 0 48 | m_Bounds: 49 | m_Center: {x: 0, y: 0, z: 0} 50 | m_Extent: {x: 0, y: 0, z: 0} 51 | m_ClipBindingConstant: 52 | genericBindings: 53 | - path: 0 54 | attribute: 0 55 | script: {fileID: 0} 56 | classID: 212 57 | customType: 23 58 | isPPtrCurve: 1 59 | pptrCurveMapping: 60 | - {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 61 | - {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 62 | - {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 63 | - {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 64 | - {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 65 | - {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 66 | - {fileID: 21300004, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 67 | - {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 68 | - {fileID: 21300004, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 69 | - {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 70 | - {fileID: 21300000, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 71 | m_AnimationClipSettings: 72 | serializedVersion: 2 73 | m_StartTime: 0 74 | m_StopTime: 6 75 | m_OrientationOffsetY: 0 76 | m_Level: 0 77 | m_CycleOffset: 0 78 | m_LoopTime: 1 79 | m_LoopBlend: 0 80 | m_LoopBlendOrientation: 0 81 | m_LoopBlendPositionY: 0 82 | m_LoopBlendPositionXZ: 0 83 | m_KeepOriginalOrientation: 0 84 | m_KeepOriginalPositionY: 1 85 | m_KeepOriginalPositionXZ: 0 86 | m_HeightFromFeet: 0 87 | m_Mirror: 0 88 | m_EditorCurves: [] 89 | m_EulerEditorCurves: [] 90 | m_Events: [] 91 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Footwork.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4f948d6d6b8eef45b36576116fcbb7f 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/InvincibleMode.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: InvincibleMode 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: 18 | - curve: 19 | serializedVersion: 2 20 | m_Curve: 21 | - time: 0 22 | value: 1 23 | inSlope: Infinity 24 | outSlope: Infinity 25 | tangentMode: 31 26 | - time: .0833333358 27 | value: 0 28 | inSlope: Infinity 29 | outSlope: Infinity 30 | tangentMode: 31 31 | - time: .166666672 32 | value: 1 33 | inSlope: Infinity 34 | outSlope: Infinity 35 | tangentMode: 31 36 | - time: .25 37 | value: 0 38 | inSlope: Infinity 39 | outSlope: Infinity 40 | tangentMode: 31 41 | - time: .333333343 42 | value: 1 43 | inSlope: Infinity 44 | outSlope: Infinity 45 | tangentMode: 31 46 | - time: .416666657 47 | value: 0 48 | inSlope: Infinity 49 | outSlope: Infinity 50 | tangentMode: 31 51 | - time: .5 52 | value: 1 53 | inSlope: Infinity 54 | outSlope: Infinity 55 | tangentMode: 31 56 | - time: .583333313 57 | value: 0 58 | inSlope: Infinity 59 | outSlope: Infinity 60 | tangentMode: 31 61 | - time: .666666687 62 | value: 1 63 | inSlope: Infinity 64 | outSlope: Infinity 65 | tangentMode: 31 66 | - time: .75 67 | value: 0 68 | inSlope: Infinity 69 | outSlope: Infinity 70 | tangentMode: 31 71 | - time: .833333313 72 | value: 1 73 | inSlope: Infinity 74 | outSlope: Infinity 75 | tangentMode: 31 76 | - time: .916666687 77 | value: 0 78 | inSlope: Infinity 79 | outSlope: Infinity 80 | tangentMode: 31 81 | - time: 1 82 | value: 1 83 | inSlope: Infinity 84 | outSlope: Infinity 85 | tangentMode: 31 86 | m_PreInfinity: 2 87 | m_PostInfinity: 2 88 | attribute: m_Enabled 89 | path: 90 | classID: 212 91 | script: {fileID: 0} 92 | m_PPtrCurves: [] 93 | m_SampleRate: 60 94 | m_WrapMode: 0 95 | m_Bounds: 96 | m_Center: {x: 0, y: 0, z: 0} 97 | m_Extent: {x: 0, y: 0, z: 0} 98 | m_ClipBindingConstant: 99 | genericBindings: 100 | - path: 0 101 | attribute: 3305885265 102 | script: {fileID: 0} 103 | classID: 212 104 | customType: 0 105 | isPPtrCurve: 0 106 | pptrCurveMapping: [] 107 | m_AnimationClipSettings: 108 | serializedVersion: 2 109 | m_StartTime: 0 110 | m_StopTime: 1 111 | m_OrientationOffsetY: 0 112 | m_Level: 0 113 | m_CycleOffset: 0 114 | m_LoopTime: 0 115 | m_LoopBlend: 0 116 | m_LoopBlendOrientation: 0 117 | m_LoopBlendPositionY: 0 118 | m_LoopBlendPositionXZ: 0 119 | m_KeepOriginalOrientation: 0 120 | m_KeepOriginalPositionY: 1 121 | m_KeepOriginalPositionXZ: 0 122 | m_HeightFromFeet: 0 123 | m_Mirror: 0 124 | m_EditorCurves: 125 | - curve: 126 | serializedVersion: 2 127 | m_Curve: 128 | - time: 0 129 | value: 1 130 | inSlope: Infinity 131 | outSlope: Infinity 132 | tangentMode: 31 133 | - time: .0833333358 134 | value: 0 135 | inSlope: Infinity 136 | outSlope: Infinity 137 | tangentMode: 31 138 | - time: .166666672 139 | value: 1 140 | inSlope: Infinity 141 | outSlope: Infinity 142 | tangentMode: 31 143 | - time: .25 144 | value: 0 145 | inSlope: Infinity 146 | outSlope: Infinity 147 | tangentMode: 31 148 | - time: .333333343 149 | value: 1 150 | inSlope: Infinity 151 | outSlope: Infinity 152 | tangentMode: 31 153 | - time: .416666657 154 | value: 0 155 | inSlope: Infinity 156 | outSlope: Infinity 157 | tangentMode: 31 158 | - time: .5 159 | value: 1 160 | inSlope: Infinity 161 | outSlope: Infinity 162 | tangentMode: 31 163 | - time: .583333313 164 | value: 0 165 | inSlope: Infinity 166 | outSlope: Infinity 167 | tangentMode: 31 168 | - time: .666666687 169 | value: 1 170 | inSlope: Infinity 171 | outSlope: Infinity 172 | tangentMode: 31 173 | - time: .75 174 | value: 0 175 | inSlope: Infinity 176 | outSlope: Infinity 177 | tangentMode: 31 178 | - time: .833333313 179 | value: 1 180 | inSlope: Infinity 181 | outSlope: Infinity 182 | tangentMode: 31 183 | - time: .916666687 184 | value: 0 185 | inSlope: Infinity 186 | outSlope: Infinity 187 | tangentMode: 31 188 | - time: 1 189 | value: 1 190 | inSlope: Infinity 191 | outSlope: Infinity 192 | tangentMode: 31 193 | m_PreInfinity: 2 194 | m_PostInfinity: 2 195 | attribute: m_Enabled 196 | path: 197 | classID: 212 198 | script: {fileID: 0} 199 | m_EulerEditorCurves: [] 200 | m_Events: 201 | - time: 1 202 | functionName: OnFinishedInvincibleMode 203 | data: 204 | objectReferenceParameter: {fileID: 0} 205 | floatParameter: 0 206 | intParameter: 0 207 | messageOptions: 0 208 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/InvincibleMode.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef3bbf19287044a7f82b2ece60ceab22 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Jump_down.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Jump_down 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: -0 21 | value: {fileID: 21300036, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 22 | - time: .0833333358 23 | value: {fileID: 21300038, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 24 | attribute: m_Sprite 25 | path: 26 | classID: 212 27 | script: {fileID: 0} 28 | m_SampleRate: 12 29 | m_WrapMode: 0 30 | m_Bounds: 31 | m_Center: {x: 0, y: 0, z: 0} 32 | m_Extent: {x: 0, y: 0, z: 0} 33 | m_ClipBindingConstant: 34 | genericBindings: 35 | - path: 0 36 | attribute: 0 37 | script: {fileID: 0} 38 | classID: 212 39 | customType: 23 40 | isPPtrCurve: 1 41 | pptrCurveMapping: 42 | - {fileID: 21300036, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 43 | - {fileID: 21300038, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 44 | m_AnimationClipSettings: 45 | serializedVersion: 2 46 | m_StartTime: 0 47 | m_StopTime: .166666672 48 | m_OrientationOffsetY: 0 49 | m_Level: 0 50 | m_CycleOffset: 0 51 | m_LoopTime: 1 52 | m_LoopBlend: 0 53 | m_LoopBlendOrientation: 0 54 | m_LoopBlendPositionY: 0 55 | m_LoopBlendPositionXZ: 0 56 | m_KeepOriginalOrientation: 0 57 | m_KeepOriginalPositionY: 1 58 | m_KeepOriginalPositionXZ: 0 59 | m_HeightFromFeet: 0 60 | m_Mirror: 0 61 | m_EditorCurves: [] 62 | m_EulerEditorCurves: [] 63 | m_Events: [] 64 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Jump_down.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c2f91b5894c48c41b05954ff2db2962 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Jump_top.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Jump_top 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300030, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 22 | - time: .13333334 23 | value: {fileID: 21300032, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 24 | - time: .266666681 25 | value: {fileID: 21300034, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 26 | attribute: m_Sprite 27 | path: 28 | classID: 212 29 | script: {fileID: 0} 30 | m_SampleRate: 30 31 | m_WrapMode: 0 32 | m_Bounds: 33 | m_Center: {x: 0, y: 0, z: 0} 34 | m_Extent: {x: 0, y: 0, z: 0} 35 | m_ClipBindingConstant: 36 | genericBindings: 37 | - path: 0 38 | attribute: 0 39 | script: {fileID: 0} 40 | classID: 212 41 | customType: 23 42 | isPPtrCurve: 1 43 | pptrCurveMapping: 44 | - {fileID: 21300030, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 45 | - {fileID: 21300032, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 46 | - {fileID: 21300034, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 47 | m_AnimationClipSettings: 48 | serializedVersion: 2 49 | m_StartTime: 0 50 | m_StopTime: .300000012 51 | m_OrientationOffsetY: 0 52 | m_Level: 0 53 | m_CycleOffset: 0 54 | m_LoopTime: 0 55 | m_LoopBlend: 0 56 | m_LoopBlendOrientation: 0 57 | m_LoopBlendPositionY: 0 58 | m_LoopBlendPositionXZ: 0 59 | m_KeepOriginalOrientation: 0 60 | m_KeepOriginalPositionY: 1 61 | m_KeepOriginalPositionXZ: 0 62 | m_HeightFromFeet: 0 63 | m_Mirror: 0 64 | m_EditorCurves: [] 65 | m_EulerEditorCurves: [] 66 | m_Events: [] 67 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Jump_top.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81592dad0ac99d44fa04472eff6556e9 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Jump_up.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Jump_up 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300026, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 22 | - time: .0833333358 23 | value: {fileID: 21300028, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 24 | attribute: m_Sprite 25 | path: 26 | classID: 212 27 | script: {fileID: 0} 28 | m_SampleRate: 12 29 | m_WrapMode: 0 30 | m_Bounds: 31 | m_Center: {x: 0, y: 0, z: 0} 32 | m_Extent: {x: 0, y: 0, z: 0} 33 | m_ClipBindingConstant: 34 | genericBindings: 35 | - path: 0 36 | attribute: 0 37 | script: {fileID: 0} 38 | classID: 212 39 | customType: 23 40 | isPPtrCurve: 1 41 | pptrCurveMapping: 42 | - {fileID: 21300026, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 43 | - {fileID: 21300028, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 44 | m_AnimationClipSettings: 45 | serializedVersion: 2 46 | m_StartTime: 0 47 | m_StopTime: .166666672 48 | m_OrientationOffsetY: 0 49 | m_Level: 0 50 | m_CycleOffset: 0 51 | m_LoopTime: 1 52 | m_LoopBlend: 0 53 | m_LoopBlendOrientation: 0 54 | m_LoopBlendPositionY: 0 55 | m_LoopBlendPositionXZ: 0 56 | m_KeepOriginalOrientation: 0 57 | m_KeepOriginalPositionY: 1 58 | m_KeepOriginalPositionXZ: 0 59 | m_HeightFromFeet: 0 60 | m_Mirror: 0 61 | m_EditorCurves: [] 62 | m_EulerEditorCurves: [] 63 | m_Events: [] 64 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Jump_up.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edd2edd3028351548a4a16af988cdafa 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Move.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Move 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300010, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 22 | - time: .0714285746 23 | value: {fileID: 21300012, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 24 | - time: .142857149 25 | value: {fileID: 21300014, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 26 | - time: .214285716 27 | value: {fileID: 21300016, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 28 | - time: .285714298 29 | value: {fileID: 21300018, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 30 | - time: .357142866 31 | value: {fileID: 21300020, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 32 | - time: .428571433 33 | value: {fileID: 21300022, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 34 | - time: .5 35 | value: {fileID: 21300024, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 36 | attribute: m_Sprite 37 | path: 38 | classID: 212 39 | script: {fileID: 0} 40 | m_SampleRate: 14 41 | m_WrapMode: 0 42 | m_Bounds: 43 | m_Center: {x: 0, y: 0, z: 0} 44 | m_Extent: {x: 0, y: 0, z: 0} 45 | m_ClipBindingConstant: 46 | genericBindings: 47 | - path: 0 48 | attribute: 0 49 | script: {fileID: 0} 50 | classID: 212 51 | customType: 23 52 | isPPtrCurve: 1 53 | pptrCurveMapping: 54 | - {fileID: 21300010, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 55 | - {fileID: 21300012, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 56 | - {fileID: 21300014, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 57 | - {fileID: 21300016, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 58 | - {fileID: 21300018, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 59 | - {fileID: 21300020, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 60 | - {fileID: 21300022, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 61 | - {fileID: 21300024, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 62 | m_AnimationClipSettings: 63 | serializedVersion: 2 64 | m_StartTime: 0 65 | m_StopTime: .571428597 66 | m_OrientationOffsetY: 0 67 | m_Level: 0 68 | m_CycleOffset: 0 69 | m_LoopTime: 1 70 | m_LoopBlend: 0 71 | m_LoopBlendOrientation: 0 72 | m_LoopBlendPositionY: 0 73 | m_LoopBlendPositionXZ: 0 74 | m_KeepOriginalOrientation: 0 75 | m_KeepOriginalPositionY: 1 76 | m_KeepOriginalPositionXZ: 0 77 | m_HeightFromFeet: 0 78 | m_Mirror: 0 79 | m_EditorCurves: [] 80 | m_EulerEditorCurves: [] 81 | m_Events: [] 82 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/Move.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3939e719ef4eb4b02bf39e3af35e8815 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Animations/UnityChan2D.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a2e89326cda64858a11433ffce27df7 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc511d3a0bb524b4995a3e8aaa15bad7 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e28056fbacae41be8607aac909dea0b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Animations/Coin.controller: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Coin 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300000, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 22 | - time: .166666672 23 | value: {fileID: 21300002, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 24 | - time: .333333343 25 | value: {fileID: 21300004, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 26 | - time: .5 27 | value: {fileID: 21300002, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 28 | attribute: m_Sprite 29 | path: 30 | classID: 212 31 | script: {fileID: 0} 32 | m_SampleRate: 6 33 | m_WrapMode: 0 34 | m_Bounds: 35 | m_Center: {x: 0, y: 0, z: 0} 36 | m_Extent: {x: 0, y: 0, z: 0} 37 | m_ClipBindingConstant: 38 | genericBindings: 39 | - path: 0 40 | attribute: 0 41 | script: {fileID: 0} 42 | classID: 212 43 | customType: 23 44 | isPPtrCurve: 1 45 | pptrCurveMapping: 46 | - {fileID: 21300000, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 47 | - {fileID: 21300002, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 48 | - {fileID: 21300004, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 49 | - {fileID: 21300002, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 50 | m_AnimationClipSettings: 51 | serializedVersion: 2 52 | m_StartTime: 0 53 | m_StopTime: .666666687 54 | m_OrientationOffsetY: 0 55 | m_Level: 0 56 | m_CycleOffset: 0 57 | m_LoopTime: 1 58 | m_LoopBlend: 0 59 | m_LoopBlendOrientation: 0 60 | m_LoopBlendPositionY: 0 61 | m_LoopBlendPositionXZ: 0 62 | m_KeepOriginalOrientation: 0 63 | m_KeepOriginalPositionY: 1 64 | m_KeepOriginalPositionXZ: 0 65 | m_HeightFromFeet: 0 66 | m_Mirror: 0 67 | m_EditorCurves: [] 68 | m_EulerEditorCurves: [] 69 | m_Events: [] 70 | --- !u!91 &9100000 71 | AnimatorController: 72 | m_ObjectHideFlags: 0 73 | m_PrefabParentObject: {fileID: 0} 74 | m_PrefabInternal: {fileID: 0} 75 | m_Name: Coin 76 | serializedVersion: 2 77 | m_AnimatorParameters: [] 78 | m_AnimatorLayers: 79 | - serializedVersion: 3 80 | m_Name: Base Layer 81 | m_StateMachine: {fileID: 110700000} 82 | m_Mask: {fileID: 0} 83 | m_BlendingMode: 0 84 | m_SyncedLayerIndex: -1 85 | m_StateMachineMotionSetIndex: 0 86 | m_DefaultWeight: 0 87 | m_IKPass: 0 88 | m_SyncedLayerAffectsTiming: 0 89 | m_Controller: {fileID: 9100000} 90 | --- !u!1102 &110200000 91 | State: 92 | m_ObjectHideFlags: 3 93 | m_PrefabParentObject: {fileID: 0} 94 | m_PrefabInternal: {fileID: 0} 95 | m_Name: Coin 96 | m_Speed: 1 97 | m_CycleOffset: 0 98 | m_Motions: 99 | - {fileID: 7400000} 100 | m_ParentStateMachine: {fileID: 110700000} 101 | m_Position: {x: 48, y: -36, z: 0} 102 | m_IKOnFeet: 0 103 | m_Mirror: 0 104 | m_Tag: 105 | --- !u!1107 &110700000 106 | StateMachine: 107 | serializedVersion: 2 108 | m_ObjectHideFlags: 3 109 | m_PrefabParentObject: {fileID: 0} 110 | m_PrefabInternal: {fileID: 0} 111 | m_Name: Base Layer 112 | m_DefaultState: {fileID: 110200000} 113 | m_States: 114 | - {fileID: 110200000} 115 | m_ChildStateMachine: [] 116 | m_ChildStateMachinePosition: [] 117 | m_OrderedTransitions: {} 118 | m_MotionSetCount: 1 119 | m_AnyStatePosition: {x: 50, y: 20, z: 0} 120 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} 121 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Animations/Coin.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f014b09d44d6c4b6595fd977b3399bea 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Animations/uni.controller: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Uni 9 | serializedVersion: 4 10 | m_AnimationType: 2 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: [] 18 | m_PPtrCurves: 19 | - curve: 20 | - time: 0 21 | value: {fileID: 21300000, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 22 | - time: .0833333358 23 | value: {fileID: 21300002, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 24 | - time: .166666672 25 | value: {fileID: 21300004, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 26 | attribute: m_Sprite 27 | path: 28 | classID: 212 29 | script: {fileID: 0} 30 | m_SampleRate: 12 31 | m_WrapMode: 0 32 | m_Bounds: 33 | m_Center: {x: 0, y: 0, z: 0} 34 | m_Extent: {x: 0, y: 0, z: 0} 35 | m_ClipBindingConstant: 36 | genericBindings: 37 | - path: 0 38 | attribute: 0 39 | script: {fileID: 0} 40 | classID: 212 41 | customType: 23 42 | isPPtrCurve: 1 43 | pptrCurveMapping: 44 | - {fileID: 21300000, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 45 | - {fileID: 21300002, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 46 | - {fileID: 21300004, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 47 | m_AnimationClipSettings: 48 | serializedVersion: 2 49 | m_StartTime: 0 50 | m_StopTime: .25 51 | m_OrientationOffsetY: 0 52 | m_Level: 0 53 | m_CycleOffset: 0 54 | m_LoopTime: 1 55 | m_LoopBlend: 0 56 | m_LoopBlendOrientation: 0 57 | m_LoopBlendPositionY: 0 58 | m_LoopBlendPositionXZ: 0 59 | m_KeepOriginalOrientation: 0 60 | m_KeepOriginalPositionY: 1 61 | m_KeepOriginalPositionXZ: 0 62 | m_HeightFromFeet: 0 63 | m_Mirror: 0 64 | m_EditorCurves: [] 65 | m_EulerEditorCurves: [] 66 | m_Events: [] 67 | --- !u!91 &9100000 68 | AnimatorController: 69 | m_ObjectHideFlags: 0 70 | m_PrefabParentObject: {fileID: 0} 71 | m_PrefabInternal: {fileID: 0} 72 | m_Name: uni 73 | serializedVersion: 2 74 | m_AnimatorParameters: [] 75 | m_AnimatorLayers: 76 | - serializedVersion: 3 77 | m_Name: Base Layer 78 | m_StateMachine: {fileID: 110700000} 79 | m_Mask: {fileID: 0} 80 | m_BlendingMode: 0 81 | m_SyncedLayerIndex: -1 82 | m_StateMachineMotionSetIndex: 0 83 | m_DefaultWeight: 0 84 | m_IKPass: 0 85 | m_SyncedLayerAffectsTiming: 0 86 | m_Controller: {fileID: 9100000} 87 | --- !u!1102 &110200000 88 | State: 89 | m_ObjectHideFlags: 3 90 | m_PrefabParentObject: {fileID: 0} 91 | m_PrefabInternal: {fileID: 0} 92 | m_Name: Uni 93 | m_Speed: 2 94 | m_CycleOffset: 0 95 | m_Motions: 96 | - {fileID: 7400000} 97 | m_ParentStateMachine: {fileID: 110700000} 98 | m_Position: {x: 36, y: -48, z: 0} 99 | m_IKOnFeet: 0 100 | m_Mirror: 0 101 | m_Tag: 102 | --- !u!1107 &110700000 103 | StateMachine: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 3 106 | m_PrefabParentObject: {fileID: 0} 107 | m_PrefabInternal: {fileID: 0} 108 | m_Name: Base Layer 109 | m_DefaultState: {fileID: 110200000} 110 | m_States: 111 | - {fileID: 110200000} 112 | m_ChildStateMachine: [] 113 | m_ChildStateMachinePosition: [] 114 | m_OrderedTransitions: {} 115 | m_MotionSetCount: 1 116 | m_AnyStatePosition: {x: 50, y: 20, z: 0} 117 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} 118 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Animations/uni.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5169a0782b524a0b87d30d65b0b0562 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a5ce2735b3244abe9457ef6a9b64982 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Fonts/slkscrb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Fonts/slkscrb.ttf -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Fonts/slkscrb.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 025dd04cabfc64bfc8094b98f02d2774 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e96cd65e8fdb34713b207da87b1dae9c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Block 1.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 212: {fileID: 21200000} 12 | - 61: {fileID: 6100000} 13 | - 114: {fileID: 11400000} 14 | m_Layer: 8 15 | m_Name: Block 1 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &400000 22 | Transform: 23 | m_ObjectHideFlags: 1 24 | m_PrefabParentObject: {fileID: 0} 25 | m_PrefabInternal: {fileID: 100100000} 26 | m_GameObject: {fileID: 100000} 27 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 28 | m_LocalPosition: {x: 0, y: 0, z: 0} 29 | m_LocalScale: {x: 1, y: 1, z: 1} 30 | m_Children: [] 31 | m_Father: {fileID: 0} 32 | --- !u!61 &6100000 33 | BoxCollider2D: 34 | m_ObjectHideFlags: 1 35 | m_PrefabParentObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | m_GameObject: {fileID: 100000} 38 | m_Enabled: 1 39 | m_Material: {fileID: 0} 40 | m_IsTrigger: 0 41 | m_Size: {x: 2, y: 2} 42 | m_Center: {x: 0, y: 0} 43 | --- !u!114 &11400000 44 | MonoBehaviour: 45 | m_ObjectHideFlags: 1 46 | m_PrefabParentObject: {fileID: 0} 47 | m_PrefabInternal: {fileID: 100100000} 48 | m_GameObject: {fileID: 100000} 49 | m_Enabled: 1 50 | m_EditorHideFlags: 0 51 | m_Script: {fileID: 11500000, guid: e650b25e2adf841418d4a978477cac58, type: 3} 52 | m_Name: 53 | m_EditorClassIdentifier: 54 | whatIsPlayer: 55 | serializedVersion: 2 56 | m_Bits: 512 57 | brokenBlock: {fileID: 100008, guid: caf0deeb142564d5bbcd349ae1f3e6a3, type: 2} 58 | hitClip: {fileID: 0} 59 | canBreak: 1 60 | --- !u!212 &21200000 61 | SpriteRenderer: 62 | m_ObjectHideFlags: 1 63 | m_PrefabParentObject: {fileID: 0} 64 | m_PrefabInternal: {fileID: 100100000} 65 | m_GameObject: {fileID: 100000} 66 | m_Enabled: 1 67 | m_CastShadows: 0 68 | m_ReceiveShadows: 0 69 | m_LightmapIndex: 255 70 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 71 | m_Materials: 72 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 73 | m_SubsetIndices: 74 | m_StaticBatchRoot: {fileID: 0} 75 | m_UseLightProbes: 0 76 | m_LightProbeAnchor: {fileID: 0} 77 | m_ScaleInLightmap: 1 78 | m_SortingLayer: 0 79 | m_SortingOrder: 0 80 | m_SortingLayerID: 0 81 | m_Sprite: {fileID: 21300002, guid: 94d63e1a3278641a1b6602137680534f, type: 3} 82 | m_Color: {r: 1, g: 1, b: 1, a: 1} 83 | --- !u!1001 &100100000 84 | Prefab: 85 | m_ObjectHideFlags: 1 86 | serializedVersion: 2 87 | m_Modification: 88 | m_TransformParent: {fileID: 0} 89 | m_Modifications: [] 90 | m_RemovedComponents: [] 91 | m_ParentPrefab: {fileID: 0} 92 | m_RootGameObject: {fileID: 100000} 93 | m_IsPrefabParent: 1 94 | m_IsExploded: 1 95 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Block 1.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d48e37a4bc314299ba002c9549b7ef9 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Block 2.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 212: {fileID: 21200000} 12 | - 61: {fileID: 6100000} 13 | - 114: {fileID: 11400000} 14 | m_Layer: 8 15 | m_Name: Block 2 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &400000 22 | Transform: 23 | m_ObjectHideFlags: 1 24 | m_PrefabParentObject: {fileID: 0} 25 | m_PrefabInternal: {fileID: 100100000} 26 | m_GameObject: {fileID: 100000} 27 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 28 | m_LocalPosition: {x: 0, y: 0, z: 0} 29 | m_LocalScale: {x: 1, y: 1, z: 1} 30 | m_Children: [] 31 | m_Father: {fileID: 0} 32 | --- !u!61 &6100000 33 | BoxCollider2D: 34 | m_ObjectHideFlags: 1 35 | m_PrefabParentObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | m_GameObject: {fileID: 100000} 38 | m_Enabled: 1 39 | m_Material: {fileID: 0} 40 | m_IsTrigger: 0 41 | m_Size: {x: 2, y: 2} 42 | m_Center: {x: 0, y: 0} 43 | --- !u!114 &11400000 44 | MonoBehaviour: 45 | m_ObjectHideFlags: 1 46 | m_PrefabParentObject: {fileID: 0} 47 | m_PrefabInternal: {fileID: 100100000} 48 | m_GameObject: {fileID: 100000} 49 | m_Enabled: 1 50 | m_EditorHideFlags: 0 51 | m_Script: {fileID: 11500000, guid: e650b25e2adf841418d4a978477cac58, type: 3} 52 | m_Name: 53 | m_EditorClassIdentifier: 54 | whatIsPlayer: 55 | serializedVersion: 2 56 | m_Bits: 512 57 | brokenBlock: {fileID: 0} 58 | hitClip: {fileID: 8300000, guid: 7f8143aad405640449bf253091449c6b, type: 3} 59 | canBreak: 0 60 | --- !u!212 &21200000 61 | SpriteRenderer: 62 | m_ObjectHideFlags: 1 63 | m_PrefabParentObject: {fileID: 0} 64 | m_PrefabInternal: {fileID: 100100000} 65 | m_GameObject: {fileID: 100000} 66 | m_Enabled: 1 67 | m_CastShadows: 0 68 | m_ReceiveShadows: 0 69 | m_LightmapIndex: 255 70 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 71 | m_Materials: 72 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 73 | m_SubsetIndices: 74 | m_StaticBatchRoot: {fileID: 0} 75 | m_UseLightProbes: 0 76 | m_LightProbeAnchor: {fileID: 0} 77 | m_ScaleInLightmap: 1 78 | m_SortingLayer: 0 79 | m_SortingOrder: 0 80 | m_SortingLayerID: 0 81 | m_Sprite: {fileID: 21300004, guid: 94d63e1a3278641a1b6602137680534f, type: 3} 82 | m_Color: {r: 1, g: 1, b: 1, a: 1} 83 | --- !u!1001 &100100000 84 | Prefab: 85 | m_ObjectHideFlags: 1 86 | serializedVersion: 2 87 | m_Modification: 88 | m_TransformParent: {fileID: 0} 89 | m_Modifications: [] 90 | m_RemovedComponents: [] 91 | m_ParentPrefab: {fileID: 0} 92 | m_RootGameObject: {fileID: 100000} 93 | m_IsPrefabParent: 1 94 | m_IsExploded: 1 95 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Block 2.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4e5a4326cc6447f885d6491a4a7543e 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/BrokenBlock.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 212: {fileID: 21200000} 12 | - 50: {fileID: 5000006} 13 | m_Layer: 0 14 | m_Name: block_7 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!1 &100002 21 | GameObject: 22 | m_ObjectHideFlags: 0 23 | m_PrefabParentObject: {fileID: 0} 24 | m_PrefabInternal: {fileID: 100100000} 25 | serializedVersion: 4 26 | m_Component: 27 | - 4: {fileID: 400002} 28 | - 212: {fileID: 21200002} 29 | - 50: {fileID: 5000004} 30 | m_Layer: 0 31 | m_Name: block_6 32 | m_TagString: Untagged 33 | m_Icon: {fileID: 0} 34 | m_NavMeshLayer: 0 35 | m_StaticEditorFlags: 0 36 | m_IsActive: 1 37 | --- !u!1 &100004 38 | GameObject: 39 | m_ObjectHideFlags: 0 40 | m_PrefabParentObject: {fileID: 0} 41 | m_PrefabInternal: {fileID: 100100000} 42 | serializedVersion: 4 43 | m_Component: 44 | - 4: {fileID: 400004} 45 | - 212: {fileID: 21200004} 46 | - 50: {fileID: 5000000} 47 | m_Layer: 0 48 | m_Name: block_5 49 | m_TagString: Untagged 50 | m_Icon: {fileID: 0} 51 | m_NavMeshLayer: 0 52 | m_StaticEditorFlags: 0 53 | m_IsActive: 1 54 | --- !u!1 &100006 55 | GameObject: 56 | m_ObjectHideFlags: 0 57 | m_PrefabParentObject: {fileID: 0} 58 | m_PrefabInternal: {fileID: 100100000} 59 | serializedVersion: 4 60 | m_Component: 61 | - 4: {fileID: 400006} 62 | - 212: {fileID: 21200006} 63 | - 50: {fileID: 5000002} 64 | m_Layer: 0 65 | m_Name: block_4 66 | m_TagString: Untagged 67 | m_Icon: {fileID: 0} 68 | m_NavMeshLayer: 0 69 | m_StaticEditorFlags: 0 70 | m_IsActive: 1 71 | --- !u!1 &100008 72 | GameObject: 73 | m_ObjectHideFlags: 0 74 | m_PrefabParentObject: {fileID: 0} 75 | m_PrefabInternal: {fileID: 100100000} 76 | serializedVersion: 4 77 | m_Component: 78 | - 4: {fileID: 400008} 79 | - 114: {fileID: 11400000} 80 | m_Layer: 0 81 | m_Name: BrokenBlock 82 | m_TagString: Untagged 83 | m_Icon: {fileID: 0} 84 | m_NavMeshLayer: 0 85 | m_StaticEditorFlags: 0 86 | m_IsActive: 1 87 | --- !u!4 &400000 88 | Transform: 89 | m_ObjectHideFlags: 1 90 | m_PrefabParentObject: {fileID: 0} 91 | m_PrefabInternal: {fileID: 100100000} 92 | m_GameObject: {fileID: 100000} 93 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 94 | m_LocalPosition: {x: -.5, y: -.5, z: 0} 95 | m_LocalScale: {x: 1, y: 1, z: 1} 96 | m_Children: [] 97 | m_Father: {fileID: 400008} 98 | --- !u!4 &400002 99 | Transform: 100 | m_ObjectHideFlags: 1 101 | m_PrefabParentObject: {fileID: 0} 102 | m_PrefabInternal: {fileID: 100100000} 103 | m_GameObject: {fileID: 100002} 104 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 105 | m_LocalPosition: {x: .5, y: -.5, z: 0} 106 | m_LocalScale: {x: 1, y: 1, z: 1} 107 | m_Children: [] 108 | m_Father: {fileID: 400008} 109 | --- !u!4 &400004 110 | Transform: 111 | m_ObjectHideFlags: 1 112 | m_PrefabParentObject: {fileID: 0} 113 | m_PrefabInternal: {fileID: 100100000} 114 | m_GameObject: {fileID: 100004} 115 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 116 | m_LocalPosition: {x: .5, y: .5, z: 0} 117 | m_LocalScale: {x: 1, y: 1, z: 1} 118 | m_Children: [] 119 | m_Father: {fileID: 400008} 120 | --- !u!4 &400006 121 | Transform: 122 | m_ObjectHideFlags: 1 123 | m_PrefabParentObject: {fileID: 0} 124 | m_PrefabInternal: {fileID: 100100000} 125 | m_GameObject: {fileID: 100006} 126 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 127 | m_LocalPosition: {x: -.5, y: .5, z: 0} 128 | m_LocalScale: {x: 1, y: 1, z: 1} 129 | m_Children: [] 130 | m_Father: {fileID: 400008} 131 | --- !u!4 &400008 132 | Transform: 133 | m_ObjectHideFlags: 1 134 | m_PrefabParentObject: {fileID: 0} 135 | m_PrefabInternal: {fileID: 100100000} 136 | m_GameObject: {fileID: 100008} 137 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 138 | m_LocalPosition: {x: 0, y: 0, z: 0} 139 | m_LocalScale: {x: 1, y: 1, z: 1} 140 | m_Children: 141 | - {fileID: 400006} 142 | - {fileID: 400004} 143 | - {fileID: 400002} 144 | - {fileID: 400000} 145 | m_Father: {fileID: 0} 146 | --- !u!50 &5000000 147 | Rigidbody2D: 148 | m_ObjectHideFlags: 1 149 | m_PrefabParentObject: {fileID: 0} 150 | m_PrefabInternal: {fileID: 100100000} 151 | m_GameObject: {fileID: 100004} 152 | m_Mass: 1 153 | m_LinearDrag: 0 154 | m_AngularDrag: .100000001 155 | m_GravityScale: 12 156 | m_FixedAngle: 0 157 | m_IsKinematic: 0 158 | m_Interpolate: 0 159 | m_SleepingMode: 1 160 | m_CollisionDetection: 0 161 | --- !u!50 &5000002 162 | Rigidbody2D: 163 | m_ObjectHideFlags: 1 164 | m_PrefabParentObject: {fileID: 0} 165 | m_PrefabInternal: {fileID: 100100000} 166 | m_GameObject: {fileID: 100006} 167 | m_Mass: 1 168 | m_LinearDrag: 0 169 | m_AngularDrag: .100000001 170 | m_GravityScale: 12 171 | m_FixedAngle: 0 172 | m_IsKinematic: 0 173 | m_Interpolate: 0 174 | m_SleepingMode: 1 175 | m_CollisionDetection: 0 176 | --- !u!50 &5000004 177 | Rigidbody2D: 178 | m_ObjectHideFlags: 1 179 | m_PrefabParentObject: {fileID: 0} 180 | m_PrefabInternal: {fileID: 100100000} 181 | m_GameObject: {fileID: 100002} 182 | m_Mass: 1 183 | m_LinearDrag: 0 184 | m_AngularDrag: .100000001 185 | m_GravityScale: 12 186 | m_FixedAngle: 0 187 | m_IsKinematic: 0 188 | m_Interpolate: 0 189 | m_SleepingMode: 1 190 | m_CollisionDetection: 0 191 | --- !u!50 &5000006 192 | Rigidbody2D: 193 | m_ObjectHideFlags: 1 194 | m_PrefabParentObject: {fileID: 0} 195 | m_PrefabInternal: {fileID: 100100000} 196 | m_GameObject: {fileID: 100000} 197 | m_Mass: 1 198 | m_LinearDrag: 0 199 | m_AngularDrag: .100000001 200 | m_GravityScale: 12 201 | m_FixedAngle: 0 202 | m_IsKinematic: 0 203 | m_Interpolate: 0 204 | m_SleepingMode: 1 205 | m_CollisionDetection: 0 206 | --- !u!114 &11400000 207 | MonoBehaviour: 208 | m_ObjectHideFlags: 1 209 | m_PrefabParentObject: {fileID: 0} 210 | m_PrefabInternal: {fileID: 100100000} 211 | m_GameObject: {fileID: 100008} 212 | m_Enabled: 1 213 | m_EditorHideFlags: 0 214 | m_Script: {fileID: 11500000, guid: cbf7fcf2a5cfb4e55a5b4b7ae92b20aa, type: 3} 215 | m_Name: 216 | m_EditorClassIdentifier: 217 | breakClip: {fileID: 8300000, guid: a11d77af3c0be4eb684a4cf9f47ea146, type: 3} 218 | --- !u!212 &21200000 219 | SpriteRenderer: 220 | m_ObjectHideFlags: 1 221 | m_PrefabParentObject: {fileID: 0} 222 | m_PrefabInternal: {fileID: 100100000} 223 | m_GameObject: {fileID: 100000} 224 | m_Enabled: 1 225 | m_CastShadows: 0 226 | m_ReceiveShadows: 0 227 | m_LightmapIndex: 255 228 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 229 | m_Materials: 230 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 231 | m_SubsetIndices: 232 | m_StaticBatchRoot: {fileID: 0} 233 | m_UseLightProbes: 0 234 | m_LightProbeAnchor: {fileID: 0} 235 | m_ScaleInLightmap: 1 236 | m_SortingLayer: 0 237 | m_SortingOrder: 0 238 | m_SortingLayerID: 0 239 | m_Sprite: {fileID: 21300014, guid: 94d63e1a3278641a1b6602137680534f, type: 3} 240 | m_Color: {r: 1, g: 1, b: 1, a: 1} 241 | --- !u!212 &21200002 242 | SpriteRenderer: 243 | m_ObjectHideFlags: 1 244 | m_PrefabParentObject: {fileID: 0} 245 | m_PrefabInternal: {fileID: 100100000} 246 | m_GameObject: {fileID: 100002} 247 | m_Enabled: 1 248 | m_CastShadows: 0 249 | m_ReceiveShadows: 0 250 | m_LightmapIndex: 255 251 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 252 | m_Materials: 253 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 254 | m_SubsetIndices: 255 | m_StaticBatchRoot: {fileID: 0} 256 | m_UseLightProbes: 0 257 | m_LightProbeAnchor: {fileID: 0} 258 | m_ScaleInLightmap: 1 259 | m_SortingLayer: 0 260 | m_SortingOrder: 0 261 | m_SortingLayerID: 0 262 | m_Sprite: {fileID: 21300012, guid: 94d63e1a3278641a1b6602137680534f, type: 3} 263 | m_Color: {r: 1, g: 1, b: 1, a: 1} 264 | --- !u!212 &21200004 265 | SpriteRenderer: 266 | m_ObjectHideFlags: 1 267 | m_PrefabParentObject: {fileID: 0} 268 | m_PrefabInternal: {fileID: 100100000} 269 | m_GameObject: {fileID: 100004} 270 | m_Enabled: 1 271 | m_CastShadows: 0 272 | m_ReceiveShadows: 0 273 | m_LightmapIndex: 255 274 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 275 | m_Materials: 276 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 277 | m_SubsetIndices: 278 | m_StaticBatchRoot: {fileID: 0} 279 | m_UseLightProbes: 0 280 | m_LightProbeAnchor: {fileID: 0} 281 | m_ScaleInLightmap: 1 282 | m_SortingLayer: 0 283 | m_SortingOrder: 0 284 | m_SortingLayerID: 0 285 | m_Sprite: {fileID: 21300010, guid: 94d63e1a3278641a1b6602137680534f, type: 3} 286 | m_Color: {r: 1, g: 1, b: 1, a: 1} 287 | --- !u!212 &21200006 288 | SpriteRenderer: 289 | m_ObjectHideFlags: 1 290 | m_PrefabParentObject: {fileID: 0} 291 | m_PrefabInternal: {fileID: 100100000} 292 | m_GameObject: {fileID: 100006} 293 | m_Enabled: 1 294 | m_CastShadows: 0 295 | m_ReceiveShadows: 0 296 | m_LightmapIndex: 255 297 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 298 | m_Materials: 299 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 300 | m_SubsetIndices: 301 | m_StaticBatchRoot: {fileID: 0} 302 | m_UseLightProbes: 0 303 | m_LightProbeAnchor: {fileID: 0} 304 | m_ScaleInLightmap: 1 305 | m_SortingLayer: 0 306 | m_SortingOrder: 0 307 | m_SortingLayerID: 0 308 | m_Sprite: {fileID: 21300008, guid: 94d63e1a3278641a1b6602137680534f, type: 3} 309 | m_Color: {r: 1, g: 1, b: 1, a: 1} 310 | --- !u!1001 &100100000 311 | Prefab: 312 | m_ObjectHideFlags: 1 313 | serializedVersion: 2 314 | m_Modification: 315 | m_TransformParent: {fileID: 0} 316 | m_Modifications: [] 317 | m_RemovedComponents: [] 318 | m_ParentPrefab: {fileID: 0} 319 | m_RootGameObject: {fileID: 100008} 320 | m_IsPrefabParent: 1 321 | m_IsExploded: 1 322 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/BrokenBlock.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: caf0deeb142564d5bbcd349ae1f3e6a3 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Coin.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 212: {fileID: 21200000} 12 | - 95: {fileID: 9500000} 13 | - 58: {fileID: 5800000} 14 | - 114: {fileID: 11400000} 15 | m_Layer: 0 16 | m_Name: Coin 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!4 &400000 23 | Transform: 24 | m_ObjectHideFlags: 1 25 | m_PrefabParentObject: {fileID: 0} 26 | m_PrefabInternal: {fileID: 100100000} 27 | m_GameObject: {fileID: 100000} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | --- !u!58 &5800000 34 | CircleCollider2D: 35 | m_ObjectHideFlags: 1 36 | m_PrefabParentObject: {fileID: 0} 37 | m_PrefabInternal: {fileID: 100100000} 38 | m_GameObject: {fileID: 100000} 39 | m_Enabled: 1 40 | m_Material: {fileID: 0} 41 | m_IsTrigger: 1 42 | m_Radius: .5 43 | m_Center: {x: 0, y: 0} 44 | --- !u!95 &9500000 45 | Animator: 46 | serializedVersion: 2 47 | m_ObjectHideFlags: 1 48 | m_PrefabParentObject: {fileID: 0} 49 | m_PrefabInternal: {fileID: 100100000} 50 | m_GameObject: {fileID: 100000} 51 | m_Enabled: 1 52 | m_Avatar: {fileID: 0} 53 | m_Controller: {fileID: 9100000, guid: f014b09d44d6c4b6595fd977b3399bea, type: 2} 54 | m_CullingMode: 0 55 | m_ApplyRootMotion: 0 56 | m_AnimatePhysics: 0 57 | m_HasTransformHierarchy: 1 58 | --- !u!114 &11400000 59 | MonoBehaviour: 60 | m_ObjectHideFlags: 1 61 | m_PrefabParentObject: {fileID: 0} 62 | m_PrefabInternal: {fileID: 100100000} 63 | m_GameObject: {fileID: 100000} 64 | m_Enabled: 1 65 | m_EditorHideFlags: 0 66 | m_Script: {fileID: 11500000, guid: a6acb14db838b4eecaae0aacfa02e79b, type: 3} 67 | m_Name: 68 | m_EditorClassIdentifier: 69 | getCoin: {fileID: 8300000, guid: 71ccb8d2b0fe9404f8cc4f59bfaafab6, type: 3} 70 | --- !u!212 &21200000 71 | SpriteRenderer: 72 | m_ObjectHideFlags: 1 73 | m_PrefabParentObject: {fileID: 0} 74 | m_PrefabInternal: {fileID: 100100000} 75 | m_GameObject: {fileID: 100000} 76 | m_Enabled: 1 77 | m_CastShadows: 0 78 | m_ReceiveShadows: 0 79 | m_LightmapIndex: 255 80 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 81 | m_Materials: 82 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 83 | m_SubsetIndices: 84 | m_StaticBatchRoot: {fileID: 0} 85 | m_UseLightProbes: 0 86 | m_LightProbeAnchor: {fileID: 0} 87 | m_ScaleInLightmap: 1 88 | m_SortingLayer: 0 89 | m_SortingOrder: 0 90 | m_SortingLayerID: 0 91 | m_Sprite: {fileID: 21300000, guid: 82f6479c556d14828b9d953594ab4fd0, type: 3} 92 | m_Color: {r: 1, g: 1, b: 1, a: 1} 93 | --- !u!1001 &100100000 94 | Prefab: 95 | m_ObjectHideFlags: 1 96 | serializedVersion: 2 97 | m_Modification: 98 | m_TransformParent: {fileID: 0} 99 | m_Modifications: [] 100 | m_RemovedComponents: [] 101 | m_ParentPrefab: {fileID: 0} 102 | m_RootGameObject: {fileID: 100000} 103 | m_IsPrefabParent: 1 104 | m_IsExploded: 1 105 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Coin.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e698ee99f4e4443bda9ef4f8640c7ac0 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/DemoUnityChan2D.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 212: {fileID: 21200000} 12 | - 95: {fileID: 9500000} 13 | - 50: {fileID: 5000000} 14 | - 61: {fileID: 6100000} 15 | - 82: {fileID: 8200000} 16 | - 114: {fileID: 11400000} 17 | - 114: {fileID: 11400002} 18 | m_Layer: 9 19 | m_Name: DemoUnityChan2D 20 | m_TagString: Player 21 | m_Icon: {fileID: 0} 22 | m_NavMeshLayer: 0 23 | m_StaticEditorFlags: 0 24 | m_IsActive: 1 25 | --- !u!4 &400000 26 | Transform: 27 | m_ObjectHideFlags: 1 28 | m_PrefabParentObject: {fileID: 0} 29 | m_PrefabInternal: {fileID: 100100000} 30 | m_GameObject: {fileID: 100000} 31 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 32 | m_LocalPosition: {x: 0, y: 0, z: 10} 33 | m_LocalScale: {x: 1, y: 1, z: 1} 34 | m_Children: [] 35 | m_Father: {fileID: 0} 36 | --- !u!50 &5000000 37 | Rigidbody2D: 38 | m_ObjectHideFlags: 1 39 | m_PrefabParentObject: {fileID: 0} 40 | m_PrefabInternal: {fileID: 100100000} 41 | m_GameObject: {fileID: 100000} 42 | m_Mass: 1 43 | m_LinearDrag: 0 44 | m_AngularDrag: .0500000007 45 | m_GravityScale: 3.5 46 | m_FixedAngle: 1 47 | m_IsKinematic: 0 48 | m_Interpolate: 0 49 | m_SleepingMode: 1 50 | m_CollisionDetection: 0 51 | --- !u!61 &6100000 52 | BoxCollider2D: 53 | m_ObjectHideFlags: 1 54 | m_PrefabParentObject: {fileID: 0} 55 | m_PrefabInternal: {fileID: 100100000} 56 | m_GameObject: {fileID: 100000} 57 | m_Enabled: 1 58 | m_Material: {fileID: 6200000, guid: b16a8177aae984aed8618944cfd3e34a, type: 2} 59 | m_IsTrigger: 0 60 | m_Size: {x: 1, y: 2.5} 61 | m_Center: {x: 0, y: -.25} 62 | --- !u!82 &8200000 63 | AudioSource: 64 | m_ObjectHideFlags: 1 65 | m_PrefabParentObject: {fileID: 0} 66 | m_PrefabInternal: {fileID: 100100000} 67 | m_GameObject: {fileID: 100000} 68 | m_Enabled: 1 69 | serializedVersion: 3 70 | m_audioClip: {fileID: 0} 71 | m_PlayOnAwake: 0 72 | m_Volume: 1 73 | m_Pitch: 1 74 | Loop: 0 75 | Mute: 0 76 | Priority: 128 77 | DopplerLevel: 1 78 | MinDistance: 1 79 | MaxDistance: 500 80 | Pan2D: 0 81 | rolloffMode: 0 82 | BypassEffects: 0 83 | BypassListenerEffects: 0 84 | BypassReverbZones: 0 85 | rolloffCustomCurve: 86 | serializedVersion: 2 87 | m_Curve: 88 | - time: 0 89 | value: 1 90 | inSlope: 0 91 | outSlope: 0 92 | tangentMode: 0 93 | - time: 1 94 | value: 0 95 | inSlope: 0 96 | outSlope: 0 97 | tangentMode: 0 98 | m_PreInfinity: 2 99 | m_PostInfinity: 2 100 | panLevelCustomCurve: 101 | serializedVersion: 2 102 | m_Curve: 103 | - time: 0 104 | value: 1 105 | inSlope: 0 106 | outSlope: 0 107 | tangentMode: 0 108 | m_PreInfinity: 2 109 | m_PostInfinity: 2 110 | spreadCustomCurve: 111 | serializedVersion: 2 112 | m_Curve: 113 | - time: 0 114 | value: 0 115 | inSlope: 0 116 | outSlope: 0 117 | tangentMode: 0 118 | m_PreInfinity: 2 119 | m_PostInfinity: 2 120 | --- !u!95 &9500000 121 | Animator: 122 | serializedVersion: 2 123 | m_ObjectHideFlags: 1 124 | m_PrefabParentObject: {fileID: 0} 125 | m_PrefabInternal: {fileID: 100100000} 126 | m_GameObject: {fileID: 100000} 127 | m_Enabled: 1 128 | m_Avatar: {fileID: 0} 129 | m_Controller: {fileID: 9100000, guid: 3a2e89326cda64858a11433ffce27df7, type: 2} 130 | m_CullingMode: 0 131 | m_ApplyRootMotion: 0 132 | m_AnimatePhysics: 0 133 | m_HasTransformHierarchy: 1 134 | --- !u!114 &11400000 135 | MonoBehaviour: 136 | m_ObjectHideFlags: 1 137 | m_PrefabParentObject: {fileID: 0} 138 | m_PrefabInternal: {fileID: 100100000} 139 | m_GameObject: {fileID: 100000} 140 | m_Enabled: 1 141 | m_EditorHideFlags: 0 142 | m_Script: {fileID: 11500000, guid: 9a0152e6c9da34b73a86cf8b63b544e0, type: 3} 143 | m_Name: 144 | m_EditorClassIdentifier: 145 | maxSpeed: 10 146 | jumpPower: 1000 147 | backwardForce: {x: -4.5, y: 5.4000001} 148 | whatIsGround: 149 | serializedVersion: 2 150 | m_Bits: 256 151 | --- !u!114 &11400002 152 | MonoBehaviour: 153 | m_ObjectHideFlags: 1 154 | m_PrefabParentObject: {fileID: 0} 155 | m_PrefabInternal: {fileID: 100100000} 156 | m_GameObject: {fileID: 100000} 157 | m_Enabled: 1 158 | m_EditorHideFlags: 0 159 | m_Script: {fileID: 11500000, guid: 5153fce4e03b24f98ae7fedc8e09fb79, type: 3} 160 | m_Name: 161 | m_EditorClassIdentifier: 162 | damageVoice: {fileID: 8300000, guid: 668a107660fa54fe98e03b698a09aa49, type: 3} 163 | jumpVoices: 164 | - {fileID: 8300000, guid: 7e1e32c51f4da464c97260039524fe15, type: 3} 165 | - {fileID: 8300000, guid: 91c291b784ff846febdd7e04e295f4fa, type: 3} 166 | clearVoice: {fileID: 8300000, guid: 752f3604d760a4929a1a81d203125e4f, type: 3} 167 | timeOverVoice: {fileID: 8300000, guid: 431f7b07d1e854f14860c28585f9b9d4, type: 3} 168 | --- !u!212 &21200000 169 | SpriteRenderer: 170 | m_ObjectHideFlags: 1 171 | m_PrefabParentObject: {fileID: 0} 172 | m_PrefabInternal: {fileID: 100100000} 173 | m_GameObject: {fileID: 100000} 174 | m_Enabled: 1 175 | m_CastShadows: 0 176 | m_ReceiveShadows: 0 177 | m_LightmapIndex: 255 178 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 179 | m_Materials: 180 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 181 | m_SubsetIndices: 182 | m_StaticBatchRoot: {fileID: 0} 183 | m_UseLightProbes: 0 184 | m_LightProbeAnchor: {fileID: 0} 185 | m_ScaleInLightmap: 1 186 | m_SortingLayer: 0 187 | m_SortingOrder: 0 188 | m_SortingLayerID: 0 189 | m_Sprite: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 190 | m_Color: {r: 1, g: 1, b: 1, a: 1} 191 | --- !u!1001 &100100000 192 | Prefab: 193 | m_ObjectHideFlags: 1 194 | serializedVersion: 2 195 | m_Modification: 196 | m_TransformParent: {fileID: 0} 197 | m_Modifications: [] 198 | m_RemovedComponents: [] 199 | m_ParentPrefab: {fileID: 0} 200 | m_RootGameObject: {fileID: 100000} 201 | m_IsPrefabParent: 1 202 | m_IsExploded: 1 203 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/DemoUnityChan2D.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3ff126a806b2454eaff021fe39cea19 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Uni.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 212: {fileID: 21200000} 12 | - 95: {fileID: 9500000} 13 | - 58: {fileID: 5800000} 14 | m_Layer: 0 15 | m_Name: Uni 16 | m_TagString: DamageObject 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &400000 22 | Transform: 23 | m_ObjectHideFlags: 1 24 | m_PrefabParentObject: {fileID: 0} 25 | m_PrefabInternal: {fileID: 100100000} 26 | m_GameObject: {fileID: 100000} 27 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 28 | m_LocalPosition: {x: 0, y: 0, z: 0} 29 | m_LocalScale: {x: 1, y: 1, z: 1} 30 | m_Children: [] 31 | m_Father: {fileID: 0} 32 | --- !u!58 &5800000 33 | CircleCollider2D: 34 | m_ObjectHideFlags: 1 35 | m_PrefabParentObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | m_GameObject: {fileID: 100000} 38 | m_Enabled: 1 39 | m_Material: {fileID: 0} 40 | m_IsTrigger: 1 41 | m_Radius: .5 42 | m_Center: {x: 0, y: 0} 43 | --- !u!95 &9500000 44 | Animator: 45 | serializedVersion: 2 46 | m_ObjectHideFlags: 1 47 | m_PrefabParentObject: {fileID: 0} 48 | m_PrefabInternal: {fileID: 100100000} 49 | m_GameObject: {fileID: 100000} 50 | m_Enabled: 1 51 | m_Avatar: {fileID: 0} 52 | m_Controller: {fileID: 9100000, guid: d5169a0782b524a0b87d30d65b0b0562, type: 2} 53 | m_CullingMode: 0 54 | m_ApplyRootMotion: 0 55 | m_AnimatePhysics: 0 56 | m_HasTransformHierarchy: 1 57 | --- !u!212 &21200000 58 | SpriteRenderer: 59 | m_ObjectHideFlags: 1 60 | m_PrefabParentObject: {fileID: 0} 61 | m_PrefabInternal: {fileID: 100100000} 62 | m_GameObject: {fileID: 100000} 63 | m_Enabled: 1 64 | m_CastShadows: 0 65 | m_ReceiveShadows: 0 66 | m_LightmapIndex: 255 67 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 68 | m_Materials: 69 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 70 | m_SubsetIndices: 71 | m_StaticBatchRoot: {fileID: 0} 72 | m_UseLightProbes: 0 73 | m_LightProbeAnchor: {fileID: 0} 74 | m_ScaleInLightmap: 1 75 | m_SortingLayer: 0 76 | m_SortingOrder: 0 77 | m_SortingLayerID: 0 78 | m_Sprite: {fileID: 21300000, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 79 | m_Color: {r: 1, g: 1, b: 1, a: 1} 80 | --- !u!1001 &100100000 81 | Prefab: 82 | m_ObjectHideFlags: 1 83 | serializedVersion: 2 84 | m_Modification: 85 | m_TransformParent: {fileID: 0} 86 | m_Modifications: [] 87 | m_RemovedComponents: [] 88 | m_ParentPrefab: {fileID: 0} 89 | m_RootGameObject: {fileID: 100000} 90 | m_IsPrefabParent: 1 91 | m_IsExploded: 1 92 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Prefabs/Uni.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc8e0417fb4494ca38ac4188f7f6d1c3 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 770342e2eac2c4a8d88d4352a2d3ded7 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scenes/Intro 1-1.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b624da3e00d714908a6ad67aba8ddba4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scenes/Loading 1-1.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a35423fc824db4fcab5346624a89eadd 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scenes/Start.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b763c98f277cc420aa68ceb3fc0daf82 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scenes/World 1-1.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc1bc11bd56944cb68646a65a5fff077 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ee4aecd7020c4d7d96ecddd7de4ca18 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/AudioSourceController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [RequireComponent(typeof(AudioSource))] 5 | public class AudioSourceController : MonoBehaviour 6 | { 7 | private static AudioSourceController m_instance; 8 | public static AudioSourceController instance 9 | { 10 | get 11 | { 12 | if (m_instance == null) 13 | { 14 | m_instance = FindObjectOfType(); 15 | 16 | if (m_instance == null) 17 | { 18 | m_instance = new GameObject("AudioSourceController").AddComponent(); 19 | } 20 | } 21 | return m_instance; 22 | } 23 | } 24 | 25 | public void PlayOneShot(AudioClip clip) 26 | { 27 | audio.PlayOneShot(clip); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/AudioSourceController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 193551bdd520b4b27bcbf3e3916afb72 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/BlockController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class BlockController : MonoBehaviour 4 | { 5 | public LayerMask whatIsPlayer; 6 | 7 | public GameObject brokenBlock; 8 | 9 | public AudioClip hitClip; 10 | 11 | public bool canBreak; 12 | 13 | private BoxCollider2D m_boxCollider2D; 14 | 15 | private void Awake() 16 | { 17 | m_boxCollider2D = GetComponent(); 18 | } 19 | 20 | private void OnCollisionEnter2D(Collision2D collision2D) 21 | { 22 | if (collision2D.gameObject.tag == "Player") 23 | { 24 | Vector2 pos = transform.position; 25 | Vector2 groundCheck = new Vector2(pos.x, pos.y - transform.lossyScale.y); 26 | Vector2 groundArea = new Vector2(m_boxCollider2D.size.x * transform.lossyScale.y * 0.45f, 0.05f); 27 | var col2D = Physics2D.OverlapArea(groundCheck + groundArea, groundCheck - groundArea, whatIsPlayer); 28 | 29 | if (col2D) 30 | { 31 | if (canBreak) 32 | { 33 | GameObject broken = (GameObject) Instantiate(brokenBlock, transform.position, transform.rotation); 34 | broken.transform.localScale = transform.lossyScale; 35 | Destroy(gameObject); 36 | } 37 | else 38 | { 39 | AudioSourceController.instance.PlayOneShot(hitClip); 40 | } 41 | } 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/BlockController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e650b25e2adf841418d4a978477cac58 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/BrokenBlockController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using UnityEngine; 4 | public class BrokenBlockController : MonoBehaviour 5 | { 6 | public AudioClip breakClip; 7 | 8 | public Vector2 force = new Vector2(250, 1000); 9 | 10 | private Rigidbody2D[] rigidbody2Ds; 11 | private Transform[] transforms; 12 | void Awake() 13 | { 14 | rigidbody2Ds = GetComponentsInChildren(); 15 | } 16 | 17 | void Start() 18 | { 19 | 20 | IEnumerable> groupBy = rigidbody2Ds.GroupBy(r => r.transform.localPosition.y); 21 | 22 | foreach (IGrouping grouping in groupBy) 23 | { 24 | foreach (var r in grouping) 25 | { 26 | r.AddForce(new Vector2(Mathf.Sign(r.transform.localPosition.x) * force.x, force.y + (100 * grouping.Key))); 27 | } 28 | } 29 | AudioSourceController.instance.PlayOneShot(breakClip); 30 | Destroy(gameObject, 3); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/BrokenBlockController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbf7fcf2a5cfb4e55a5b4b7ae92b20aa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/CameraController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(Camera))] 6 | public class CameraController : MonoBehaviour 7 | { 8 | public Transform target; 9 | public Transform stopPosition; 10 | 11 | [SceneName] 12 | public string nextLevel; 13 | 14 | private Camera m_camera; 15 | 16 | void Awake() 17 | { 18 | m_camera = GetComponent(); 19 | } 20 | 21 | void LateUpdate() 22 | { 23 | var right = m_camera.ViewportToWorldPoint(Vector2.right); 24 | var center = m_camera.ViewportToWorldPoint(Vector2.one * 0.5f); 25 | 26 | if (center.x < target.position.x) 27 | { 28 | var pos = m_camera.transform.position; 29 | 30 | if (Math.Abs(pos.x - target.position.x) >= 0.0000001f) 31 | { 32 | m_camera.transform.position = new Vector3(target.position.x, pos.y, pos.z); 33 | } 34 | } 35 | 36 | if (stopPosition.position.x - right.x < 0) 37 | { 38 | StartCoroutine(INTERNAL_Clear()); 39 | enabled = false; 40 | } 41 | } 42 | 43 | private IEnumerator INTERNAL_Clear() 44 | { 45 | var player = GameObject.FindGameObjectWithTag("Player"); 46 | 47 | if (player) 48 | { 49 | player.SendMessage("Clear", SendMessageOptions.DontRequireReceiver); 50 | } 51 | 52 | yield return new WaitForSeconds(3); 53 | 54 | Application.LoadLevel(nextLevel); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/CameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3c1ecc9ba42a4dbaa36d2f89cf8ce17 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/CoinController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | 4 | public class CoinController : MonoBehaviour 5 | { 6 | public AudioClip getCoin; 7 | void OnTriggerEnter2D(Collider2D other) 8 | { 9 | if (other.tag == "Player") 10 | { 11 | PointController.instance.AddCoin(); 12 | AudioSourceController.instance.PlayOneShot(getCoin); 13 | Destroy(gameObject); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/CoinController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6acb14db838b4eecaae0aacfa02e79b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/Demo.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | [RequireComponent(typeof(UnityChan2DController), typeof(AudioSource))] 4 | public class Demo : MonoBehaviour 5 | { 6 | [SerializeField] 7 | private AudioClip damageVoice; 8 | 9 | [SerializeField] 10 | private AudioClip[] jumpVoices; 11 | 12 | [SerializeField] 13 | private AudioClip clearVoice; 14 | 15 | [SerializeField] 16 | private AudioClip timeOverVoice; 17 | 18 | private AudioSource audioSource; 19 | 20 | void Awake() 21 | { 22 | audioSource = GetComponent(); 23 | } 24 | 25 | void OnDamage() 26 | { 27 | PlayVoice(damageVoice); 28 | } 29 | 30 | void Jump() 31 | { 32 | int i = Random.Range(0, jumpVoices.Length); 33 | PlayVoice(jumpVoices[i]); 34 | } 35 | 36 | void Clear() 37 | { 38 | PlayVoice(clearVoice); 39 | } 40 | 41 | void TimeOver() 42 | { 43 | PlayVoice(timeOverVoice); 44 | } 45 | 46 | void PlayVoice(AudioClip voice) 47 | { 48 | audioSource.Stop(); 49 | audioSource.PlayOneShot(voice); 50 | } 51 | } -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/Demo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5153fce4e03b24f98ae7fedc8e09fb79 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/IntroCameraController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [RequireComponent(typeof(AudioSource))] 5 | public class IntroCameraController : MonoBehaviour 6 | { 7 | public Transform target; 8 | 9 | private Vector3 pos; 10 | 11 | [SceneName] 12 | public string nextLevel; 13 | 14 | IEnumerator Start() 15 | { 16 | pos = transform.position; 17 | 18 | yield return new WaitForSeconds(audio.clip.length + 1); 19 | 20 | Application.LoadLevel(nextLevel); 21 | } 22 | 23 | void Update() 24 | { 25 | float newPosition = Mathf.SmoothStep(pos.x, target.position.x, Time.timeSinceLevelLoad / audio.clip.length); 26 | 27 | transform.position = new Vector3(newPosition, pos.y, pos.z); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/IntroCameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0613740f5ebe482686064907e7770bb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/LoadingController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class LoadingController : MonoBehaviour 5 | { 6 | [SceneName] 7 | public string nextLevel; 8 | 9 | IEnumerator Start() 10 | { 11 | yield return new WaitForSeconds(3); 12 | 13 | Application.LoadLevel(nextLevel); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/LoadingController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ebf29084489744e58be6f44015ff7d0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/Loop.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class Loop : MonoBehaviour 4 | { 5 | public Collider2D to; 6 | public float offsetX; 7 | void OnTriggerEnter2D(Collider2D other) 8 | { 9 | if (other.tag != "Player") return; 10 | 11 | var pos = to.transform.position; 12 | 13 | other.transform.position = new Vector2(pos.x + offsetX, other.transform.position.y); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/Loop.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb562e687e4594ad7b79336b954dd49a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/PointController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | public class PointController : MonoBehaviour 5 | { 6 | 7 | public GUIText total; 8 | public GUIText coin; 9 | 10 | private static PointController m_instance; 11 | 12 | public static PointController instance 13 | { 14 | get 15 | { 16 | if (m_instance == false) 17 | { 18 | m_instance = FindObjectOfType(); 19 | } 20 | return m_instance; 21 | } 22 | } 23 | 24 | public void AddCoin() 25 | { 26 | coin.text = (Convert.ToInt32(coin.text) + 1).ToString("00"); 27 | total.text = (Convert.ToInt32(total.text) + 100).ToString("0000000"); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/PointController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07a97194c6e5a4499a60e2b8096ed04b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/SceneNameAttribute.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | #if UNITY_EDITOR 3 | using UnityEditor; 4 | using System.Linq; 5 | using System.Collections.Generic; 6 | #endif 7 | public class SceneNameAttribute : PropertyAttribute 8 | { 9 | public int selectedValue = 0; 10 | public bool enableOnly = true; 11 | public SceneNameAttribute(bool enableOnly = true) 12 | { 13 | this.enableOnly = enableOnly; 14 | } 15 | } 16 | 17 | 18 | #if UNITY_EDITOR 19 | 20 | [CustomPropertyDrawer(typeof(SceneNameAttribute))] 21 | public class SceneNameDrawer : PropertyDrawer 22 | { 23 | private SceneNameAttribute sceneNameAttribute 24 | { 25 | get 26 | { 27 | return (SceneNameAttribute)attribute; 28 | } 29 | } 30 | 31 | 32 | public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) 33 | { 34 | string[] sceneNames = GetEnabledSceneNames(); 35 | 36 | if (sceneNames.Length == 0) 37 | { 38 | EditorGUI.LabelField(position, ObjectNames.NicifyVariableName(property.name), "Scene is Empty"); 39 | return; 40 | } 41 | 42 | var sceneNumbers = new int[sceneNames.Length]; 43 | 44 | SetSceneNambers(sceneNumbers, sceneNames); 45 | 46 | if (!string.IsNullOrEmpty(property.stringValue)) 47 | sceneNameAttribute.selectedValue = GetIndex(sceneNames, property.stringValue); 48 | 49 | sceneNameAttribute.selectedValue = EditorGUI.IntPopup(position, label.text, sceneNameAttribute.selectedValue, sceneNames, sceneNumbers); 50 | 51 | property.stringValue = sceneNames[sceneNameAttribute.selectedValue]; 52 | } 53 | 54 | string[] GetEnabledSceneNames() 55 | { 56 | var scenes = (sceneNameAttribute.enableOnly ? EditorBuildSettings.scenes.Where(scene => scene.enabled) : EditorBuildSettings.scenes).ToList(); 57 | var sceneNames = new HashSet(); 58 | scenes.ForEach(scene => sceneNames.Add(scene.path.Substring(scene.path.LastIndexOf("/") + 1).Replace(".unity", string.Empty))); 59 | return sceneNames.ToArray(); 60 | } 61 | 62 | void SetSceneNambers(int[] sceneNumbers, string[] sceneNames) 63 | { 64 | for (var i = 0; i < sceneNames.Length; i++) 65 | { 66 | sceneNumbers[i] = i; 67 | } 68 | } 69 | 70 | int GetIndex(string[] sceneNames, string sceneName) 71 | { 72 | var result = 0; 73 | for (var i = 0; i < sceneNames.Length; i++) 74 | { 75 | if (sceneName == sceneNames[i]) 76 | { 77 | result = i; 78 | break; 79 | } 80 | } 81 | return result; 82 | } 83 | } 84 | #endif -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/SceneNameAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0da3ebd0f926d437bbba4ae4360a6f8c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/StartController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [RequireComponent(typeof(AudioSource))] 5 | public class StartController : MonoBehaviour 6 | { 7 | [SceneName] 8 | public string nextLevel; 9 | 10 | [SerializeField] 11 | private KeyCode enter = KeyCode.X; 12 | 13 | void Update() 14 | { 15 | if (Input.GetKeyDown(enter)) 16 | { 17 | StartCoroutine(LoadStage()); 18 | } 19 | } 20 | 21 | private IEnumerator LoadStage() 22 | { 23 | foreach (AudioSource audioS in FindObjectsOfType()) 24 | { 25 | audioS.volume = 0.2f; 26 | } 27 | 28 | AudioSource audioSource = GetComponent(); 29 | audioSource.volume = 1; 30 | 31 | audioSource.Play(); 32 | yield return new WaitForSeconds(audioSource.clip.length + 0.5f); 33 | Application.LoadLevel(nextLevel); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/StartController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 351b82b605ec74111a4cf942e0ca07bd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/TimeController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class TimeController : MonoBehaviour 5 | { 6 | public int time; 7 | [SceneName] 8 | public string nextLevel; 9 | 10 | public GUIText timer; 11 | 12 | 13 | 14 | void Update() 15 | { 16 | int remainingTime = time - Mathf.FloorToInt(Time.timeSinceLevelLoad * 2.5f); 17 | 18 | if (0 <= remainingTime) 19 | { 20 | timer.text = remainingTime.ToString("000"); 21 | } 22 | else 23 | { 24 | GameObject player = GameObject.FindGameObjectWithTag("Player"); 25 | if (player) 26 | { 27 | StartCoroutine(LoadNextLevel()); 28 | enabled = false; 29 | } 30 | } 31 | } 32 | 33 | private IEnumerator LoadNextLevel() 34 | { 35 | var player = GameObject.FindGameObjectWithTag("Player"); 36 | 37 | if (player) 38 | { 39 | player.SendMessage("TimeOver", SendMessageOptions.DontRequireReceiver); 40 | } 41 | 42 | yield return new WaitForSeconds(3); 43 | 44 | Application.LoadLevel(nextLevel); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Scripts/TimeController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f9c9deac86a8472aa957afc6d5e4551 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a26772eeeb26745fe848c4110874c849 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Music.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20d1f98bb64a446d985553d9df320a5c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Music/stage.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Music/stage.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Music/stage.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dd43bb437e454be4a5cffc8d1065c21 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Music/start.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Music/start.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Music/start.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d8028ae2a1cd43248c98d7ae1f6897f 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Music/title.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Music/title.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Music/title.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bad840230196b4efd987bf871d6a1e2b 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca155f44e8b57474eac02e05570e2e62 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/block_break.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/SE/block_break.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/block_break.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a11d77af3c0be4eb684a4cf9f47ea146 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/block_hit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/SE/block_hit.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/block_hit.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f8143aad405640449bf253091449c6b 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/get.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/SE/get.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/get.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71ccb8d2b0fe9404f8cc4f59bfaafab6 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/start.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/SE/start.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/SE/start.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be9248eb9c743471cb459a93bff52b56 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f1834bd495c54d2091d0259f762217a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/unity-chan_voice_list.txt: -------------------------------------------------------------------------------- 1 | 『ユニティちゃん』ボイスリスト 2 | (C)2014 Unity Technologies Japan 3 | 4 | 声優:角元明日香(スペースクラフト・エンタテインメント) 5 | 6 | univ0001.wav ユニティちゃん「やっ!」(ジャンプの際の声) かけ声 7 | univ0006.wav ユニティちゃん「やったー!」(楽しそうに) かけ声 8 | univ0010.wav ユニティちゃん「そんなぁ…」(残念そうに) かけ声 9 | univ1091 ユニティちゃん「きゃっ!」 被ダメージ -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/unity-chan_voice_list.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bbdf7c2e75e44551bccc0dc86b10a23 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0001.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Voice/univ0001.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0001.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e1e32c51f4da464c97260039524fe15 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0002_trim.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Voice/univ0002_trim.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0002_trim.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91c291b784ff846febdd7e04e295f4fa 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0006.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Voice/univ0006.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0006.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 752f3604d760a4929a1a81d203125e4f 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0010.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Voice/univ0010.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ0010.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 431f7b07d1e854f14860c28585f9b9d4 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ1091.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sounds/Voice/univ1091.wav -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sounds/Voice/univ1091.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 668a107660fa54fe98e03b698a09aa49 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: -1 6 | quality: .5 7 | stream: 1 8 | 3D: 0 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acf397e24a0fe47379b3331f0bfbb23d 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/BG_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/BG_01.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/BG_01.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1200c759395d04432a13311589c27192 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 1 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 100 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: [] 45 | spritePackingTag: sprites 46 | userData: 47 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/BG_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/BG_02.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/BG_02.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 312afb301ae5c47ea9d98652fa14c716 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 1 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 100 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: [] 45 | spritePackingTag: sprites 46 | userData: 47 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/Block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/Block.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/Block.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94d63e1a3278641a1b6602137680534f 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 2 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 8 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: 45 | - name: block_0 46 | rect: 47 | serializedVersion: 2 48 | x: 0 49 | y: 0 50 | width: 16 51 | height: 16 52 | alignment: 0 53 | pivot: {x: .5, y: .5} 54 | border: {x: 0, y: 0, z: 0, w: 0} 55 | - name: block_1 56 | rect: 57 | serializedVersion: 2 58 | x: 16 59 | y: 0 60 | width: 16 61 | height: 16 62 | alignment: 0 63 | pivot: {x: .5, y: .5} 64 | border: {x: 0, y: 0, z: 0, w: 0} 65 | - name: block_2 66 | rect: 67 | serializedVersion: 2 68 | x: 32 69 | y: 0 70 | width: 16 71 | height: 16 72 | alignment: 0 73 | pivot: {x: .5, y: .5} 74 | border: {x: 0, y: 0, z: 0, w: 0} 75 | - name: block_3 76 | rect: 77 | serializedVersion: 2 78 | x: 48 79 | y: 0 80 | width: 16 81 | height: 16 82 | alignment: 0 83 | pivot: {x: .5, y: .5} 84 | border: {x: 0, y: 0, z: 0, w: 0} 85 | - name: block_4 86 | rect: 87 | serializedVersion: 2 88 | x: 16 89 | y: 8 90 | width: 8 91 | height: 8 92 | alignment: 0 93 | pivot: {x: .5, y: .5} 94 | border: {x: 0, y: 0, z: 0, w: 0} 95 | - name: block_5 96 | rect: 97 | serializedVersion: 2 98 | x: 24 99 | y: 8 100 | width: 8 101 | height: 8 102 | alignment: 0 103 | pivot: {x: .5, y: .5} 104 | border: {x: 0, y: 0, z: 0, w: 0} 105 | - name: block_6 106 | rect: 107 | serializedVersion: 2 108 | x: 24 109 | y: 0 110 | width: 8 111 | height: 8 112 | alignment: 0 113 | pivot: {x: .5, y: .5} 114 | border: {x: 0, y: 0, z: 0, w: 0} 115 | - name: block_7 116 | rect: 117 | serializedVersion: 2 118 | x: 16 119 | y: 0 120 | width: 8 121 | height: 8 122 | alignment: 0 123 | pivot: {x: .5, y: .5} 124 | border: {x: 0, y: 0, z: 0, w: 0} 125 | spritePackingTag: 126 | userData: 127 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/Coin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/Coin.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/Coin.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82f6479c556d14828b9d953594ab4fd0 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 2 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 16 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: 45 | - name: coin_0 46 | rect: 47 | serializedVersion: 2 48 | x: 0 49 | y: 0 50 | width: 16 51 | height: 16 52 | alignment: 0 53 | pivot: {x: 0, y: 0} 54 | border: {x: 0, y: 0, z: 0, w: 0} 55 | - name: coin_1 56 | rect: 57 | serializedVersion: 2 58 | x: 16 59 | y: 0 60 | width: 16 61 | height: 16 62 | alignment: 0 63 | pivot: {x: 0, y: 0} 64 | border: {x: 0, y: 0, z: 0, w: 0} 65 | - name: coin_2 66 | rect: 67 | serializedVersion: 2 68 | x: 32 69 | y: 0 70 | width: 16 71 | height: 16 72 | alignment: 0 73 | pivot: {x: 0, y: 0} 74 | border: {x: 0, y: 0, z: 0, w: 0} 75 | spritePackingTag: 76 | userData: 77 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/UnityChan_8bit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/UnityChan_8bit.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/UnityChan_8bit.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0926581c884b5496eaea0bd8ad02ae7f 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 2 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 16 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: 45 | - name: UnityChan_8bit_0 46 | rect: 47 | serializedVersion: 2 48 | x: 37 49 | y: 96 50 | width: 17 51 | height: 20 52 | alignment: 0 53 | pivot: {x: .5, y: .5} 54 | border: {x: 0, y: 0, z: 0, w: 0} 55 | - name: UnityChan_8bit_1 56 | rect: 57 | serializedVersion: 2 58 | x: 91 59 | y: 98 60 | width: 21 61 | height: 19 62 | alignment: 0 63 | pivot: {x: .5, y: .5} 64 | border: {x: 0, y: 0, z: 0, w: 0} 65 | spritePackingTag: 66 | userData: 67 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/UnityChan_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/UnityChan_logo.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/UnityChan_logo.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f002bf1aa1444ef689a878337c3d985 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 1 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 15 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: [] 45 | spritePackingTag: sprites 46 | userData: 47 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/Write.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/Write.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/Write.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd3f327dc1fb6467cb9baf34e8c91300 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 1 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 4 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: [] 45 | spritePackingTag: 46 | userData: 47 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/uni.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Demo/Sprites/uni.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Demo/Sprites/uni.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15eb62b8c0b6c406abbfc0df4beffd81 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 2 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 32 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: 45 | - name: uni_0 46 | rect: 47 | serializedVersion: 2 48 | x: 0 49 | y: 0 50 | width: 32 51 | height: 32 52 | alignment: 0 53 | pivot: {x: 0, y: 0} 54 | border: {x: 0, y: 0, z: 0, w: 0} 55 | - name: uni_1 56 | rect: 57 | serializedVersion: 2 58 | x: 32 59 | y: 0 60 | width: 32 61 | height: 32 62 | alignment: 0 63 | pivot: {x: 0, y: 0} 64 | border: {x: 0, y: 0, z: 0, w: 0} 65 | - name: uni_2 66 | rect: 67 | serializedVersion: 2 68 | x: 64 69 | y: 0 70 | width: 32 71 | height: 32 72 | alignment: 0 73 | pivot: {x: 0, y: 0} 74 | border: {x: 0, y: 0, z: 0, w: 0} 75 | spritePackingTag: 76 | userData: 77 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Documents.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29e5149eb5d9449e18b6631c060ebfb4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Documents/Demoプロジェクトについて.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Documents/Demoプロジェクトについて.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/Documents/Demoプロジェクトについて.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 037df4bb95f2540b99ca5f34dcb8d60b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Documents/Introduction.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Documents/Introduction.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/Documents/Introduction.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fef7db6dcd9634027a96740db50184eb 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0147225686fbf4b66bc2daf3019988d4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbd6f5b8ac6cf49c1897f1f32485e448 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/Character Use Guidelines.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/ENGLISH/Character Use Guidelines.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/Character Use Guidelines.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 062fd5a58ac6d4580b9a2b395e7d86e5 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/LicenseNotice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/ENGLISH/LicenseNotice.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/LicenseNotice.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c63a3e913965c4904a6597fef7ecfb69 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/Summary Unity-Chan License.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/ENGLISH/Summary Unity-Chan License.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/Summary Unity-Chan License.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c156ee310fd424ce29fc16ecb6195b24 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/Unity-Chan License Terms and Condition.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/ENGLISH/Unity-Chan License Terms and Condition.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ENGLISH/Unity-Chan License Terms and Condition.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0906715dbf223451ab01ce73f7a90e59 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7558f44a052d3493391c93cfc4e2cf73 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_LOGO_rules02.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/License Logo/LUUL_LOGO_rules02.ai -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_LOGO_rules02.ai.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57d4631de55fe45ee904ace21a87fe92 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_LOGO_rules02.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/License Logo/LUUL_LOGO_rules02.psd -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_LOGO_rules02.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2aacbb8c0eb594221bc82082e258aa94 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 0 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spritePixelsToUnits: 100 39 | alphaIsTransparency: 0 40 | textureType: -1 41 | buildTargetSettings: [] 42 | spriteSheet: 43 | sprites: [] 44 | spritePackingTag: 45 | userData: 46 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_logo-guideline.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/License Logo/LUUL_logo-guideline.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_logo-guideline.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4d5e599bd03649d5af593b949dfc194 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_logo-guideline_en.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/License Logo/LUUL_logo-guideline_en.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/License Logo/LUUL_logo-guideline_en.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e38d156797c714c6f8e296dcf1db67d3 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/キャラクター利用のガイドライン.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/キャラクター利用のガイドライン.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/キャラクター利用のガイドライン.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f035f3a24af04655bae51b328c8d4b0 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ユニティちゃんライセンス条項.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/ユニティちゃんライセンス条項.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ユニティちゃんライセンス条項.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f432fb81115840ccbda4b43221b6ac6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ユニティちゃんライセンス条項・要約版.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/ユニティちゃんライセンス条項・要約版.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ユニティちゃんライセンス条項・要約版.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2df5b46f56e224bb7815f9f94410b60b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ライセンス表示について.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/License/ライセンス表示について.pdf -------------------------------------------------------------------------------- /Assets/UnityChan2D/License/ライセンス表示について.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05e9d7182271b40cbb2fbcfb3dcbd830 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Physics2DMaterials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61e2f9232c9f04f3f9f016f0593a9d0f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Physics2DMaterials/Physics2D Material.physicsMaterial2D: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!62 &6200000 4 | PhysicsMaterial2D: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Physics2D Material 9 | friction: 0 10 | bounciness: 0 11 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Physics2DMaterials/Physics2D Material.physicsMaterial2D.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b16a8177aae984aed8618944cfd3e34a 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6dedc7e203ce40c98a494c109329913 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Prefabs/UnityChan2D.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 212: {fileID: 21200000} 12 | - 95: {fileID: 9500000} 13 | - 50: {fileID: 5000000} 14 | - 61: {fileID: 6100000} 15 | - 114: {fileID: 11400000} 16 | m_Layer: 0 17 | m_Name: UnityChan2D 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 1 23 | --- !u!4 &400000 24 | Transform: 25 | m_ObjectHideFlags: 1 26 | m_PrefabParentObject: {fileID: 0} 27 | m_PrefabInternal: {fileID: 100100000} 28 | m_GameObject: {fileID: 100000} 29 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 30 | m_LocalPosition: {x: -1.83203351, y: 3.18558455, z: 0} 31 | m_LocalScale: {x: 1, y: 1, z: 1} 32 | m_Children: [] 33 | m_Father: {fileID: 0} 34 | m_RootOrder: 0 35 | --- !u!50 &5000000 36 | Rigidbody2D: 37 | m_ObjectHideFlags: 1 38 | m_PrefabParentObject: {fileID: 0} 39 | m_PrefabInternal: {fileID: 100100000} 40 | m_GameObject: {fileID: 100000} 41 | m_Mass: 1 42 | m_LinearDrag: 0 43 | m_AngularDrag: .0500000007 44 | m_GravityScale: 3.5 45 | m_FixedAngle: 1 46 | m_IsKinematic: 0 47 | m_Interpolate: 0 48 | m_SleepingMode: 0 49 | m_CollisionDetection: 0 50 | --- !u!61 &6100000 51 | BoxCollider2D: 52 | m_ObjectHideFlags: 1 53 | m_PrefabParentObject: {fileID: 0} 54 | m_PrefabInternal: {fileID: 100100000} 55 | m_GameObject: {fileID: 100000} 56 | m_Enabled: 1 57 | m_Material: {fileID: 6200000, guid: b16a8177aae984aed8618944cfd3e34a, type: 2} 58 | m_IsTrigger: 0 59 | m_Size: {x: 1, y: 2.5} 60 | m_Center: {x: 0, y: -.25} 61 | --- !u!95 &9500000 62 | Animator: 63 | serializedVersion: 3 64 | m_ObjectHideFlags: 1 65 | m_PrefabParentObject: {fileID: 0} 66 | m_PrefabInternal: {fileID: 100100000} 67 | m_GameObject: {fileID: 100000} 68 | m_Enabled: 1 69 | m_Avatar: {fileID: 0} 70 | m_Controller: {fileID: 9100000, guid: 3a2e89326cda64858a11433ffce27df7, type: 2} 71 | m_CullingMode: 0 72 | m_UpdateMode: 0 73 | m_ApplyRootMotion: 0 74 | m_HasTransformHierarchy: 1 75 | --- !u!114 &11400000 76 | MonoBehaviour: 77 | m_ObjectHideFlags: 1 78 | m_PrefabParentObject: {fileID: 0} 79 | m_PrefabInternal: {fileID: 100100000} 80 | m_GameObject: {fileID: 100000} 81 | m_Enabled: 1 82 | m_EditorHideFlags: 0 83 | m_Script: {fileID: 11500000, guid: 9a0152e6c9da34b73a86cf8b63b544e0, type: 3} 84 | m_Name: 85 | m_EditorClassIdentifier: 86 | maxSpeed: 10 87 | jumpPower: 1000 88 | backwardForce: {x: -4.5, y: 5.4000001} 89 | whatIsGround: 90 | serializedVersion: 2 91 | m_Bits: 256 92 | --- !u!212 &21200000 93 | SpriteRenderer: 94 | m_ObjectHideFlags: 1 95 | m_PrefabParentObject: {fileID: 0} 96 | m_PrefabInternal: {fileID: 100100000} 97 | m_GameObject: {fileID: 100000} 98 | m_Enabled: 1 99 | m_CastShadows: 0 100 | m_ReceiveShadows: 0 101 | m_LightmapIndex: 255 102 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 103 | m_Materials: 104 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 105 | m_SubsetIndices: 106 | m_StaticBatchRoot: {fileID: 0} 107 | m_UseLightProbes: 0 108 | m_LightProbeAnchor: {fileID: 0} 109 | m_ScaleInLightmap: 1 110 | m_SortingLayerID: 0 111 | m_SortingOrder: 0 112 | m_Sprite: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 113 | m_Color: {r: 1, g: 1, b: 1, a: 1} 114 | --- !u!1001 &100100000 115 | Prefab: 116 | m_ObjectHideFlags: 1 117 | serializedVersion: 2 118 | m_Modification: 119 | m_TransformParent: {fileID: 0} 120 | m_Modifications: [] 121 | m_RemovedComponents: [] 122 | m_ParentPrefab: {fileID: 0} 123 | m_RootGameObject: {fileID: 100000} 124 | m_IsPrefabParent: 1 125 | m_IsExploded: 1 126 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Prefabs/UnityChan2D.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1355a58c3bd9c40679bea54b926e0179 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7145148feeed4845a6cb20efe37cc73 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Scenes/Introduction_Demo.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | SceneSettings: 5 | m_ObjectHideFlags: 0 6 | m_PVSData: 7 | m_PVSObjectsArray: [] 8 | m_PVSPortalsArray: [] 9 | m_OcclusionBakeSettings: 10 | smallestOccluder: 5 11 | smallestHole: .25 12 | backfaceThreshold: 100 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_Fog: 0 16 | m_FogColor: {r: .5, g: .5, b: .5, a: 1} 17 | m_FogMode: 3 18 | m_FogDensity: .00999999978 19 | m_LinearFogStart: 0 20 | m_LinearFogEnd: 300 21 | m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} 22 | m_SkyboxMaterial: {fileID: 0} 23 | m_HaloStrength: .5 24 | m_FlareStrength: 1 25 | m_FlareFadeSpeed: 3 26 | m_HaloTexture: {fileID: 0} 27 | m_SpotCookie: {fileID: 0} 28 | m_ObjectHideFlags: 0 29 | --- !u!127 &3 30 | LevelGameManager: 31 | m_ObjectHideFlags: 0 32 | --- !u!157 &4 33 | LightmapSettings: 34 | m_ObjectHideFlags: 0 35 | m_LightProbes: {fileID: 0} 36 | m_Lightmaps: [] 37 | m_LightmapsMode: 1 38 | m_BakedColorSpace: 0 39 | m_UseDualLightmapsInForward: 0 40 | m_LightmapEditorSettings: 41 | m_Resolution: 50 42 | m_LastUsedResolution: 0 43 | m_TextureWidth: 1024 44 | m_TextureHeight: 1024 45 | m_BounceBoost: 1 46 | m_BounceIntensity: 1 47 | m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} 48 | m_SkyLightIntensity: 0 49 | m_Quality: 0 50 | m_Bounces: 1 51 | m_FinalGatherRays: 1000 52 | m_FinalGatherContrastThreshold: .0500000007 53 | m_FinalGatherGradientThreshold: 0 54 | m_FinalGatherInterpolationPoints: 15 55 | m_AOAmount: 0 56 | m_AOMaxDistance: .100000001 57 | m_AOContrast: 1 58 | m_LODSurfaceMappingDistance: 1 59 | m_Padding: 0 60 | m_TextureCompression: 0 61 | m_LockAtlas: 0 62 | --- !u!196 &5 63 | NavMeshSettings: 64 | m_ObjectHideFlags: 0 65 | m_BuildSettings: 66 | agentRadius: .5 67 | agentHeight: 2 68 | agentSlope: 45 69 | agentClimb: .400000006 70 | ledgeDropHeight: 0 71 | maxJumpAcrossDistance: 0 72 | accuratePlacement: 0 73 | minRegionArea: 2 74 | widthInaccuracy: 16.666666 75 | heightInaccuracy: 10 76 | m_NavMesh: {fileID: 0} 77 | --- !u!1 &394440779 78 | GameObject: 79 | m_ObjectHideFlags: 0 80 | m_PrefabParentObject: {fileID: 0} 81 | m_PrefabInternal: {fileID: 0} 82 | serializedVersion: 4 83 | m_Component: 84 | - 4: {fileID: 394440781} 85 | - 212: {fileID: 394440780} 86 | - 58: {fileID: 394440782} 87 | m_Layer: 0 88 | m_Name: uni_0 89 | m_TagString: DamageObject 90 | m_Icon: {fileID: 0} 91 | m_NavMeshLayer: 0 92 | m_StaticEditorFlags: 0 93 | m_IsActive: 1 94 | --- !u!212 &394440780 95 | SpriteRenderer: 96 | m_ObjectHideFlags: 0 97 | m_PrefabParentObject: {fileID: 0} 98 | m_PrefabInternal: {fileID: 0} 99 | m_GameObject: {fileID: 394440779} 100 | m_Enabled: 1 101 | m_CastShadows: 0 102 | m_ReceiveShadows: 0 103 | m_LightmapIndex: 255 104 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 105 | m_Materials: 106 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 107 | m_SubsetIndices: 108 | m_StaticBatchRoot: {fileID: 0} 109 | m_UseLightProbes: 0 110 | m_LightProbeAnchor: {fileID: 0} 111 | m_ScaleInLightmap: 1 112 | m_SortingLayer: 0 113 | m_SortingOrder: 0 114 | m_SortingLayerID: 0 115 | m_Sprite: {fileID: 21300000, guid: 15eb62b8c0b6c406abbfc0df4beffd81, type: 3} 116 | m_Color: {r: 1, g: 1, b: 1, a: 1} 117 | --- !u!4 &394440781 118 | Transform: 119 | m_ObjectHideFlags: 0 120 | m_PrefabParentObject: {fileID: 0} 121 | m_PrefabInternal: {fileID: 0} 122 | m_GameObject: {fileID: 394440779} 123 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 124 | m_LocalPosition: {x: 3.04916286, y: -3.12224817, z: 0} 125 | m_LocalScale: {x: 1, y: 1, z: 1} 126 | m_Children: [] 127 | m_Father: {fileID: 0} 128 | --- !u!58 &394440782 129 | CircleCollider2D: 130 | m_ObjectHideFlags: 0 131 | m_PrefabParentObject: {fileID: 0} 132 | m_PrefabInternal: {fileID: 0} 133 | m_GameObject: {fileID: 394440779} 134 | m_Enabled: 1 135 | m_Material: {fileID: 0} 136 | m_IsTrigger: 1 137 | m_Radius: .5 138 | m_Center: {x: 0, y: 0} 139 | --- !u!1 &398340781 140 | GameObject: 141 | m_ObjectHideFlags: 0 142 | m_PrefabParentObject: {fileID: 0} 143 | m_PrefabInternal: {fileID: 0} 144 | serializedVersion: 4 145 | m_Component: 146 | - 4: {fileID: 398340786} 147 | - 20: {fileID: 398340785} 148 | - 92: {fileID: 398340784} 149 | - 124: {fileID: 398340783} 150 | - 81: {fileID: 398340782} 151 | m_Layer: 0 152 | m_Name: Main Camera 153 | m_TagString: MainCamera 154 | m_Icon: {fileID: 0} 155 | m_NavMeshLayer: 0 156 | m_StaticEditorFlags: 0 157 | m_IsActive: 1 158 | --- !u!81 &398340782 159 | AudioListener: 160 | m_ObjectHideFlags: 0 161 | m_PrefabParentObject: {fileID: 0} 162 | m_PrefabInternal: {fileID: 0} 163 | m_GameObject: {fileID: 398340781} 164 | m_Enabled: 1 165 | --- !u!124 &398340783 166 | Behaviour: 167 | m_ObjectHideFlags: 0 168 | m_PrefabParentObject: {fileID: 0} 169 | m_PrefabInternal: {fileID: 0} 170 | m_GameObject: {fileID: 398340781} 171 | m_Enabled: 1 172 | --- !u!92 &398340784 173 | Behaviour: 174 | m_ObjectHideFlags: 0 175 | m_PrefabParentObject: {fileID: 0} 176 | m_PrefabInternal: {fileID: 0} 177 | m_GameObject: {fileID: 398340781} 178 | m_Enabled: 1 179 | --- !u!20 &398340785 180 | Camera: 181 | m_ObjectHideFlags: 0 182 | m_PrefabParentObject: {fileID: 0} 183 | m_PrefabInternal: {fileID: 0} 184 | m_GameObject: {fileID: 398340781} 185 | m_Enabled: 1 186 | serializedVersion: 2 187 | m_ClearFlags: 1 188 | m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438} 189 | m_NormalizedViewPortRect: 190 | serializedVersion: 2 191 | x: 0 192 | y: 0 193 | width: 1 194 | height: 1 195 | near clip plane: .300000012 196 | far clip plane: 1000 197 | field of view: 60 198 | orthographic: 1 199 | orthographic size: 5 200 | m_Depth: -1 201 | m_CullingMask: 202 | serializedVersion: 2 203 | m_Bits: 4294967295 204 | m_RenderingPath: -1 205 | m_TargetTexture: {fileID: 0} 206 | m_HDR: 0 207 | m_OcclusionCulling: 1 208 | --- !u!4 &398340786 209 | Transform: 210 | m_ObjectHideFlags: 0 211 | m_PrefabParentObject: {fileID: 0} 212 | m_PrefabInternal: {fileID: 0} 213 | m_GameObject: {fileID: 398340781} 214 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 215 | m_LocalPosition: {x: 0, y: 1, z: -10} 216 | m_LocalScale: {x: 1, y: 1, z: 1} 217 | m_Children: [] 218 | m_Father: {fileID: 0} 219 | --- !u!1 &682323668 220 | GameObject: 221 | m_ObjectHideFlags: 0 222 | m_PrefabParentObject: {fileID: 100000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 223 | m_PrefabInternal: {fileID: 1078349215} 224 | serializedVersion: 4 225 | m_Component: 226 | - 4: {fileID: 682323674} 227 | - 212: {fileID: 682323673} 228 | - 95: {fileID: 682323672} 229 | - 50: {fileID: 682323671} 230 | - 61: {fileID: 682323670} 231 | - 114: {fileID: 682323669} 232 | m_Layer: 0 233 | m_Name: UnityChan2D 234 | m_TagString: Untagged 235 | m_Icon: {fileID: 0} 236 | m_NavMeshLayer: 0 237 | m_StaticEditorFlags: 0 238 | m_IsActive: 1 239 | --- !u!114 &682323669 240 | MonoBehaviour: 241 | m_ObjectHideFlags: 0 242 | m_PrefabParentObject: {fileID: 11400000, guid: 1355a58c3bd9c40679bea54b926e0179, 243 | type: 2} 244 | m_PrefabInternal: {fileID: 1078349215} 245 | m_GameObject: {fileID: 682323668} 246 | m_Enabled: 1 247 | m_EditorHideFlags: 0 248 | m_Script: {fileID: 11500000, guid: 9a0152e6c9da34b73a86cf8b63b544e0, type: 3} 249 | m_Name: 250 | m_EditorClassIdentifier: 251 | maxSpeed: 10 252 | jumpPower: 1000 253 | backwardForce: {x: -4.5, y: 5.4000001} 254 | whatIsGround: 255 | serializedVersion: 2 256 | m_Bits: 256 257 | --- !u!61 &682323670 258 | BoxCollider2D: 259 | m_ObjectHideFlags: 0 260 | m_PrefabParentObject: {fileID: 6100000, guid: 1355a58c3bd9c40679bea54b926e0179, 261 | type: 2} 262 | m_PrefabInternal: {fileID: 1078349215} 263 | m_GameObject: {fileID: 682323668} 264 | m_Enabled: 1 265 | m_Material: {fileID: 6200000, guid: b16a8177aae984aed8618944cfd3e34a, type: 2} 266 | m_IsTrigger: 0 267 | m_Size: {x: 1, y: 2.5} 268 | m_Center: {x: 0, y: -.25} 269 | --- !u!50 &682323671 270 | Rigidbody2D: 271 | m_ObjectHideFlags: 0 272 | m_PrefabParentObject: {fileID: 5000000, guid: 1355a58c3bd9c40679bea54b926e0179, 273 | type: 2} 274 | m_PrefabInternal: {fileID: 1078349215} 275 | m_GameObject: {fileID: 682323668} 276 | m_Mass: 1 277 | m_LinearDrag: 0 278 | m_AngularDrag: .0500000007 279 | m_GravityScale: 3.5 280 | m_FixedAngle: 1 281 | m_IsKinematic: 0 282 | m_Interpolate: 0 283 | m_SleepingMode: 0 284 | m_CollisionDetection: 0 285 | --- !u!95 &682323672 286 | Animator: 287 | serializedVersion: 2 288 | m_ObjectHideFlags: 0 289 | m_PrefabParentObject: {fileID: 9500000, guid: 1355a58c3bd9c40679bea54b926e0179, 290 | type: 2} 291 | m_PrefabInternal: {fileID: 1078349215} 292 | m_GameObject: {fileID: 682323668} 293 | m_Enabled: 1 294 | m_Avatar: {fileID: 0} 295 | m_Controller: {fileID: 9100000, guid: 3a2e89326cda64858a11433ffce27df7, type: 2} 296 | m_CullingMode: 0 297 | m_ApplyRootMotion: 0 298 | m_AnimatePhysics: 0 299 | m_HasTransformHierarchy: 1 300 | --- !u!212 &682323673 301 | SpriteRenderer: 302 | m_ObjectHideFlags: 0 303 | m_PrefabParentObject: {fileID: 21200000, guid: 1355a58c3bd9c40679bea54b926e0179, 304 | type: 2} 305 | m_PrefabInternal: {fileID: 1078349215} 306 | m_GameObject: {fileID: 682323668} 307 | m_Enabled: 1 308 | m_CastShadows: 0 309 | m_ReceiveShadows: 0 310 | m_LightmapIndex: 255 311 | m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} 312 | m_Materials: 313 | - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} 314 | m_SubsetIndices: 315 | m_StaticBatchRoot: {fileID: 0} 316 | m_UseLightProbes: 0 317 | m_LightProbeAnchor: {fileID: 0} 318 | m_ScaleInLightmap: 1 319 | m_SortingLayer: 0 320 | m_SortingOrder: 0 321 | m_SortingLayerID: 0 322 | m_Sprite: {fileID: 21300002, guid: 37426dfe5cfb14626a6e1c60f8d927eb, type: 3} 323 | m_Color: {r: 1, g: 1, b: 1, a: 1} 324 | --- !u!4 &682323674 325 | Transform: 326 | m_ObjectHideFlags: 0 327 | m_PrefabParentObject: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 328 | m_PrefabInternal: {fileID: 1078349215} 329 | m_GameObject: {fileID: 682323668} 330 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 331 | m_LocalPosition: {x: -1.83203351, y: 3.18558455, z: 0} 332 | m_LocalScale: {x: 1, y: 1, z: 1} 333 | m_Children: [] 334 | m_Father: {fileID: 0} 335 | --- !u!1001 &1078349215 336 | Prefab: 337 | m_ObjectHideFlags: 0 338 | serializedVersion: 2 339 | m_Modification: 340 | m_TransformParent: {fileID: 0} 341 | m_Modifications: 342 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 343 | propertyPath: m_LocalPosition.x 344 | value: -1.83203351 345 | objectReference: {fileID: 0} 346 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 347 | propertyPath: m_LocalPosition.y 348 | value: 3.18558455 349 | objectReference: {fileID: 0} 350 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 351 | propertyPath: m_LocalPosition.z 352 | value: 0 353 | objectReference: {fileID: 0} 354 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 355 | propertyPath: m_LocalRotation.x 356 | value: 0 357 | objectReference: {fileID: 0} 358 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 359 | propertyPath: m_LocalRotation.y 360 | value: 0 361 | objectReference: {fileID: 0} 362 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 363 | propertyPath: m_LocalRotation.z 364 | value: 0 365 | objectReference: {fileID: 0} 366 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 367 | propertyPath: m_LocalRotation.w 368 | value: 1 369 | objectReference: {fileID: 0} 370 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 371 | propertyPath: m_RootMapOrder 372 | value: 373 | objectReference: {fileID: 0} 374 | - target: {fileID: 400000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 375 | propertyPath: m_RootOrder 376 | value: 1 377 | objectReference: {fileID: 0} 378 | m_RemovedComponents: [] 379 | m_ParentPrefab: {fileID: 100100000, guid: 1355a58c3bd9c40679bea54b926e0179, type: 2} 380 | m_RootGameObject: {fileID: 682323668} 381 | m_IsPrefabParent: 0 382 | m_IsExploded: 1 383 | --- !u!1 &1819886042 384 | GameObject: 385 | m_ObjectHideFlags: 0 386 | m_PrefabParentObject: {fileID: 0} 387 | m_PrefabInternal: {fileID: 0} 388 | serializedVersion: 4 389 | m_Component: 390 | - 4: {fileID: 1819886044} 391 | - 61: {fileID: 1819886043} 392 | m_Layer: 8 393 | m_Name: Ground 394 | m_TagString: Untagged 395 | m_Icon: {fileID: 0} 396 | m_NavMeshLayer: 0 397 | m_StaticEditorFlags: 0 398 | m_IsActive: 1 399 | --- !u!61 &1819886043 400 | BoxCollider2D: 401 | m_ObjectHideFlags: 0 402 | m_PrefabParentObject: {fileID: 0} 403 | m_PrefabInternal: {fileID: 0} 404 | m_GameObject: {fileID: 1819886042} 405 | m_Enabled: 1 406 | m_Material: {fileID: 0} 407 | m_IsTrigger: 0 408 | m_Size: {x: 100, y: 1} 409 | m_Center: {x: 0, y: 0} 410 | --- !u!4 &1819886044 411 | Transform: 412 | m_ObjectHideFlags: 0 413 | m_PrefabParentObject: {fileID: 0} 414 | m_PrefabInternal: {fileID: 0} 415 | m_GameObject: {fileID: 1819886042} 416 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 417 | m_LocalPosition: {x: .864531398, y: -4.47234678, z: -10} 418 | m_LocalScale: {x: 1, y: 1, z: 1} 419 | m_Children: [] 420 | m_Father: {fileID: 0} 421 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Scenes/Introduction_Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c56dff7c92cbb4ceb9bcec778aa67abb 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b44916ba33fe4ffa89f148c4e489a0b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Scripts/UnityChan2DController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | [RequireComponent(typeof(Animator), typeof(Rigidbody2D), typeof(BoxCollider2D))] 4 | public class UnityChan2DController : MonoBehaviour 5 | { 6 | public float maxSpeed = 10f; 7 | public float jumpPower = 1000f; 8 | public Vector2 backwardForce = new Vector2(-4.5f, 5.4f); 9 | 10 | public LayerMask whatIsGround; 11 | 12 | private Animator m_animator; 13 | private BoxCollider2D m_boxcollier2D; 14 | private Rigidbody2D m_rigidbody2D; 15 | private bool m_isGround; 16 | private const float m_centerY = 1.5f; 17 | 18 | private State m_state = State.Normal; 19 | 20 | void Reset() 21 | { 22 | Awake(); 23 | 24 | // UnityChan2DController 25 | maxSpeed = 10f; 26 | jumpPower = 1000; 27 | backwardForce = new Vector2(-4.5f, 5.4f); 28 | whatIsGround = 1 << LayerMask.NameToLayer("Ground"); 29 | 30 | // Transform 31 | transform.localScale = new Vector3(1, 1, 1); 32 | 33 | // Rigidbody2D 34 | m_rigidbody2D.gravityScale = 3.5f; 35 | m_rigidbody2D.fixedAngle = true; 36 | 37 | // BoxCollider2D 38 | m_boxcollier2D.size = new Vector2(1, 2.5f); 39 | m_boxcollier2D.center = new Vector2(0, -0.25f); 40 | 41 | // Animator 42 | m_animator.applyRootMotion = false; 43 | } 44 | 45 | void Awake() 46 | { 47 | m_animator = GetComponent(); 48 | m_boxcollier2D = GetComponent(); 49 | m_rigidbody2D = GetComponent(); 50 | } 51 | 52 | void Update() 53 | { 54 | if (m_state != State.Damaged) 55 | { 56 | float x = Input.GetAxis("Horizontal"); 57 | bool jump = Input.GetButtonDown("Jump"); 58 | Move(x, jump); 59 | } 60 | } 61 | 62 | void Move(float move, bool jump) 63 | { 64 | if (Mathf.Abs(move) > 0) 65 | { 66 | Quaternion rot = transform.rotation; 67 | transform.rotation = Quaternion.Euler(rot.x, Mathf.Sign(move) == 1 ? 0 : 180, rot.z); 68 | } 69 | 70 | m_rigidbody2D.velocity = new Vector2(move * maxSpeed, m_rigidbody2D.velocity.y); 71 | 72 | m_animator.SetFloat("Horizontal", move); 73 | m_animator.SetFloat("Vertical", m_rigidbody2D.velocity.y); 74 | m_animator.SetBool("isGround", m_isGround); 75 | 76 | if (jump && m_isGround) 77 | { 78 | m_animator.SetTrigger("Jump"); 79 | SendMessage("Jump", SendMessageOptions.DontRequireReceiver); 80 | m_rigidbody2D.AddForce(Vector2.up * jumpPower); 81 | } 82 | } 83 | 84 | void FixedUpdate() 85 | { 86 | Vector2 pos = transform.position; 87 | Vector2 groundCheck = new Vector2(pos.x, pos.y - (m_centerY * transform.localScale.y)); 88 | Vector2 groundArea = new Vector2(m_boxcollier2D.size.x * 0.49f, 0.05f); 89 | 90 | m_isGround = Physics2D.OverlapArea(groundCheck + groundArea, groundCheck - groundArea, whatIsGround); 91 | m_animator.SetBool("isGround", m_isGround); 92 | } 93 | 94 | void OnTriggerStay2D(Collider2D other) 95 | { 96 | if (other.tag == "DamageObject" && m_state == State.Normal) 97 | { 98 | m_state = State.Damaged; 99 | StartCoroutine(INTERNAL_OnDamage()); 100 | } 101 | } 102 | 103 | IEnumerator INTERNAL_OnDamage() 104 | { 105 | m_animator.Play(m_isGround ? "Damage" : "AirDamage"); 106 | m_animator.Play("Idle"); 107 | 108 | SendMessage("OnDamage", SendMessageOptions.DontRequireReceiver); 109 | 110 | m_rigidbody2D.velocity = new Vector2(transform.right.x * backwardForce.x, transform.up.y * backwardForce.y); 111 | 112 | yield return new WaitForSeconds(.2f); 113 | 114 | while (m_isGround == false) 115 | { 116 | yield return new WaitForFixedUpdate(); 117 | } 118 | m_animator.SetTrigger("Invincible Mode"); 119 | m_state = State.Invincible; 120 | } 121 | 122 | void OnFinishedInvincibleMode() 123 | { 124 | m_state = State.Normal; 125 | } 126 | 127 | enum State 128 | { 129 | Normal, 130 | Damaged, 131 | Invincible, 132 | } 133 | } 134 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Scripts/UnityChan2DController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a0152e6c9da34b73a86cf8b63b544e0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16bbcd80fd0c14302af5ae02a7255f94 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityChan2D/Sprites/UnityChan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Assets/UnityChan2D/Sprites/UnityChan.png -------------------------------------------------------------------------------- /Assets/UnityChan2D/Sprites/UnityChan.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37426dfe5cfb14626a6e1c60f8d927eb 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 0 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 0 27 | aniso: 1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 0 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 2 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 39 | spritePixelsToUnits: 16 40 | alphaIsTransparency: 1 41 | textureType: 8 42 | buildTargetSettings: [] 43 | spriteSheet: 44 | sprites: 45 | - name: UnityChan_footwork_0 46 | rect: 47 | serializedVersion: 2 48 | x: 0 49 | y: 192 50 | width: 64 51 | height: 64 52 | alignment: 0 53 | pivot: {x: .5, y: .5} 54 | border: {x: 0, y: 0, z: 0, w: 0} 55 | - name: UnityChan_footwork_1 56 | rect: 57 | serializedVersion: 2 58 | x: 64 59 | y: 192 60 | width: 64 61 | height: 64 62 | alignment: 0 63 | pivot: {x: .5, y: .5} 64 | border: {x: 0, y: 0, z: 0, w: 0} 65 | - name: UnityChan_footwork_2 66 | rect: 67 | serializedVersion: 2 68 | x: 128 69 | y: 192 70 | width: 64 71 | height: 64 72 | alignment: 0 73 | pivot: {x: .5, y: .5} 74 | border: {x: 0, y: 0, z: 0, w: 0} 75 | - name: UnityChan_damage1_0 76 | rect: 77 | serializedVersion: 2 78 | x: 192 79 | y: 192 80 | width: 64 81 | height: 64 82 | alignment: 0 83 | pivot: {x: .5, y: .5} 84 | border: {x: 0, y: 0, z: 0, w: 0} 85 | - name: UnityChan_damage2_0 86 | rect: 87 | serializedVersion: 2 88 | x: 256 89 | y: 192 90 | width: 64 91 | height: 64 92 | alignment: 0 93 | pivot: {x: .5, y: .5} 94 | border: {x: 0, y: 0, z: 0, w: 0} 95 | - name: UnityChan_run_0 96 | rect: 97 | serializedVersion: 2 98 | x: 0 99 | y: 128 100 | width: 64 101 | height: 64 102 | alignment: 0 103 | pivot: {x: .5, y: .5} 104 | border: {x: 0, y: 0, z: 0, w: 0} 105 | - name: UnityChan_run_1 106 | rect: 107 | serializedVersion: 2 108 | x: 64 109 | y: 128 110 | width: 64 111 | height: 64 112 | alignment: 0 113 | pivot: {x: .5, y: .5} 114 | border: {x: 0, y: 0, z: 0, w: 0} 115 | - name: UnityChan_run_2 116 | rect: 117 | serializedVersion: 2 118 | x: 128 119 | y: 128 120 | width: 64 121 | height: 64 122 | alignment: 0 123 | pivot: {x: .5, y: .5} 124 | border: {x: 0, y: 0, z: 0, w: 0} 125 | - name: UnityChan_run_3 126 | rect: 127 | serializedVersion: 2 128 | x: 192 129 | y: 128 130 | width: 64 131 | height: 64 132 | alignment: 0 133 | pivot: {x: .5, y: .5} 134 | border: {x: 0, y: 0, z: 0, w: 0} 135 | - name: UnityChan_run_4 136 | rect: 137 | serializedVersion: 2 138 | x: 0 139 | y: 64 140 | width: 64 141 | height: 64 142 | alignment: 0 143 | pivot: {x: .5, y: .5} 144 | border: {x: 0, y: 0, z: 0, w: 0} 145 | - name: UnityChan_run_5 146 | rect: 147 | serializedVersion: 2 148 | x: 64 149 | y: 64 150 | width: 64 151 | height: 64 152 | alignment: 0 153 | pivot: {x: .5, y: .5} 154 | border: {x: 0, y: 0, z: 0, w: 0} 155 | - name: UnityChan_run_6 156 | rect: 157 | serializedVersion: 2 158 | x: 128 159 | y: 64 160 | width: 64 161 | height: 64 162 | alignment: 0 163 | pivot: {x: .5, y: .5} 164 | border: {x: 0, y: 0, z: 0, w: 0} 165 | - name: UnityChan_run_7 166 | rect: 167 | serializedVersion: 2 168 | x: 192 169 | y: 64 170 | width: 64 171 | height: 64 172 | alignment: 0 173 | pivot: {x: .5, y: .5} 174 | border: {x: 0, y: 0, z: 0, w: 0} 175 | - name: UnityChan_jump_up_0 176 | rect: 177 | serializedVersion: 2 178 | x: 0 179 | y: 0 180 | width: 64 181 | height: 64 182 | alignment: 0 183 | pivot: {x: .5, y: .5} 184 | border: {x: 0, y: 0, z: 0, w: 0} 185 | - name: UnityChan_jump_up_1 186 | rect: 187 | serializedVersion: 2 188 | x: 64 189 | y: 0 190 | width: 64 191 | height: 64 192 | alignment: 0 193 | pivot: {x: .5, y: .5} 194 | border: {x: 0, y: 0, z: 0, w: 0} 195 | - name: UnityChan_jump_top_0 196 | rect: 197 | serializedVersion: 2 198 | x: 128 199 | y: 0 200 | width: 64 201 | height: 64 202 | alignment: 0 203 | pivot: {x: .5, y: .5} 204 | border: {x: 0, y: 0, z: 0, w: 0} 205 | - name: UnityChan_jump_top_1 206 | rect: 207 | serializedVersion: 2 208 | x: 192 209 | y: 0 210 | width: 64 211 | height: 64 212 | alignment: 0 213 | pivot: {x: .5, y: .5} 214 | border: {x: 0, y: 0, z: 0, w: 0} 215 | - name: UnityChan_jump_top_2 216 | rect: 217 | serializedVersion: 2 218 | x: 256 219 | y: 0 220 | width: 64 221 | height: 64 222 | alignment: 0 223 | pivot: {x: .5, y: .5} 224 | border: {x: 0, y: 0, z: 0, w: 0} 225 | - name: UnityChan_jump_down_0 226 | rect: 227 | serializedVersion: 2 228 | x: 320 229 | y: 0 230 | width: 64 231 | height: 64 232 | alignment: 0 233 | pivot: {x: .5, y: .5} 234 | border: {x: 0, y: 0, z: 0, w: 0} 235 | - name: UnityChan_jump_down_1 236 | rect: 237 | serializedVersion: 2 238 | x: 384 239 | y: 0 240 | width: 64 241 | height: 64 242 | alignment: 0 243 | pivot: {x: .5, y: .5} 244 | border: {x: 0, y: 0, z: 0, w: 0} 245 | spritePackingTag: UnityChan 246 | userData: 247 | -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/Demoプロジェクトについて.md: -------------------------------------------------------------------------------- 1 | 2 | ## 推奨設定 3 | 4 | このデモシーンはWebPlayer(960 x 600)を想定して作成されています。
5 | 異なる画面サイズや他のプラットフォームに変更した場合はカメラやGUIなどの微調整が必要になる場合があります。 6 | 7 | 8 | 9 | # シーンの説明 10 | 11 | ## Start シーン 12 | 13 | ![image](images/スクリーンショット 2014-06-12 17.10.12.png) 14 | 15 | ユニティちゃんは自由に動くことが出来ます。
16 | 左右ループとなっており、左に移動するとユニティちゃんが右から登場します。 17 | 18 | ブロックは壊すことが可能です。 19 | 20 | ピンクのウニにユニティちゃんが当たるとダメージを受けます。 21 | 22 | Xボタンを押すとゲームを開始します。 23 | 24 |
25 | 26 | ## Loading シーン 27 | 28 | ![](images/スクリーンショット 2014-06-12 17.14.02.png) 29 | 30 | ロード画面です。数秒後、他のシーンへ移動します。 31 | 32 |
33 | 34 | ## Intro 1-1 シーン 35 | 36 | ワールド1-1のためのイントロ演出を行うシーンです。
37 | カメラがステージのゴールからスタートへ移動した後、他のシーンへ移動します。 38 | 39 | ## World 1-1 シーン 40 | 41 | ![](images/スクリーンショット 2014-06-12 17.18.37.png) 42 | 43 | プレイできるシーンです。
44 | 右へ進んでいくとゴールへ向かいます。 45 | 46 | ピンクのウニに当たるとダメージを受け、コインを取ると画面上のコイン数が増えていきます。 47 | 48 | タイムが0になるとStartシーンへ戻ります。 49 | 50 |
51 | 52 | # やってみよう! 53 | 54 | ## ○○を増やすには? 55 | 56 | ![](images/スクリーンショット 2014-06-12 17.32.14.png) 57 | 58 | ### ピンクのウニを増やすには? 59 | 60 | `UnityChan2D/Demo/Prefabs`フォルダに**Uni**プレハブがあります。これをシーン上へドラッグ&ドロップして増やしていきましょう。 61 | 62 | ### コインを増やすには? 63 | 64 | `UnityChan2D/Demo/Prefabs`フォルダに**Coin**プレハブがあります。これをシーン上へドラッグ&ドロップして増やしていきましょう。 65 | 66 |
67 | 68 | ### 壊れるブロックを増やすには? 69 | 70 | `UnityChan2D/Demo/Prefabs`フォルダに**Block 1**プレハブがあります。これをシーン上へドラッグ&ドロップして増やしていきましょう。 71 | 72 | ### 壊れないブロックを増やすには? 73 | 74 | `UnityChan2D/Demo/Prefabs`フォルダに**Block 2**プレハブがあります。これをシーン上へドラッグ&ドロップして増やしていきましょう。 75 | 76 | ## ユニティちゃんのボイスを変更するには? 77 | 78 | **DemoUnityChan2D**ゲームオブジェクトに**Demo.cs**がアタッチされています。
79 | ボイスはインスペクター上で変更することが可能です。 80 | 81 | ![](images/スクリーンショット 2014-06-12 17.33.22.png) 82 | 83 |
84 | 85 | ## ワールド1-2を作成するには? 86 | 87 | 1. Loading 1-1とWorld 1-1 シーンを複製しましょう。そうすると自動的に名前が**Loading 1-2**と**World 1-2**となります。 88 | 2. Buid Settings ウィンドウにシーンを追加します。 89 | 90 | ![](images/スクリーンショット 2014-06-12 17.40.32.png) 91 | 3. **World 1-1**シーンを開き、**Main Camera**ゲームオブジェクトにアタッチされている**CameraController.cs**の`Next Level`をStartから**Loading 1-2**へ変更します。 92 | 93 | ![](images/スクリーンショット 2014-06-12 17.43.42.png) 94 | 4. **Loading 1-2**シーンを開き、**Loading Controller**ゲームオブジェクトにアタッチされている**LoadingController**の`Next Level`をIntro 1-1から**World 1-2**へ変更します。 95 | 96 | ![](images/スクリーンショット 2014-06-12 17.45.42.png) 97 | 5. 以上でシーンの遷移は完了しました。**Loading 1-2**と**World 1-2**シーンを1-2用に変更していきましょう! 98 | 6. 余裕があればIntroシーンも作成してみましょう。 99 | 100 | ## タイマーとポイントを管理するには? 101 | 102 | 管理するシステムは作成していません。自分で作成してみましょう! 103 | 104 | タイマーは**TimeController**、ポイントは**PointController**でテキスト表示のみ行っています。 105 | 106 | ## 残機を減らすには? 107 | 108 | 残機を減らす・管理するシステムは作成していません。自分で作成してみましょう! 109 | 110 | ``` 111 | タイムオーバー時にシーン遷移を行います。TimeControllerにシーン遷移を実装しており、現在はStartシーンへ戻るようになっています。 112 | 残機を減らして再度同じワールドへシーン遷移するようにしてみましょう。 113 | ``` -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.10.12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.10.12.png -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.14.02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.14.02.png -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.18.37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.18.37.png -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.32.14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.32.14.png -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.33.22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.33.22.png -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.40.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.40.32.png -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.43.42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.43.42.png -------------------------------------------------------------------------------- /Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.45.42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Demoプロジェクトについて/images/スクリーンショット 2014-06-12 17.45.42.png -------------------------------------------------------------------------------- /Documents/Introduction/Introduction.md: -------------------------------------------------------------------------------- 1 | # ユニティちゃん2Dの使い方 2 | 3 | ![ユニティちゃん](images/スクリーンショット 2014-06-12 11.30.15.png) 4 | 5 | 6 | ## 目次 7 | 8 | * ユニティちゃん2Dの使い方 9 | * ユニティちゃんを足場に立たせる 10 | * ユニティちゃんがダメージを受けるゲームオブジェクトを作成する 11 | * 移動速度・ジャンプ力・のけぞる力を変更する 12 | * 複数のレイヤーを足場とする 13 | * スクリプトで呼び出されるコールバック 14 | 15 |
16 | 17 | ## ユニティちゃんを足場に立たせる 18 | 19 | UnityChan2D/Prefabs配下にあるUnityChan2Dプレハブ 20 | 21 | ![](images/スクリーンショット_2014-06-12_11_32_44.png) 22 | 23 | プレハブをシーン上にドラッグ&ドロップしてください 24 | 25 | ![](images/スクリーンショット_2014-06-12_11_41_22.png) 26 | 27 |
28 | 29 | ゲームを再生すると下に落ちます 30 | 31 | ![](images/スクリーンショット_2014-06-12_11_32_22.png) 32 | 33 | 34 | 下に落ちないように**BoxCollider2D**で足場を作りましょう。 35 | 36 | ![](images/スクリーンショット 2014-06-12 12.05.15.png) 37 | 38 |
39 | 40 | ですが足場に着地しても落下中のアニメーションのままです。 41 | 42 | ![](images/スクリーンショット 2014-06-12 12.08.04.png) 43 | 44 |
45 | 46 | [重要] 足場のレイヤーを**Ground**にしましょう。まず、`Tags and Layers` で**Ground**を登録します。
47 | この時、Groundを登録する場所は「User Layer 8」以外でも構いません。 48 | 49 | ![](images/スクリーンショット_2014-06-12_12_11_55.png) 50 | 51 | [重要] レイヤーを登録したら**Ground**を設定します。 52 | 53 | ![](images/スクリーンショット 2014-06-12 12.09.41.png) 54 | 55 |
56 | 57 | [重要] さらに、UnityChan2Dプレハブまたはゲームオブジェクトにアタッチされている**UnityChan2DController**の`What Is Ground`で**Ground**を選択します。 58 | 59 | ![](images/スクリーンショット 2014-06-12 14.55.34.png) 60 | 61 |
62 | 63 | 無事足場の上に立つことが出来ました。 64 | 65 | ![image](images/スクリーンショット 2014-06-12 12.24.52.png/) 66 | 67 |
68 | 69 | ## ユニティちゃんがダメージを受けるゲームオブジェクトを作成する 70 | 71 | `UnityChan2D/Demo/Sprites`にある**uni_0**をドラッグ&ドロップします。 72 | 73 | ![image](images/スクリーンショット_2014-06-12_14_12_37.png) 74 | 75 | [重要] **Uni_0**ゲームオブジェクトに**Circle Collider 2D**をアタッチしましょう。そして**Is Trigger**にチェックを入れます。 76 | 77 | ![image](images/スクリーンショット_2014-06-12_14_15_14.png) 78 | 79 |
80 | 81 | [重要] 次にタグを登録します。**DamageObject**を登録します。これがダメージ判定を行うための印となります。 82 | 83 | ![image](images/スクリーンショット 2014-06-12 14.21.13.png) 84 | 85 | [重要] **uni_0**ゲームオブジェクトに**DamageObject**タグを設定します。 86 | 87 | ![image](images/スクリーンショット 2014-06-12 14.23.11.png) 88 | 89 | ぶつかるとダメージを受けたようなアニメーション&のけぞりが再生されます。 90 | 91 | ![image](images/スクリーンショット 2014-06-12 14.27.31.png) 92 | 93 |
94 | 95 | ## 移動速度・ジャンプ力・のけぞる力を変更する 96 | 97 | * Max Speed: ユニティちゃんの移動スピード 98 | * Jump Power: ユニティちゃんのジャンプ力 99 | * Backward Force: ダメージを受けた時に後ろにのけぞる力 100 | 101 | ![image](images/スクリーンショット 2014-06-12 14.55.17.png) 102 | 103 |
104 | 105 | ## 複数のレイヤーを足場とする 106 | 107 | `What Is Ground`で複数のレイヤーを指定すれば、該当するレイヤーが設定されているゲームオブジェクトは全て足場になります。 108 | 109 | ![image](images/スクリーンショット 2014-06-12 14.55.42.png) 110 | 111 |
112 | 113 | ## スクリプトで呼び出されるコールバック 114 | 115 | [重要] コールバックを呼び出すためには**UnityChan2DController.cs**がアタッチされているゲームオブジェクトにスクリプトファイルをアタッチしないといけません。 116 | 117 | ### OnDamage 118 | 119 | ユニティちゃんがダメージを受けた時に呼び出されます。 120 | 121 | ### Jumping 122 | 123 | ユニティちゃんがジャンプした直後に呼び出されます。 124 | 125 | 126 | ``` 127 | using UnityEngine; 128 | 129 | [RequireComponent(typeof(UnityChan2DController))] 130 | public class Demo : MonoBehaviour 131 | { 132 | void OnDamage() 133 | { 134 | 135 | } 136 | 137 | void Jump() 138 | { 139 | 140 | } 141 | } 142 | ``` 143 | 144 | 実際に使用しているコードは`UnityChan2D/Demo/Scripts/Demo.cs`を御覧ください。 145 | -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 11.30.15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 11.30.15.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 11.32.22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 11.32.22.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 11.32.44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 11.32.44.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 11.41.22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 11.41.22.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 12.05.15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 12.05.15.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 12.08.04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 12.08.04.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 12.09.41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 12.09.41.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 12.11.55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 12.11.55.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 12.24.52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 12.24.52.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.12.37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.12.37.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.15.14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.15.14.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.21.13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.21.13.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.23.11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.23.11.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.27.31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.27.31.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.55.17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.55.17.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.55.34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.55.34.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット 2014-06-12 14.55.42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット 2014-06-12 14.55.42.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット_2014-06-12_11_32_22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット_2014-06-12_11_32_22.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット_2014-06-12_11_32_44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット_2014-06-12_11_32_44.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット_2014-06-12_11_41_22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット_2014-06-12_11_41_22.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット_2014-06-12_12_11_55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット_2014-06-12_12_11_55.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット_2014-06-12_14_12_37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット_2014-06-12_14_12_37.png -------------------------------------------------------------------------------- /Documents/Introduction/images/スクリーンショット_2014-06-12_14_15_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/Documents/Introduction/images/スクリーンショット_2014-06-12_14_15_14.png -------------------------------------------------------------------------------- /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 | m_SpeedOfSound: 347 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_DSPBufferSize: 0 12 | m_DisableAudio: 0 13 | -------------------------------------------------------------------------------- /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_SleepVelocity: .150000006 10 | m_SleepAngularVelocity: .140000001 11 | m_MaxAngularVelocity: 7 12 | m_MinPenetrationForPenalty: .00999999978 13 | m_SolverIterationCount: 6 14 | m_RaycastsHitTriggers: 1 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /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 | - enabled: 1 9 | path: Assets/UnityChan2D/Demo/Scenes/Start.unity 10 | - enabled: 1 11 | path: Assets/UnityChan2D/Demo/Scenes/Loading 1-1.unity 12 | - enabled: 1 13 | path: Assets/UnityChan2D/Demo/Scenes/Intro 1-1.unity 14 | - enabled: 1 15 | path: Assets/UnityChan2D/Demo/Scenes/World 1-1.unity 16 | -------------------------------------------------------------------------------- /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: Hidden 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: 0 13 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | m_AlwaysIncludedShaders: 7 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 8 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | m_Axes: 7 | - serializedVersion: 3 8 | m_Name: Horizontal 9 | descriptiveName: 10 | descriptiveNegativeName: 11 | negativeButton: left 12 | positiveButton: right 13 | altNegativeButton: a 14 | altPositiveButton: d 15 | gravity: 3 16 | dead: .00100000005 17 | sensitivity: 3 18 | snap: 1 19 | invert: 0 20 | type: 0 21 | axis: 0 22 | joyNum: 0 23 | - serializedVersion: 3 24 | m_Name: Vertical 25 | descriptiveName: 26 | descriptiveNegativeName: 27 | negativeButton: down 28 | positiveButton: up 29 | altNegativeButton: s 30 | altPositiveButton: w 31 | gravity: 3 32 | dead: .00100000005 33 | sensitivity: 3 34 | snap: 1 35 | invert: 0 36 | type: 0 37 | axis: 0 38 | joyNum: 0 39 | - serializedVersion: 3 40 | m_Name: Fire1 41 | descriptiveName: 42 | descriptiveNegativeName: 43 | negativeButton: 44 | positiveButton: left ctrl 45 | altNegativeButton: 46 | altPositiveButton: mouse 0 47 | gravity: 1000 48 | dead: .00100000005 49 | sensitivity: 1000 50 | snap: 0 51 | invert: 0 52 | type: 0 53 | axis: 0 54 | joyNum: 0 55 | - serializedVersion: 3 56 | m_Name: Fire2 57 | descriptiveName: 58 | descriptiveNegativeName: 59 | negativeButton: 60 | positiveButton: left alt 61 | altNegativeButton: 62 | altPositiveButton: mouse 1 63 | gravity: 1000 64 | dead: .00100000005 65 | sensitivity: 1000 66 | snap: 0 67 | invert: 0 68 | type: 0 69 | axis: 0 70 | joyNum: 0 71 | - serializedVersion: 3 72 | m_Name: Fire3 73 | descriptiveName: 74 | descriptiveNegativeName: 75 | negativeButton: 76 | positiveButton: left cmd 77 | altNegativeButton: 78 | altPositiveButton: mouse 2 79 | gravity: 1000 80 | dead: .00100000005 81 | sensitivity: 1000 82 | snap: 0 83 | invert: 0 84 | type: 0 85 | axis: 0 86 | joyNum: 0 87 | - serializedVersion: 3 88 | m_Name: Jump 89 | descriptiveName: 90 | descriptiveNegativeName: 91 | negativeButton: 92 | positiveButton: space 93 | altNegativeButton: 94 | altPositiveButton: 95 | gravity: 1000 96 | dead: .00100000005 97 | sensitivity: 1000 98 | snap: 0 99 | invert: 0 100 | type: 0 101 | axis: 0 102 | joyNum: 0 103 | - serializedVersion: 3 104 | m_Name: Mouse X 105 | descriptiveName: 106 | descriptiveNegativeName: 107 | negativeButton: 108 | positiveButton: 109 | altNegativeButton: 110 | altPositiveButton: 111 | gravity: 0 112 | dead: 0 113 | sensitivity: .100000001 114 | snap: 0 115 | invert: 0 116 | type: 1 117 | axis: 0 118 | joyNum: 0 119 | - serializedVersion: 3 120 | m_Name: Mouse Y 121 | descriptiveName: 122 | descriptiveNegativeName: 123 | negativeButton: 124 | positiveButton: 125 | altNegativeButton: 126 | altPositiveButton: 127 | gravity: 0 128 | dead: 0 129 | sensitivity: .100000001 130 | snap: 0 131 | invert: 0 132 | type: 1 133 | axis: 1 134 | joyNum: 0 135 | - serializedVersion: 3 136 | m_Name: Mouse ScrollWheel 137 | descriptiveName: 138 | descriptiveNegativeName: 139 | negativeButton: 140 | positiveButton: 141 | altNegativeButton: 142 | altPositiveButton: 143 | gravity: 0 144 | dead: 0 145 | sensitivity: .100000001 146 | snap: 0 147 | invert: 0 148 | type: 1 149 | axis: 2 150 | joyNum: 0 151 | - serializedVersion: 3 152 | m_Name: Horizontal 153 | descriptiveName: 154 | descriptiveNegativeName: 155 | negativeButton: 156 | positiveButton: 157 | altNegativeButton: 158 | altPositiveButton: 159 | gravity: 0 160 | dead: .189999998 161 | sensitivity: 1 162 | snap: 0 163 | invert: 0 164 | type: 2 165 | axis: 0 166 | joyNum: 0 167 | - serializedVersion: 3 168 | m_Name: Vertical 169 | descriptiveName: 170 | descriptiveNegativeName: 171 | negativeButton: 172 | positiveButton: 173 | altNegativeButton: 174 | altPositiveButton: 175 | gravity: 0 176 | dead: .189999998 177 | sensitivity: 1 178 | snap: 0 179 | invert: 1 180 | type: 2 181 | axis: 1 182 | joyNum: 0 183 | - serializedVersion: 3 184 | m_Name: Fire1 185 | descriptiveName: 186 | descriptiveNegativeName: 187 | negativeButton: 188 | positiveButton: joystick button 0 189 | altNegativeButton: 190 | altPositiveButton: 191 | gravity: 1000 192 | dead: .00100000005 193 | sensitivity: 1000 194 | snap: 0 195 | invert: 0 196 | type: 0 197 | axis: 0 198 | joyNum: 0 199 | - serializedVersion: 3 200 | m_Name: Fire2 201 | descriptiveName: 202 | descriptiveNegativeName: 203 | negativeButton: 204 | positiveButton: joystick button 1 205 | altNegativeButton: 206 | altPositiveButton: 207 | gravity: 1000 208 | dead: .00100000005 209 | sensitivity: 1000 210 | snap: 0 211 | invert: 0 212 | type: 0 213 | axis: 0 214 | joyNum: 0 215 | - serializedVersion: 3 216 | m_Name: Fire3 217 | descriptiveName: 218 | descriptiveNegativeName: 219 | negativeButton: 220 | positiveButton: joystick button 2 221 | altNegativeButton: 222 | altPositiveButton: 223 | gravity: 1000 224 | dead: .00100000005 225 | sensitivity: 1000 226 | snap: 0 227 | invert: 0 228 | type: 0 229 | axis: 0 230 | joyNum: 0 231 | - serializedVersion: 3 232 | m_Name: Jump 233 | descriptiveName: 234 | descriptiveNegativeName: 235 | negativeButton: 236 | positiveButton: joystick button 3 237 | altNegativeButton: 238 | altPositiveButton: 239 | gravity: 1000 240 | dead: .00100000005 241 | sensitivity: 1000 242 | snap: 0 243 | invert: 0 244 | type: 0 245 | axis: 0 246 | joyNum: 0 247 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshLayers: 5 | m_ObjectHideFlags: 0 6 | Built-in Layer 0: 7 | name: Default 8 | cost: 1 9 | editType: 2 10 | Built-in Layer 1: 11 | name: Not Walkable 12 | cost: 1 13 | editType: 0 14 | Built-in Layer 2: 15 | name: Jump 16 | cost: 2 17 | editType: 2 18 | User Layer 0: 19 | name: 20 | cost: 1 21 | editType: 3 22 | User Layer 1: 23 | name: 24 | cost: 1 25 | editType: 3 26 | User Layer 2: 27 | name: 28 | cost: 1 29 | editType: 3 30 | User Layer 3: 31 | name: 32 | cost: 1 33 | editType: 3 34 | User Layer 4: 35 | name: 36 | cost: 1 37 | editType: 3 38 | User Layer 5: 39 | name: 40 | cost: 1 41 | editType: 3 42 | User Layer 6: 43 | name: 44 | cost: 1 45 | editType: 3 46 | User Layer 7: 47 | name: 48 | cost: 1 49 | editType: 3 50 | User Layer 8: 51 | name: 52 | cost: 1 53 | editType: 3 54 | User Layer 9: 55 | name: 56 | cost: 1 57 | editType: 3 58 | User Layer 10: 59 | name: 60 | cost: 1 61 | editType: 3 62 | User Layer 11: 63 | name: 64 | cost: 1 65 | editType: 3 66 | User Layer 12: 67 | name: 68 | cost: 1 69 | editType: 3 70 | User Layer 13: 71 | name: 72 | cost: 1 73 | editType: 3 74 | User Layer 14: 75 | name: 76 | cost: 1 77 | editType: 3 78 | User Layer 15: 79 | name: 80 | cost: 1 81 | editType: 3 82 | User Layer 16: 83 | name: 84 | cost: 1 85 | editType: 3 86 | User Layer 17: 87 | name: 88 | cost: 1 89 | editType: 3 90 | User Layer 18: 91 | name: 92 | cost: 1 93 | editType: 3 94 | User Layer 19: 95 | name: 96 | cost: 1 97 | editType: 3 98 | User Layer 20: 99 | name: 100 | cost: 1 101 | editType: 3 102 | User Layer 21: 103 | name: 104 | cost: 1 105 | editType: 3 106 | User Layer 22: 107 | name: 108 | cost: 1 109 | editType: 3 110 | User Layer 23: 111 | name: 112 | cost: 1 113 | editType: 3 114 | User Layer 24: 115 | name: 116 | cost: 1 117 | editType: 3 118 | User Layer 25: 119 | name: 120 | cost: 1 121 | editType: 3 122 | User Layer 26: 123 | name: 124 | cost: 1 125 | editType: 3 126 | User Layer 27: 127 | name: 128 | cost: 1 129 | editType: 3 130 | User Layer 28: 131 | name: 132 | cost: 1 133 | editType: 3 134 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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_RaycastsHitTriggers: 1 11 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 12 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | AndroidProfiler: 0 8 | defaultScreenOrientation: 0 9 | targetDevice: 2 10 | targetGlesGraphics: 1 11 | targetResolution: 0 12 | accelerometerFrequency: 60 13 | companyName: DefaultCompany 14 | productName: unitychan2D 15 | defaultCursor: {fileID: 0} 16 | cursorHotspot: {x: 0, y: 0} 17 | defaultScreenWidth: 1024 18 | defaultScreenHeight: 768 19 | defaultScreenWidthWeb: 960 20 | defaultScreenHeightWeb: 600 21 | m_RenderingPath: 1 22 | m_MobileRenderingPath: 1 23 | m_ActiveColorSpace: 0 24 | m_MTRendering: 1 25 | m_MobileMTRendering: 0 26 | m_UseDX11: 1 27 | iosShowActivityIndicatorOnLoading: -1 28 | androidShowActivityIndicatorOnLoading: -1 29 | displayResolutionDialog: 1 30 | allowedAutorotateToPortrait: 1 31 | allowedAutorotateToPortraitUpsideDown: 1 32 | allowedAutorotateToLandscapeRight: 1 33 | allowedAutorotateToLandscapeLeft: 1 34 | useOSAutorotation: 1 35 | use32BitDisplayBuffer: 1 36 | use24BitDepthBuffer: 1 37 | defaultIsFullScreen: 1 38 | defaultIsNativeResolution: 1 39 | runInBackground: 1 40 | captureSingleScreen: 0 41 | Override IPod Music: 0 42 | Prepare IOS For Recording: 0 43 | enableHWStatistics: 1 44 | usePlayerLog: 1 45 | stripPhysics: 0 46 | forceSingleInstance: 0 47 | resizableWindow: 0 48 | useMacAppStoreValidation: 0 49 | gpuSkinning: 0 50 | xboxPIXTextureCapture: 0 51 | xboxEnableAvatar: 0 52 | xboxEnableKinect: 0 53 | xboxEnableKinectAutoTracking: 0 54 | xboxEnableFitness: 0 55 | macFullscreenMode: 2 56 | xboxSpeechDB: 0 57 | xboxEnableHeadOrientation: 0 58 | xboxEnableGuest: 0 59 | wiiHio2Usage: -1 60 | wiiLoadingScreenRectPlacement: 0 61 | wiiLoadingScreenBackground: {r: 1, g: 1, b: 1, a: 1} 62 | wiiLoadingScreenPeriod: 1000 63 | wiiLoadingScreenFileName: 64 | wiiLoadingScreenRect: 65 | serializedVersion: 2 66 | x: 0 67 | y: 0 68 | width: 0 69 | height: 0 70 | m_SupportedAspectRatios: 71 | 4:3: 1 72 | 5:4: 1 73 | 16:10: 1 74 | 16:9: 1 75 | Others: 1 76 | iPhoneBundleIdentifier: com.Company.ProductName 77 | metroEnableIndependentInputSource: 0 78 | metroEnableLowLatencyPresentationAPI: 0 79 | productGUID: 1dd838c9a02354c0cb1266d6d3dbe004 80 | iPhoneBundleVersion: 1.0 81 | AndroidBundleVersionCode: 1 82 | AndroidMinSdkVersion: 9 83 | AndroidPreferredInstallLocation: 1 84 | aotOptions: 85 | apiCompatibilityLevel: 2 86 | iPhoneStrippingLevel: 0 87 | iPhoneScriptCallOptimization: 0 88 | ForceInternetPermission: 0 89 | ForceSDCardPermission: 0 90 | CreateWallpaper: 0 91 | APKExpansionFiles: 0 92 | StripUnusedMeshComponents: 0 93 | iPhoneSdkVersion: 988 94 | iPhoneTargetOSVersion: 16 95 | uIPrerenderedIcon: 0 96 | uIRequiresPersistentWiFi: 0 97 | uIStatusBarHidden: 1 98 | uIExitOnSuspend: 0 99 | uIStatusBarStyle: 0 100 | iPhoneSplashScreen: {fileID: 0} 101 | iPhoneHighResSplashScreen: {fileID: 0} 102 | iPhoneTallHighResSplashScreen: {fileID: 0} 103 | iPadPortraitSplashScreen: {fileID: 0} 104 | iPadHighResPortraitSplashScreen: {fileID: 0} 105 | iPadLandscapeSplashScreen: {fileID: 0} 106 | iPadHighResLandscapeSplashScreen: {fileID: 0} 107 | AndroidTargetDevice: 0 108 | AndroidSplashScreenScale: 0 109 | AndroidKeystoreName: 110 | AndroidKeyaliasName: 111 | resolutionDialogBanner: {fileID: 0} 112 | m_BuildTargetIcons: 113 | - m_BuildTarget: 114 | m_Icons: 115 | - m_Icon: {fileID: 0} 116 | m_Size: 128 117 | m_BuildTargetBatching: [] 118 | webPlayerTemplate: PROJECT:Temp2 119 | m_TemplateCustomTags: {} 120 | wiiRegion: 1 121 | wiiGameCode: RABA 122 | wiiGameVersion: 123 | wiiCompanyCode: ZZ 124 | wiiSupportsNunchuk: 0 125 | wiiSupportsClassicController: 0 126 | wiiSupportsBalanceBoard: 0 127 | wiiSupportsMotionPlus: 0 128 | wiiControllerCount: 1 129 | wiiFloatingPointExceptions: 0 130 | wiiScreenCrashDumps: 1 131 | XboxTitleId: 132 | XboxImageXexPath: 133 | XboxSpaPath: 134 | XboxGenerateSpa: 0 135 | XboxDeployKinectResources: 0 136 | XboxSplashScreen: {fileID: 0} 137 | xboxEnableSpeech: 0 138 | xboxAdditionalTitleMemorySize: 0 139 | xboxDeployKinectHeadOrientation: 0 140 | xboxDeployKinectHeadPosition: 0 141 | ps3TitleConfigPath: 142 | ps3DLCConfigPath: 143 | ps3ThumbnailPath: 144 | ps3BackgroundPath: 145 | ps3SoundPath: 146 | ps3TrophyCommId: 147 | ps3NpCommunicationPassphrase: 148 | ps3TrophyPackagePath: 149 | ps3BootCheckMaxSaveGameSizeKB: 128 150 | ps3TrophyCommSig: 151 | ps3SaveGameSlots: 1 152 | ps3TrialMode: 0 153 | flashStrippingLevel: 2 154 | spritePackerPolicy: 155 | scriptingDefineSymbols: {} 156 | metroPackageName: unitychan2D 157 | metroPackageLogo: 158 | metroPackageVersion: 159 | metroCertificatePath: 160 | metroCertificatePassword: 161 | metroCertificateSubject: 162 | metroCertificateIssuer: 163 | metroCertificateNotAfter: 0000000000000000 164 | metroApplicationDescription: unitychan2D 165 | metroTileLogo: 166 | metroTileWideLogo: 167 | metroTileSmallLogo: 168 | metroTileShortName: 169 | metroCommandLineArgsFile: 170 | metroTileShowName: 0 171 | metroTileForegroundText: 1 172 | metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 173 | metroSplashScreenImage: 174 | metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 175 | metroSplashScreenUseBackgroundColor: 0 176 | metroCapabilities: {} 177 | metroUnprocessedPlugins: [] 178 | metroCompilationOverrides: 1 179 | blackberryDeviceAddress: 180 | blackberryDevicePassword: 181 | blackberryTokenPath: 182 | blackberryTokenExires: 183 | blackberryTokenAuthor: 184 | blackberryTokenAuthorId: 185 | blackberryAuthorId: 186 | blackberryCskPassword: 187 | blackberrySaveLogPath: 188 | blackberryAuthorIdOveride: 0 189 | blackberrySharedPermissions: 0 190 | blackberryCameraPermissions: 0 191 | blackberryGPSPermissions: 0 192 | blackberryDeviceIDPermissions: 0 193 | blackberryMicrophonePermissions: 0 194 | blackberryGamepadSupport: 0 195 | blackberryBuildId: 0 196 | blackberryLandscapeSplashScreen: {fileID: 0} 197 | blackberryPortraitSplashScreen: {fileID: 0} 198 | blackberrySquareSplashScreen: {fileID: 0} 199 | tizenProductDescription: 200 | tizenProductURL: 201 | tizenCertificatePath: 202 | tizenCertificatePassword: 203 | tizenSaveLogPath: 204 | firstStreamedLevelWithResources: 0 205 | unityRebuildLibraryVersion: 9 206 | unityForwardCompatibleVersion: 39 207 | unityStandardAssetsVersion: 0 208 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 3 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Fastest 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | blendWeights: 1 18 | textureQuality: 1 19 | anisotropicTextures: 0 20 | antiAliasing: 0 21 | softParticles: 0 22 | softVegetation: 0 23 | vSyncCount: 0 24 | lodBias: .300000012 25 | maximumLODLevel: 0 26 | particleRaycastBudget: 4 27 | excludedTargetPlatforms: [] 28 | - serializedVersion: 2 29 | name: Fast 30 | pixelLightCount: 0 31 | shadows: 0 32 | shadowResolution: 0 33 | shadowProjection: 1 34 | shadowCascades: 1 35 | shadowDistance: 20 36 | blendWeights: 2 37 | textureQuality: 0 38 | anisotropicTextures: 0 39 | antiAliasing: 0 40 | softParticles: 0 41 | softVegetation: 0 42 | vSyncCount: 0 43 | lodBias: .400000006 44 | maximumLODLevel: 0 45 | particleRaycastBudget: 16 46 | excludedTargetPlatforms: [] 47 | - serializedVersion: 2 48 | name: Simple 49 | pixelLightCount: 1 50 | shadows: 1 51 | shadowResolution: 0 52 | shadowProjection: 1 53 | shadowCascades: 1 54 | shadowDistance: 20 55 | blendWeights: 2 56 | textureQuality: 0 57 | anisotropicTextures: 1 58 | antiAliasing: 0 59 | softParticles: 0 60 | softVegetation: 0 61 | vSyncCount: 0 62 | lodBias: .699999988 63 | maximumLODLevel: 0 64 | particleRaycastBudget: 64 65 | excludedTargetPlatforms: [] 66 | - serializedVersion: 2 67 | name: Good 68 | pixelLightCount: 2 69 | shadows: 2 70 | shadowResolution: 1 71 | shadowProjection: 1 72 | shadowCascades: 2 73 | shadowDistance: 40 74 | blendWeights: 2 75 | textureQuality: 0 76 | anisotropicTextures: 1 77 | antiAliasing: 0 78 | softParticles: 0 79 | softVegetation: 1 80 | vSyncCount: 1 81 | lodBias: 1 82 | maximumLODLevel: 0 83 | particleRaycastBudget: 256 84 | excludedTargetPlatforms: [] 85 | - serializedVersion: 2 86 | name: Beautiful 87 | pixelLightCount: 3 88 | shadows: 2 89 | shadowResolution: 2 90 | shadowProjection: 1 91 | shadowCascades: 2 92 | shadowDistance: 70 93 | blendWeights: 4 94 | textureQuality: 0 95 | anisotropicTextures: 2 96 | antiAliasing: 2 97 | softParticles: 1 98 | softVegetation: 1 99 | vSyncCount: 1 100 | lodBias: 1.5 101 | maximumLODLevel: 0 102 | particleRaycastBudget: 1024 103 | excludedTargetPlatforms: [] 104 | - serializedVersion: 2 105 | name: Fantastic 106 | pixelLightCount: 4 107 | shadows: 2 108 | shadowResolution: 2 109 | shadowProjection: 1 110 | shadowCascades: 4 111 | shadowDistance: 150 112 | blendWeights: 4 113 | textureQuality: 0 114 | anisotropicTextures: 2 115 | antiAliasing: 2 116 | softParticles: 1 117 | softVegetation: 1 118 | vSyncCount: 1 119 | lodBias: 2 120 | maximumLODLevel: 0 121 | particleRaycastBudget: 4096 122 | excludedTargetPlatforms: [] 123 | m_PerPlatformDefaultQuality: 124 | Android: 2 125 | BlackBerry: 2 126 | FlashPlayer: 3 127 | GLES Emulation: 3 128 | PS3: 3 129 | PS4: 3 130 | PSM: 3 131 | PSP2: 3 132 | Samsung TV: 2 133 | Standalone: 3 134 | Tizen: 2 135 | WP8: 3 136 | Web: 3 137 | Windows Store Apps: 3 138 | XBOX360: 3 139 | XboxOne: 3 140 | iPhone: 2 141 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | tags: 6 | - DamageObject 7 | - 8 | Builtin Layer 0: Default 9 | Builtin Layer 1: TransparentFX 10 | Builtin Layer 2: Ignore Raycast 11 | Builtin Layer 3: 12 | Builtin Layer 4: Water 13 | Builtin Layer 5: UI 14 | Builtin Layer 6: 15 | Builtin Layer 7: 16 | User Layer 8: Ground 17 | User Layer 9: Player 18 | User Layer 10: 19 | User Layer 11: 20 | User Layer 12: 21 | User Layer 13: 22 | User Layer 14: 23 | User Layer 15: 24 | User Layer 16: 25 | User Layer 17: 26 | User Layer 18: 27 | User Layer 19: 28 | User Layer 20: 29 | User Layer 21: 30 | User Layer 22: 31 | User Layer 23: 32 | User Layer 24: 33 | User Layer 25: 34 | User Layer 26: 35 | User Layer 27: 36 | User Layer 28: 37 | User Layer 29: 38 | User Layer 30: 39 | User Layer 31: 40 | m_SortingLayers: 41 | - name: Default 42 | userID: 0 43 | uniqueID: 0 44 | locked: 0 45 | - name: Coin 46 | userID: 2 47 | uniqueID: 3534837493 48 | locked: 0 49 | - name: Block 50 | userID: 1 51 | uniqueID: 2494971979 52 | locked: 0 53 | - name: UI 54 | userID: 3 55 | uniqueID: 4086813705 56 | locked: 0 57 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

ユニティちゃんライセンス

このアセットは、『ユニティちゃんライセンス』で提供されています。このアセットをご利用される場合は、『キャラクター利用のガイドライン』も併せてご確認ください。

-------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | UNITY_APP_PATH=/Applications/Unity4.3.4/Unity.app/Contents/MacOS/Unity 4 | 5 | UNITY_PACKAGE_NAME=UnityChan2D 6 | 7 | [ ! -e $UNITY_APP_PATH ] && UNITY_APP_PATH=/Applications/Unity/Unity.app/Contents/MacOS/Unity 8 | 9 | [ ! -d build ] && mkdir build 10 | 11 | echo 'unitypackage 作成中' 12 | 13 | $UNITY_APP_PATH -quit -batchmode -projectPath ${PWD} -exportPackage Assets/$UNITY_PACKAGE_NAME ProjectSettings/EditorBuildSettings.asset ProjectSettings/TagManager.asset build/$UNITY_PACKAGE_NAME.unitypackage 14 | 15 | mkdir build/$UNITY_PACKAGE_NAME 16 | 17 | tar -zxpf build/$UNITY_PACKAGE_NAME.unitypackage -C build/$UNITY_PACKAGE_NAME 18 | 19 | cp unitychan2D.png build/$UNITY_PACKAGE_NAME/.icon.png 20 | 21 | cd build/$UNITY_PACKAGE_NAME 22 | 23 | tar -zcpf ../$UNITY_PACKAGE_NAME.unitypackage . 24 | 25 | cd ../../ 26 | 27 | rm -fr build/$UNITY_PACKAGE_NAME -------------------------------------------------------------------------------- /unitychan2D.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unity3d-jp/unitychan2d/e4e5a5a289efe03e7289528f1efe0cef2663fb25/unitychan2D.png --------------------------------------------------------------------------------