├── .gitignore ├── Assets ├── Materials.meta ├── Materials │ ├── Bubble.mat │ └── Bubble.mat.meta ├── Models.meta ├── Prefabs.meta ├── Prefabs │ ├── FishProxy.prefab │ ├── FishProxy.prefab.meta │ ├── Main Camera.prefab │ └── Main Camera.prefab.meta ├── Scene.unity ├── Scene.unity.meta ├── Scripts.meta ├── Scripts │ ├── Fish.cs │ ├── Fish.cs.meta │ ├── GlobalFlock.cs │ ├── GlobalFlock.cs.meta │ ├── UnderWaterEffect.cs │ └── UnderWaterEffect.cs.meta ├── Textures.meta ├── Textures │ ├── BubbleSimple.png │ ├── BubbleSimple.png.meta │ ├── BubbleSimple2.png │ └── BubbleSimple2.png.meta ├── _Scenes.meta └── _Scenes │ ├── Tank.unity │ └── Tank.unity.meta ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityAdsSettings.asset └── UnityConnectSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD solution and project files 9 | ExportedObj/ 10 | *.csproj 11 | *.unityproj 12 | *.sln 13 | *.suo 14 | *.tmp 15 | *.user 16 | *.userprefs 17 | *.pidb 18 | *.booproj 19 | *.svd 20 | 21 | 22 | # Unity3D generated meta files 23 | *.pidb.meta 24 | 25 | # Unity3D Generated File On Crash Reports 26 | sysinfo.txt 27 | 28 | # Builds 29 | *.apk 30 | *.unitypackage 31 | 32 | # Exclude Private Asset Bundles 33 | Assets/Fish-Project* 34 | Assets/Fish-Project/* -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5d57016b7cb1714a90de84ebdb0a8b0 3 | folderAsset: yes 4 | timeCreated: 1468465446 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Materials/Bubble.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Bubble 10 | m_Shader: {fileID: 202, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: 3000 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 2800000, guid: a6f76cd6e73509a47808ec0f633d657d, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | data: 26 | first: 27 | name: _BumpMap 28 | second: 29 | m_Texture: {fileID: 0} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | data: 33 | first: 34 | name: _DetailNormalMap 35 | second: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | data: 40 | first: 41 | name: _ParallaxMap 42 | second: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | data: 47 | first: 48 | name: _OcclusionMap 49 | second: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | data: 54 | first: 55 | name: _EmissionMap 56 | second: 57 | m_Texture: {fileID: 0} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | data: 61 | first: 62 | name: _DetailMask 63 | second: 64 | m_Texture: {fileID: 0} 65 | m_Scale: {x: 1, y: 1} 66 | m_Offset: {x: 0, y: 0} 67 | data: 68 | first: 69 | name: _DetailAlbedoMap 70 | second: 71 | m_Texture: {fileID: 0} 72 | m_Scale: {x: 1, y: 1} 73 | m_Offset: {x: 0, y: 0} 74 | data: 75 | first: 76 | name: _MetallicGlossMap 77 | second: 78 | m_Texture: {fileID: 0} 79 | m_Scale: {x: 1, y: 1} 80 | m_Offset: {x: 0, y: 0} 81 | m_Floats: 82 | data: 83 | first: 84 | name: _SrcBlend 85 | second: 1 86 | data: 87 | first: 88 | name: _DstBlend 89 | second: 0 90 | data: 91 | first: 92 | name: _Cutoff 93 | second: 0.5 94 | data: 95 | first: 96 | name: _Parallax 97 | second: 0.02 98 | data: 99 | first: 100 | name: _ZWrite 101 | second: 1 102 | data: 103 | first: 104 | name: _Glossiness 105 | second: 0.5 106 | data: 107 | first: 108 | name: _BumpScale 109 | second: 1 110 | data: 111 | first: 112 | name: _OcclusionStrength 113 | second: 1 114 | data: 115 | first: 116 | name: _DetailNormalMapScale 117 | second: 1 118 | data: 119 | first: 120 | name: _UVSec 121 | second: 0 122 | data: 123 | first: 124 | name: _Mode 125 | second: 0 126 | data: 127 | first: 128 | name: _Metallic 129 | second: 0 130 | data: 131 | first: 132 | name: _InvFade 133 | second: 1 134 | m_Colors: 135 | data: 136 | first: 137 | name: _EmissionColor 138 | second: {r: 0, g: 0, b: 0, a: 1} 139 | data: 140 | first: 141 | name: _Color 142 | second: {r: 1, g: 1, b: 1, a: 1} 143 | -------------------------------------------------------------------------------- /Assets/Materials/Bubble.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46dab49cbd71d1f42a8e0b682946a052 3 | timeCreated: 1468465462 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2864e1628ebf3b4698456799a137ffd 3 | folderAsset: yes 4 | timeCreated: 1468382395 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a68e9217101b14e1bab85a1a6f361c35 3 | folderAsset: yes 4 | timeCreated: 1468361719 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Prefabs/FishProxy.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &179140 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: 491534} 11 | - 33: {fileID: 3374164} 12 | - 135: {fileID: 13572894} 13 | - 23: {fileID: 2383652} 14 | - 114: {fileID: 11438208} 15 | m_Layer: 0 16 | m_Name: FishProxy 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!4 &491534 23 | Transform: 24 | m_ObjectHideFlags: 1 25 | m_PrefabParentObject: {fileID: 0} 26 | m_PrefabInternal: {fileID: 100100000} 27 | m_GameObject: {fileID: 179140} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} 31 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 32 | m_Children: [] 33 | m_Father: {fileID: 0} 34 | m_RootOrder: 0 35 | --- !u!23 &2383652 36 | MeshRenderer: 37 | m_ObjectHideFlags: 1 38 | m_PrefabParentObject: {fileID: 0} 39 | m_PrefabInternal: {fileID: 100100000} 40 | m_GameObject: {fileID: 179140} 41 | m_Enabled: 1 42 | m_CastShadows: 1 43 | m_ReceiveShadows: 1 44 | m_Materials: 45 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 46 | m_SubsetIndices: 47 | m_StaticBatchRoot: {fileID: 0} 48 | m_UseLightProbes: 1 49 | m_ReflectionProbeUsage: 1 50 | m_ProbeAnchor: {fileID: 0} 51 | m_ScaleInLightmap: 1 52 | m_PreserveUVs: 1 53 | m_IgnoreNormalsForChartDetection: 0 54 | m_ImportantGI: 0 55 | m_MinimumChartSize: 4 56 | m_AutoUVMaxDistance: 0.5 57 | m_AutoUVMaxAngle: 89 58 | m_LightmapParameters: {fileID: 0} 59 | m_SortingLayerID: 0 60 | m_SortingOrder: 0 61 | --- !u!33 &3374164 62 | MeshFilter: 63 | m_ObjectHideFlags: 1 64 | m_PrefabParentObject: {fileID: 0} 65 | m_PrefabInternal: {fileID: 100100000} 66 | m_GameObject: {fileID: 179140} 67 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 68 | --- !u!114 &11438208 69 | MonoBehaviour: 70 | m_ObjectHideFlags: 1 71 | m_PrefabParentObject: {fileID: 0} 72 | m_PrefabInternal: {fileID: 100100000} 73 | m_GameObject: {fileID: 179140} 74 | m_Enabled: 1 75 | m_EditorHideFlags: 0 76 | m_Script: {fileID: 11500000, guid: d469f155118cf4256b1fdefb00ef5564, type: 3} 77 | m_Name: 78 | m_EditorClassIdentifier: 79 | speed: 0.5 80 | turnSpeed: 4 81 | --- !u!135 &13572894 82 | SphereCollider: 83 | m_ObjectHideFlags: 1 84 | m_PrefabParentObject: {fileID: 0} 85 | m_PrefabInternal: {fileID: 100100000} 86 | m_GameObject: {fileID: 179140} 87 | m_Material: {fileID: 0} 88 | m_IsTrigger: 0 89 | m_Enabled: 1 90 | serializedVersion: 2 91 | m_Radius: 0.5 92 | m_Center: {x: 0, y: 0, z: 0} 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: 179140} 103 | m_IsPrefabParent: 1 104 | -------------------------------------------------------------------------------- /Assets/Prefabs/FishProxy.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e13e5de9af0a40ed9dc1f41067c5c44 3 | timeCreated: 1468361821 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/Main Camera.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &177666 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: 450492} 11 | - 20: {fileID: 2078936} 12 | - 92: {fileID: 9213888} 13 | - 124: {fileID: 12457416} 14 | - 81: {fileID: 8197602} 15 | m_Layer: 0 16 | m_Name: Main Camera 17 | m_TagString: MainCamera 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!4 &450492 23 | Transform: 24 | m_ObjectHideFlags: 1 25 | m_PrefabParentObject: {fileID: 0} 26 | m_PrefabInternal: {fileID: 100100000} 27 | m_GameObject: {fileID: 177666} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 1, z: -10} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 32 | m_Children: [] 33 | m_Father: {fileID: 0} 34 | m_RootOrder: 0 35 | --- !u!20 &2078936 36 | Camera: 37 | m_ObjectHideFlags: 1 38 | m_PrefabParentObject: {fileID: 0} 39 | m_PrefabInternal: {fileID: 100100000} 40 | m_GameObject: {fileID: 177666} 41 | m_Enabled: 1 42 | serializedVersion: 2 43 | m_ClearFlags: 1 44 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844} 45 | m_NormalizedViewPortRect: 46 | serializedVersion: 2 47 | x: 0 48 | y: 0 49 | width: 1 50 | height: 1 51 | near clip plane: 0.3 52 | far clip plane: 1000 53 | field of view: 60 54 | orthographic: 0 55 | orthographic size: 5 56 | m_Depth: -1 57 | m_CullingMask: 58 | serializedVersion: 2 59 | m_Bits: 4294967295 60 | m_RenderingPath: -1 61 | m_TargetTexture: {fileID: 0} 62 | m_TargetDisplay: 0 63 | m_TargetEye: 3 64 | m_HDR: 0 65 | m_OcclusionCulling: 1 66 | m_StereoConvergence: 10 67 | m_StereoSeparation: 0.022 68 | m_StereoMirrorMode: 0 69 | --- !u!81 &8197602 70 | AudioListener: 71 | m_ObjectHideFlags: 1 72 | m_PrefabParentObject: {fileID: 0} 73 | m_PrefabInternal: {fileID: 100100000} 74 | m_GameObject: {fileID: 177666} 75 | m_Enabled: 1 76 | --- !u!92 &9213888 77 | Behaviour: 78 | m_ObjectHideFlags: 1 79 | m_PrefabParentObject: {fileID: 0} 80 | m_PrefabInternal: {fileID: 100100000} 81 | m_GameObject: {fileID: 177666} 82 | m_Enabled: 1 83 | --- !u!124 &12457416 84 | Behaviour: 85 | m_ObjectHideFlags: 1 86 | m_PrefabParentObject: {fileID: 0} 87 | m_PrefabInternal: {fileID: 100100000} 88 | m_GameObject: {fileID: 177666} 89 | m_Enabled: 1 90 | --- !u!1001 &100100000 91 | Prefab: 92 | m_ObjectHideFlags: 1 93 | serializedVersion: 2 94 | m_Modification: 95 | m_TransformParent: {fileID: 0} 96 | m_Modifications: [] 97 | m_RemovedComponents: [] 98 | m_ParentPrefab: {fileID: 0} 99 | m_RootGameObject: {fileID: 177666} 100 | m_IsPrefabParent: 1 101 | -------------------------------------------------------------------------------- /Assets/Prefabs/Main Camera.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b299ee33b6d314dc8b3f476554d9dd43 3 | timeCreated: 1468361827 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fc521207e2e7e448ab10a4224d68ec5 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57c34a538aa71457986ecd32ae056c19 3 | folderAsset: yes 4 | timeCreated: 1468361691 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/Fish.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class Fish : MonoBehaviour { 5 | 6 | public float speed; 7 | //public float turnSpeed = 4.0f; 8 | Vector3 averageHeading; 9 | Vector3 averagePosition; 10 | float neighborDistance = 3.0f; 11 | 12 | bool turning = false; 13 | 14 | // Use this for initialization 15 | void Start () { 16 | speed = Random.Range (0.5f, 1.0f); 17 | } 18 | 19 | // Update is called once per frame 20 | void Update () { 21 | ApplyTankBoundary (); 22 | 23 | if(turning) { 24 | Vector3 direction = Vector3.zero - transform.position; 25 | transform.rotation = Quaternion.Slerp (transform.rotation, 26 | Quaternion.LookRotation (direction), 27 | TurnSpeed () * Time.deltaTime); 28 | speed = Random.Range (0.5f, 1); 29 | } else { 30 | if (Random.Range (0, 5) < 1) 31 | ApplyRules (); 32 | } 33 | 34 | transform.Translate (0, 0, Time.deltaTime * speed); 35 | } 36 | 37 | void ApplyTankBoundary() { 38 | if(Vector3.Distance(transform.position, Vector3.zero) >= GlobalFlock.tankSize) { 39 | turning = true; 40 | } else { 41 | turning = false; 42 | } 43 | } 44 | 45 | void ApplyRules() { 46 | GameObject[] gos; 47 | gos = GlobalFlock.allFish; 48 | 49 | Vector3 vCenter = Vector3.zero; 50 | Vector3 vAvoid = Vector3.zero; 51 | float gSpeed = 0.1f; 52 | 53 | Vector3 goalPos = GlobalFlock.goalPos; 54 | 55 | float dist; 56 | int groupSize = 0; 57 | 58 | foreach (GameObject go in gos) { 59 | if (go != this.gameObject) { 60 | dist = Vector3.Distance (go.transform.position, this.transform.position); 61 | if (dist <= neighborDistance) { 62 | vCenter += go.transform.position; 63 | groupSize++; 64 | 65 | if(dist < 0.75f) { 66 | vAvoid = vAvoid + (this.transform.position - go.transform.position); 67 | } 68 | 69 | Fish anotherFish = go.GetComponent (); 70 | gSpeed += anotherFish.speed; 71 | } 72 | 73 | } 74 | } 75 | 76 | if (groupSize > 0) { 77 | vCenter = vCenter / groupSize + (goalPos - this.transform.position); 78 | speed = gSpeed / groupSize; 79 | 80 | Vector3 direction = (vCenter + vAvoid) - transform.position; 81 | if (direction != Vector3.zero) { 82 | transform.rotation = Quaternion.Slerp (transform.rotation, 83 | Quaternion.LookRotation (direction), 84 | TurnSpeed () * Time.deltaTime); 85 | } 86 | } 87 | 88 | } 89 | 90 | float TurnSpeed() { 91 | return Random.Range (0.2f, 0.6f); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Assets/Scripts/Fish.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d469f155118cf4256b1fdefb00ef5564 3 | timeCreated: 1468363220 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/GlobalFlock.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class GlobalFlock : MonoBehaviour { 5 | 6 | public GameObject defaultFish; 7 | public GameObject[] fishPrefabs; 8 | public GameObject fishSchool; 9 | public static int tankSize = 7; 10 | 11 | static int numFish = 30; 12 | public static GameObject[] allFish = new GameObject[numFish]; 13 | public static Vector3 goalPos = Vector3.zero; 14 | 15 | // Use this for initialization 16 | void Start () { 17 | for (int i = 0; i < numFish; i++) { 18 | Vector3 pos = new Vector3 ( 19 | Random.Range(-tankSize, tankSize), 20 | Random.Range(-tankSize, tankSize), 21 | Random.Range(-tankSize, tankSize) 22 | ); 23 | GameObject fish = (GameObject)Instantiate ( 24 | fishPrefabs[Random.Range (0, fishPrefabs.Length)], pos, Quaternion.identity); 25 | fish.transform.parent = fishSchool.transform; 26 | allFish [i] = fish; 27 | } 28 | } 29 | 30 | // Update is called once per frame 31 | void Update () { 32 | HandleGoalPos (); 33 | } 34 | 35 | void HandleGoalPos() { 36 | if (Random.Range(1, 10000) < 50) { 37 | goalPos = new Vector3 ( 38 | Random.Range(-tankSize, tankSize), 39 | Random.Range(-tankSize, tankSize), 40 | Random.Range(-tankSize, tankSize) 41 | ); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/Scripts/GlobalFlock.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7122a4edda0aa49e6b6046ff5f64c235 3 | timeCreated: 1468362159 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/UnderWaterEffect.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class UnderWaterEffect : MonoBehaviour { 5 | 6 | //This script enables underwater effects. Attach to main camera. 7 | 8 | //Define variable 9 | public int underwaterLevel = 7; 10 | 11 | //The scene's default fog settings 12 | private bool defaultFog = RenderSettings.fog; 13 | private Color defaultFogColor = RenderSettings.fogColor; 14 | private float defaultFogDensity = RenderSettings.fogDensity; 15 | private Material defaultSkybox = RenderSettings.skybox; 16 | private Material noSkybox; 17 | 18 | void Start () { 19 | //Set the background color 20 | //Camera.main.backgroundColor = new Color(0.22f, 0.64f, 0.77f, 0.6f); 21 | RenderSettings.fog = true; 22 | RenderSettings.fogColor = new Color(0.22f, 0.64f, 0.77f, 0.6f); 23 | RenderSettings.fogDensity = 0.045f; 24 | RenderSettings.skybox = noSkybox; 25 | } 26 | 27 | void Update () { 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /Assets/Scripts/UnderWaterEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb9f55fa811d4db45beff3f395d30b6e 3 | timeCreated: 1468427454 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d6b64052828f8e4f873745ea2bf915a 3 | folderAsset: yes 4 | timeCreated: 1468465323 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Textures/BubbleSimple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Streamweaver/FishFlocker/5bf0f3039673e642cdbf6c6f13533a06a97b9f7e/Assets/Textures/BubbleSimple.png -------------------------------------------------------------------------------- /Assets/Textures/BubbleSimple.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59c38f16b0134e8478a0cc272bba1751 3 | timeCreated: 1468465329 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Textures/BubbleSimple2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Streamweaver/FishFlocker/5bf0f3039673e642cdbf6c6f13533a06a97b9f7e/Assets/Textures/BubbleSimple2.png -------------------------------------------------------------------------------- /Assets/Textures/BubbleSimple2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6f76cd6e73509a47808ec0f633d657d 3 | timeCreated: 1468465414 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/_Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44053c9399c4442b5a4959b6dff68f7f 3 | folderAsset: yes 4 | timeCreated: 1468361704 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/_Scenes/Tank.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: 0.25 12 | backfaceThreshold: 100 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 6 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 29 | m_HaloStrength: 0.5 30 | m_FlareStrength: 1 31 | m_FlareFadeSpeed: 3 32 | m_HaloTexture: {fileID: 0} 33 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 34 | m_DefaultReflectionMode: 0 35 | m_DefaultReflectionResolution: 128 36 | m_ReflectionBounces: 1 37 | m_ReflectionIntensity: 1 38 | m_CustomReflection: {fileID: 0} 39 | m_Sun: {fileID: 0} 40 | --- !u!157 &3 41 | LightmapSettings: 42 | m_ObjectHideFlags: 0 43 | serializedVersion: 6 44 | m_GIWorkflowMode: 0 45 | m_LightmapsMode: 1 46 | m_GISettings: 47 | serializedVersion: 2 48 | m_BounceScale: 1 49 | m_IndirectOutputScale: 1 50 | m_AlbedoBoost: 1 51 | m_TemporalCoherenceThreshold: 1 52 | m_EnvironmentLightingMode: 0 53 | m_EnableBakedLightmaps: 1 54 | m_EnableRealtimeLightmaps: 1 55 | m_LightmapEditorSettings: 56 | serializedVersion: 3 57 | m_Resolution: 2 58 | m_BakeResolution: 40 59 | m_TextureWidth: 1024 60 | m_TextureHeight: 1024 61 | m_AOMaxDistance: 1 62 | m_Padding: 2 63 | m_CompAOExponent: 0 64 | m_LightmapParameters: {fileID: 0} 65 | m_TextureCompression: 1 66 | m_FinalGather: 0 67 | m_FinalGatherRayCount: 1024 68 | m_ReflectionCompression: 2 69 | m_LightingDataAsset: {fileID: 0} 70 | m_RuntimeCPUUsage: 25 71 | --- !u!196 &4 72 | NavMeshSettings: 73 | serializedVersion: 2 74 | m_ObjectHideFlags: 0 75 | m_BuildSettings: 76 | serializedVersion: 2 77 | agentRadius: 0.5 78 | agentHeight: 2 79 | agentSlope: 45 80 | agentClimb: 0.4 81 | ledgeDropHeight: 0 82 | maxJumpAcrossDistance: 0 83 | accuratePlacement: 0 84 | minRegionArea: 2 85 | cellSize: 0.16666667 86 | manualCellSize: 0 87 | m_NavMeshData: {fileID: 0} 88 | --- !u!1 &35008356 89 | GameObject: 90 | m_ObjectHideFlags: 0 91 | m_PrefabParentObject: {fileID: 0} 92 | m_PrefabInternal: {fileID: 0} 93 | serializedVersion: 4 94 | m_Component: 95 | - 4: {fileID: 35008359} 96 | - 198: {fileID: 35008358} 97 | - 199: {fileID: 35008357} 98 | m_Layer: 0 99 | m_Name: Particle System 100 | m_TagString: Untagged 101 | m_Icon: {fileID: -964228994112308473, guid: 0000000000000000d000000000000000, type: 0} 102 | m_NavMeshLayer: 0 103 | m_StaticEditorFlags: 0 104 | m_IsActive: 1 105 | --- !u!199 &35008357 106 | ParticleSystemRenderer: 107 | m_ObjectHideFlags: 0 108 | m_PrefabParentObject: {fileID: 0} 109 | m_PrefabInternal: {fileID: 0} 110 | m_GameObject: {fileID: 35008356} 111 | m_Enabled: 1 112 | m_CastShadows: 1 113 | m_ReceiveShadows: 1 114 | m_Materials: 115 | - {fileID: 2100000, guid: 46dab49cbd71d1f42a8e0b682946a052, type: 2} 116 | m_SubsetIndices: 117 | m_StaticBatchRoot: {fileID: 0} 118 | m_UseLightProbes: 1 119 | m_ReflectionProbeUsage: 0 120 | m_ProbeAnchor: {fileID: 0} 121 | m_ScaleInLightmap: 1 122 | m_PreserveUVs: 0 123 | m_IgnoreNormalsForChartDetection: 0 124 | m_ImportantGI: 0 125 | m_MinimumChartSize: 4 126 | m_AutoUVMaxDistance: 0.5 127 | m_AutoUVMaxAngle: 89 128 | m_LightmapParameters: {fileID: 0} 129 | m_SortingLayerID: 0 130 | m_SortingOrder: 0 131 | m_RenderMode: 0 132 | m_SortMode: 0 133 | m_MinParticleSize: 0 134 | m_MaxParticleSize: 0.5 135 | m_CameraVelocityScale: 0 136 | m_VelocityScale: 0 137 | m_LengthScale: 2 138 | m_SortingFudge: 0 139 | m_NormalDirection: 1 140 | m_RenderAlignment: 0 141 | m_Pivot: {x: 0, y: 0, z: 0} 142 | m_Mesh: {fileID: 0} 143 | m_Mesh1: {fileID: 0} 144 | m_Mesh2: {fileID: 0} 145 | m_Mesh3: {fileID: 0} 146 | --- !u!198 &35008358 147 | ParticleSystem: 148 | m_ObjectHideFlags: 0 149 | m_PrefabParentObject: {fileID: 0} 150 | m_PrefabInternal: {fileID: 0} 151 | m_GameObject: {fileID: 35008356} 152 | serializedVersion: 2 153 | lengthInSec: 10.19 154 | startDelay: 155 | scalar: 0 156 | maxCurve: 157 | serializedVersion: 2 158 | m_Curve: 159 | - time: 0 160 | value: 1 161 | inSlope: 0 162 | outSlope: 0 163 | tangentMode: 0 164 | - time: 1 165 | value: 1 166 | inSlope: 0 167 | outSlope: 0 168 | tangentMode: 0 169 | m_PreInfinity: 2 170 | m_PostInfinity: 2 171 | m_RotationOrder: 4 172 | minCurve: 173 | serializedVersion: 2 174 | m_Curve: 175 | - time: 0 176 | value: 0 177 | inSlope: 0 178 | outSlope: 0 179 | tangentMode: 0 180 | - time: 1 181 | value: 0 182 | inSlope: 0 183 | outSlope: 0 184 | tangentMode: 0 185 | m_PreInfinity: 2 186 | m_PostInfinity: 2 187 | m_RotationOrder: 4 188 | minMaxState: 0 189 | speed: 1 190 | randomSeed: 0 191 | looping: 1 192 | prewarm: 1 193 | playOnAwake: 1 194 | moveWithTransform: 1 195 | scalingMode: 1 196 | InitialModule: 197 | serializedVersion: 2 198 | enabled: 1 199 | startLifetime: 200 | scalar: 8.55 201 | maxCurve: 202 | serializedVersion: 2 203 | m_Curve: 204 | - time: 0 205 | value: 1 206 | inSlope: 0 207 | outSlope: 0 208 | tangentMode: 0 209 | - time: 1 210 | value: 1 211 | inSlope: 0 212 | outSlope: 0 213 | tangentMode: 0 214 | m_PreInfinity: 2 215 | m_PostInfinity: 2 216 | m_RotationOrder: 4 217 | minCurve: 218 | serializedVersion: 2 219 | m_Curve: 220 | - time: 0 221 | value: 0 222 | inSlope: 0 223 | outSlope: 0 224 | tangentMode: 0 225 | - time: 1 226 | value: 0 227 | inSlope: 0 228 | outSlope: 0 229 | tangentMode: 0 230 | m_PreInfinity: 2 231 | m_PostInfinity: 2 232 | m_RotationOrder: 4 233 | minMaxState: 0 234 | startSpeed: 235 | scalar: 2 236 | maxCurve: 237 | serializedVersion: 2 238 | m_Curve: 239 | - time: 0 240 | value: 1 241 | inSlope: 0 242 | outSlope: 0 243 | tangentMode: 0 244 | - time: 1 245 | value: 1 246 | inSlope: 0 247 | outSlope: 0 248 | tangentMode: 0 249 | m_PreInfinity: 2 250 | m_PostInfinity: 2 251 | m_RotationOrder: 4 252 | minCurve: 253 | serializedVersion: 2 254 | m_Curve: 255 | - time: 0 256 | value: 0 257 | inSlope: 0 258 | outSlope: 0 259 | tangentMode: 0 260 | - time: 1 261 | value: 0 262 | inSlope: 0 263 | outSlope: 0 264 | tangentMode: 0 265 | m_PreInfinity: 2 266 | m_PostInfinity: 2 267 | m_RotationOrder: 4 268 | minMaxState: 0 269 | startColor: 270 | maxGradient: 271 | key0: 272 | serializedVersion: 2 273 | rgba: 4294967295 274 | key1: 275 | serializedVersion: 2 276 | rgba: 4294967295 277 | key2: 278 | serializedVersion: 2 279 | rgba: 0 280 | key3: 281 | serializedVersion: 2 282 | rgba: 0 283 | key4: 284 | serializedVersion: 2 285 | rgba: 0 286 | key5: 287 | serializedVersion: 2 288 | rgba: 0 289 | key6: 290 | serializedVersion: 2 291 | rgba: 0 292 | key7: 293 | serializedVersion: 2 294 | rgba: 0 295 | ctime0: 0 296 | ctime1: 65535 297 | ctime2: 0 298 | ctime3: 0 299 | ctime4: 0 300 | ctime5: 0 301 | ctime6: 0 302 | ctime7: 0 303 | atime0: 0 304 | atime1: 65535 305 | atime2: 0 306 | atime3: 0 307 | atime4: 0 308 | atime5: 0 309 | atime6: 0 310 | atime7: 0 311 | m_NumColorKeys: 2 312 | m_NumAlphaKeys: 2 313 | minGradient: 314 | key0: 315 | serializedVersion: 2 316 | rgba: 4294967295 317 | key1: 318 | serializedVersion: 2 319 | rgba: 4294967295 320 | key2: 321 | serializedVersion: 2 322 | rgba: 0 323 | key3: 324 | serializedVersion: 2 325 | rgba: 0 326 | key4: 327 | serializedVersion: 2 328 | rgba: 0 329 | key5: 330 | serializedVersion: 2 331 | rgba: 0 332 | key6: 333 | serializedVersion: 2 334 | rgba: 0 335 | key7: 336 | serializedVersion: 2 337 | rgba: 0 338 | ctime0: 0 339 | ctime1: 65535 340 | ctime2: 0 341 | ctime3: 0 342 | ctime4: 0 343 | ctime5: 0 344 | ctime6: 0 345 | ctime7: 0 346 | atime0: 0 347 | atime1: 65535 348 | atime2: 0 349 | atime3: 0 350 | atime4: 0 351 | atime5: 0 352 | atime6: 0 353 | atime7: 0 354 | m_NumColorKeys: 2 355 | m_NumAlphaKeys: 2 356 | minColor: 357 | serializedVersion: 2 358 | rgba: 4294967295 359 | maxColor: 360 | serializedVersion: 2 361 | rgba: 4294967295 362 | minMaxState: 0 363 | startSize: 364 | scalar: 0.1 365 | maxCurve: 366 | serializedVersion: 2 367 | m_Curve: 368 | - time: 0 369 | value: 1 370 | inSlope: 0 371 | outSlope: 0 372 | tangentMode: 0 373 | - time: 1 374 | value: 1 375 | inSlope: 0 376 | outSlope: 0 377 | tangentMode: 0 378 | m_PreInfinity: 2 379 | m_PostInfinity: 2 380 | m_RotationOrder: 4 381 | minCurve: 382 | serializedVersion: 2 383 | m_Curve: 384 | - time: 0 385 | value: 0 386 | inSlope: 0 387 | outSlope: 0 388 | tangentMode: 0 389 | - time: 1 390 | value: 0 391 | inSlope: 0 392 | outSlope: 0 393 | tangentMode: 0 394 | m_PreInfinity: 2 395 | m_PostInfinity: 2 396 | m_RotationOrder: 4 397 | minMaxState: 0 398 | startRotationX: 399 | scalar: 0 400 | maxCurve: 401 | serializedVersion: 2 402 | m_Curve: 403 | - time: 0 404 | value: 1 405 | inSlope: 0 406 | outSlope: 0 407 | tangentMode: 0 408 | - time: 1 409 | value: 1 410 | inSlope: 0 411 | outSlope: 0 412 | tangentMode: 0 413 | m_PreInfinity: 2 414 | m_PostInfinity: 2 415 | m_RotationOrder: 4 416 | minCurve: 417 | serializedVersion: 2 418 | m_Curve: 419 | - time: 0 420 | value: 0 421 | inSlope: 0 422 | outSlope: 0 423 | tangentMode: 0 424 | - time: 1 425 | value: 0 426 | inSlope: 0 427 | outSlope: 0 428 | tangentMode: 0 429 | m_PreInfinity: 2 430 | m_PostInfinity: 2 431 | m_RotationOrder: 4 432 | minMaxState: 0 433 | startRotationY: 434 | scalar: 0 435 | maxCurve: 436 | serializedVersion: 2 437 | m_Curve: 438 | - time: 0 439 | value: 1 440 | inSlope: 0 441 | outSlope: 0 442 | tangentMode: 0 443 | - time: 1 444 | value: 1 445 | inSlope: 0 446 | outSlope: 0 447 | tangentMode: 0 448 | m_PreInfinity: 2 449 | m_PostInfinity: 2 450 | m_RotationOrder: 4 451 | minCurve: 452 | serializedVersion: 2 453 | m_Curve: 454 | - time: 0 455 | value: 0 456 | inSlope: 0 457 | outSlope: 0 458 | tangentMode: 0 459 | - time: 1 460 | value: 0 461 | inSlope: 0 462 | outSlope: 0 463 | tangentMode: 0 464 | m_PreInfinity: 2 465 | m_PostInfinity: 2 466 | m_RotationOrder: 4 467 | minMaxState: 0 468 | startRotation: 469 | scalar: 0 470 | maxCurve: 471 | serializedVersion: 2 472 | m_Curve: 473 | - time: 0 474 | value: 1 475 | inSlope: 0 476 | outSlope: 0 477 | tangentMode: 0 478 | - time: 1 479 | value: 1 480 | inSlope: 0 481 | outSlope: 0 482 | tangentMode: 0 483 | m_PreInfinity: 2 484 | m_PostInfinity: 2 485 | m_RotationOrder: 4 486 | minCurve: 487 | serializedVersion: 2 488 | m_Curve: 489 | - time: 0 490 | value: 0 491 | inSlope: 0 492 | outSlope: 0 493 | tangentMode: 0 494 | - time: 1 495 | value: 0 496 | inSlope: 0 497 | outSlope: 0 498 | tangentMode: 0 499 | m_PreInfinity: 2 500 | m_PostInfinity: 2 501 | m_RotationOrder: 4 502 | minMaxState: 0 503 | randomizeRotationDirection: 0 504 | gravityModifier: 0 505 | maxNumParticles: 1000 506 | rotation3D: 0 507 | ShapeModule: 508 | serializedVersion: 2 509 | enabled: 1 510 | type: 4 511 | radius: 3 512 | angle: 25 513 | length: 5 514 | boxX: 1 515 | boxY: 1 516 | boxZ: 1 517 | arc: 360 518 | placementMode: 0 519 | m_Mesh: {fileID: 0} 520 | m_MeshRenderer: {fileID: 0} 521 | m_SkinnedMeshRenderer: {fileID: 0} 522 | m_MeshMaterialIndex: 0 523 | m_MeshNormalOffset: 0 524 | m_UseMeshMaterialIndex: 0 525 | m_UseMeshColors: 1 526 | randomDirection: 0 527 | EmissionModule: 528 | enabled: 1 529 | serializedVersion: 2 530 | m_Type: 0 531 | rate: 532 | scalar: 4.07 533 | maxCurve: 534 | serializedVersion: 2 535 | m_Curve: 536 | - time: 0 537 | value: 1 538 | inSlope: 0 539 | outSlope: 0 540 | tangentMode: 0 541 | - time: 1 542 | value: 1 543 | inSlope: 0 544 | outSlope: 0 545 | tangentMode: 0 546 | m_PreInfinity: 2 547 | m_PostInfinity: 2 548 | m_RotationOrder: 4 549 | minCurve: 550 | serializedVersion: 2 551 | m_Curve: 552 | - time: 0 553 | value: 0 554 | inSlope: 0 555 | outSlope: 0 556 | tangentMode: 0 557 | - time: 1 558 | value: 0 559 | inSlope: 0 560 | outSlope: 0 561 | tangentMode: 0 562 | m_PreInfinity: 2 563 | m_PostInfinity: 2 564 | m_RotationOrder: 4 565 | minMaxState: 0 566 | cnt0: 30 567 | cnt1: 30 568 | cnt2: 30 569 | cnt3: 30 570 | cntmax0: 30 571 | cntmax1: 30 572 | cntmax2: 30 573 | cntmax3: 30 574 | time0: 0 575 | time1: 0 576 | time2: 0 577 | time3: 0 578 | m_BurstCount: 0 579 | SizeModule: 580 | enabled: 1 581 | curve: 582 | scalar: 1 583 | maxCurve: 584 | serializedVersion: 2 585 | m_Curve: 586 | - time: 0.015923565 587 | value: 0.31081086 588 | inSlope: 0 589 | outSlope: 0 590 | tangentMode: 0 591 | - time: 1 592 | value: 1 593 | inSlope: 0 594 | outSlope: 0 595 | tangentMode: 0 596 | m_PreInfinity: 2 597 | m_PostInfinity: 2 598 | m_RotationOrder: 0 599 | minCurve: 600 | serializedVersion: 2 601 | m_Curve: 602 | - time: 0 603 | value: 0 604 | inSlope: 0 605 | outSlope: 0 606 | tangentMode: 0 607 | - time: 1 608 | value: 0 609 | inSlope: 0 610 | outSlope: 0 611 | tangentMode: 0 612 | m_PreInfinity: 2 613 | m_PostInfinity: 2 614 | m_RotationOrder: 4 615 | minMaxState: 1 616 | RotationModule: 617 | enabled: 0 618 | x: 619 | scalar: 0 620 | maxCurve: 621 | serializedVersion: 2 622 | m_Curve: 623 | - time: 0 624 | value: 1 625 | inSlope: 0 626 | outSlope: 0 627 | tangentMode: 0 628 | - time: 1 629 | value: 1 630 | inSlope: 0 631 | outSlope: 0 632 | tangentMode: 0 633 | m_PreInfinity: 2 634 | m_PostInfinity: 2 635 | m_RotationOrder: 4 636 | minCurve: 637 | serializedVersion: 2 638 | m_Curve: 639 | - time: 0 640 | value: 0 641 | inSlope: 0 642 | outSlope: 0 643 | tangentMode: 0 644 | - time: 1 645 | value: 0 646 | inSlope: 0 647 | outSlope: 0 648 | tangentMode: 0 649 | m_PreInfinity: 2 650 | m_PostInfinity: 2 651 | m_RotationOrder: 4 652 | minMaxState: 0 653 | y: 654 | scalar: 0 655 | maxCurve: 656 | serializedVersion: 2 657 | m_Curve: 658 | - time: 0 659 | value: 1 660 | inSlope: 0 661 | outSlope: 0 662 | tangentMode: 0 663 | - time: 1 664 | value: 1 665 | inSlope: 0 666 | outSlope: 0 667 | tangentMode: 0 668 | m_PreInfinity: 2 669 | m_PostInfinity: 2 670 | m_RotationOrder: 4 671 | minCurve: 672 | serializedVersion: 2 673 | m_Curve: 674 | - time: 0 675 | value: 0 676 | inSlope: 0 677 | outSlope: 0 678 | tangentMode: 0 679 | - time: 1 680 | value: 0 681 | inSlope: 0 682 | outSlope: 0 683 | tangentMode: 0 684 | m_PreInfinity: 2 685 | m_PostInfinity: 2 686 | m_RotationOrder: 4 687 | minMaxState: 0 688 | curve: 689 | scalar: 0.7853982 690 | maxCurve: 691 | serializedVersion: 2 692 | m_Curve: 693 | - time: 0 694 | value: 1 695 | inSlope: 0 696 | outSlope: 0 697 | tangentMode: 0 698 | - time: 1 699 | value: 1 700 | inSlope: 0 701 | outSlope: 0 702 | tangentMode: 0 703 | m_PreInfinity: 2 704 | m_PostInfinity: 2 705 | m_RotationOrder: 4 706 | minCurve: 707 | serializedVersion: 2 708 | m_Curve: 709 | - time: 0 710 | value: 0 711 | inSlope: 0 712 | outSlope: 0 713 | tangentMode: 0 714 | - time: 1 715 | value: 0 716 | inSlope: 0 717 | outSlope: 0 718 | tangentMode: 0 719 | m_PreInfinity: 2 720 | m_PostInfinity: 2 721 | m_RotationOrder: 4 722 | minMaxState: 0 723 | separateAxes: 0 724 | ColorModule: 725 | enabled: 0 726 | gradient: 727 | maxGradient: 728 | key0: 729 | serializedVersion: 2 730 | rgba: 4294967295 731 | key1: 732 | serializedVersion: 2 733 | rgba: 4294967295 734 | key2: 735 | serializedVersion: 2 736 | rgba: 0 737 | key3: 738 | serializedVersion: 2 739 | rgba: 0 740 | key4: 741 | serializedVersion: 2 742 | rgba: 0 743 | key5: 744 | serializedVersion: 2 745 | rgba: 0 746 | key6: 747 | serializedVersion: 2 748 | rgba: 0 749 | key7: 750 | serializedVersion: 2 751 | rgba: 0 752 | ctime0: 0 753 | ctime1: 65535 754 | ctime2: 0 755 | ctime3: 0 756 | ctime4: 0 757 | ctime5: 0 758 | ctime6: 0 759 | ctime7: 0 760 | atime0: 0 761 | atime1: 65535 762 | atime2: 0 763 | atime3: 0 764 | atime4: 0 765 | atime5: 0 766 | atime6: 0 767 | atime7: 0 768 | m_NumColorKeys: 2 769 | m_NumAlphaKeys: 2 770 | minGradient: 771 | key0: 772 | serializedVersion: 2 773 | rgba: 4294967295 774 | key1: 775 | serializedVersion: 2 776 | rgba: 4294967295 777 | key2: 778 | serializedVersion: 2 779 | rgba: 0 780 | key3: 781 | serializedVersion: 2 782 | rgba: 0 783 | key4: 784 | serializedVersion: 2 785 | rgba: 0 786 | key5: 787 | serializedVersion: 2 788 | rgba: 0 789 | key6: 790 | serializedVersion: 2 791 | rgba: 0 792 | key7: 793 | serializedVersion: 2 794 | rgba: 0 795 | ctime0: 0 796 | ctime1: 65535 797 | ctime2: 0 798 | ctime3: 0 799 | ctime4: 0 800 | ctime5: 0 801 | ctime6: 0 802 | ctime7: 0 803 | atime0: 0 804 | atime1: 65535 805 | atime2: 0 806 | atime3: 0 807 | atime4: 0 808 | atime5: 0 809 | atime6: 0 810 | atime7: 0 811 | m_NumColorKeys: 2 812 | m_NumAlphaKeys: 2 813 | minColor: 814 | serializedVersion: 2 815 | rgba: 4294967295 816 | maxColor: 817 | serializedVersion: 2 818 | rgba: 4294967295 819 | minMaxState: 1 820 | UVModule: 821 | enabled: 0 822 | frameOverTime: 823 | scalar: 1 824 | maxCurve: 825 | serializedVersion: 2 826 | m_Curve: 827 | - time: 0 828 | value: 0 829 | inSlope: 0 830 | outSlope: 1 831 | tangentMode: 0 832 | - time: 1 833 | value: 1 834 | inSlope: 1 835 | outSlope: 0 836 | tangentMode: 0 837 | m_PreInfinity: 2 838 | m_PostInfinity: 2 839 | m_RotationOrder: 4 840 | minCurve: 841 | serializedVersion: 2 842 | m_Curve: 843 | - time: 0 844 | value: 0 845 | inSlope: 0 846 | outSlope: 1 847 | tangentMode: 0 848 | - time: 1 849 | value: 1 850 | inSlope: 1 851 | outSlope: 0 852 | tangentMode: 0 853 | m_PreInfinity: 2 854 | m_PostInfinity: 2 855 | m_RotationOrder: 4 856 | minMaxState: 1 857 | tilesX: 1 858 | tilesY: 1 859 | animationType: 0 860 | rowIndex: 0 861 | cycles: 1 862 | randomRow: 1 863 | VelocityModule: 864 | enabled: 0 865 | x: 866 | scalar: 0 867 | maxCurve: 868 | serializedVersion: 2 869 | m_Curve: 870 | - time: 0 871 | value: 1 872 | inSlope: 0 873 | outSlope: 0 874 | tangentMode: 0 875 | - time: 1 876 | value: 1 877 | inSlope: 0 878 | outSlope: 0 879 | tangentMode: 0 880 | m_PreInfinity: 2 881 | m_PostInfinity: 2 882 | m_RotationOrder: 4 883 | minCurve: 884 | serializedVersion: 2 885 | m_Curve: 886 | - time: 0 887 | value: 0 888 | inSlope: 0 889 | outSlope: 0 890 | tangentMode: 0 891 | - time: 1 892 | value: 0 893 | inSlope: 0 894 | outSlope: 0 895 | tangentMode: 0 896 | m_PreInfinity: 2 897 | m_PostInfinity: 2 898 | m_RotationOrder: 4 899 | minMaxState: 0 900 | y: 901 | scalar: 0 902 | maxCurve: 903 | serializedVersion: 2 904 | m_Curve: 905 | - time: 0 906 | value: 1 907 | inSlope: 0 908 | outSlope: 0 909 | tangentMode: 0 910 | - time: 1 911 | value: 1 912 | inSlope: 0 913 | outSlope: 0 914 | tangentMode: 0 915 | m_PreInfinity: 2 916 | m_PostInfinity: 2 917 | m_RotationOrder: 4 918 | minCurve: 919 | serializedVersion: 2 920 | m_Curve: 921 | - time: 0 922 | value: 0 923 | inSlope: 0 924 | outSlope: 0 925 | tangentMode: 0 926 | - time: 1 927 | value: 0 928 | inSlope: 0 929 | outSlope: 0 930 | tangentMode: 0 931 | m_PreInfinity: 2 932 | m_PostInfinity: 2 933 | m_RotationOrder: 4 934 | minMaxState: 0 935 | z: 936 | scalar: 0 937 | maxCurve: 938 | serializedVersion: 2 939 | m_Curve: 940 | - time: 0 941 | value: 1 942 | inSlope: 0 943 | outSlope: 0 944 | tangentMode: 0 945 | - time: 1 946 | value: 1 947 | inSlope: 0 948 | outSlope: 0 949 | tangentMode: 0 950 | m_PreInfinity: 2 951 | m_PostInfinity: 2 952 | m_RotationOrder: 4 953 | minCurve: 954 | serializedVersion: 2 955 | m_Curve: 956 | - time: 0 957 | value: 0 958 | inSlope: 0 959 | outSlope: 0 960 | tangentMode: 0 961 | - time: 1 962 | value: 0 963 | inSlope: 0 964 | outSlope: 0 965 | tangentMode: 0 966 | m_PreInfinity: 2 967 | m_PostInfinity: 2 968 | m_RotationOrder: 4 969 | minMaxState: 0 970 | inWorldSpace: 0 971 | InheritVelocityModule: 972 | enabled: 0 973 | m_Mode: 0 974 | m_Curve: 975 | scalar: 0 976 | maxCurve: 977 | serializedVersion: 2 978 | m_Curve: 979 | - time: 0 980 | value: 1 981 | inSlope: 0 982 | outSlope: 0 983 | tangentMode: 0 984 | - time: 1 985 | value: 1 986 | inSlope: 0 987 | outSlope: 0 988 | tangentMode: 0 989 | m_PreInfinity: 2 990 | m_PostInfinity: 2 991 | m_RotationOrder: 4 992 | minCurve: 993 | serializedVersion: 2 994 | m_Curve: 995 | - time: 0 996 | value: 0 997 | inSlope: 0 998 | outSlope: 0 999 | tangentMode: 0 1000 | - time: 1 1001 | value: 0 1002 | inSlope: 0 1003 | outSlope: 0 1004 | tangentMode: 0 1005 | m_PreInfinity: 2 1006 | m_PostInfinity: 2 1007 | m_RotationOrder: 4 1008 | minMaxState: 0 1009 | ForceModule: 1010 | enabled: 0 1011 | x: 1012 | scalar: 0 1013 | maxCurve: 1014 | serializedVersion: 2 1015 | m_Curve: 1016 | - time: 0 1017 | value: 1 1018 | inSlope: 0 1019 | outSlope: 0 1020 | tangentMode: 0 1021 | - time: 1 1022 | value: 1 1023 | inSlope: 0 1024 | outSlope: 0 1025 | tangentMode: 0 1026 | m_PreInfinity: 2 1027 | m_PostInfinity: 2 1028 | m_RotationOrder: 4 1029 | minCurve: 1030 | serializedVersion: 2 1031 | m_Curve: 1032 | - time: 0 1033 | value: 0 1034 | inSlope: 0 1035 | outSlope: 0 1036 | tangentMode: 0 1037 | - time: 1 1038 | value: 0 1039 | inSlope: 0 1040 | outSlope: 0 1041 | tangentMode: 0 1042 | m_PreInfinity: 2 1043 | m_PostInfinity: 2 1044 | m_RotationOrder: 4 1045 | minMaxState: 0 1046 | y: 1047 | scalar: 0 1048 | maxCurve: 1049 | serializedVersion: 2 1050 | m_Curve: 1051 | - time: 0 1052 | value: 1 1053 | inSlope: 0 1054 | outSlope: 0 1055 | tangentMode: 0 1056 | - time: 1 1057 | value: 1 1058 | inSlope: 0 1059 | outSlope: 0 1060 | tangentMode: 0 1061 | m_PreInfinity: 2 1062 | m_PostInfinity: 2 1063 | m_RotationOrder: 4 1064 | minCurve: 1065 | serializedVersion: 2 1066 | m_Curve: 1067 | - time: 0 1068 | value: 0 1069 | inSlope: 0 1070 | outSlope: 0 1071 | tangentMode: 0 1072 | - time: 1 1073 | value: 0 1074 | inSlope: 0 1075 | outSlope: 0 1076 | tangentMode: 0 1077 | m_PreInfinity: 2 1078 | m_PostInfinity: 2 1079 | m_RotationOrder: 4 1080 | minMaxState: 0 1081 | z: 1082 | scalar: 0 1083 | maxCurve: 1084 | serializedVersion: 2 1085 | m_Curve: 1086 | - time: 0 1087 | value: 1 1088 | inSlope: 0 1089 | outSlope: 0 1090 | tangentMode: 0 1091 | - time: 1 1092 | value: 1 1093 | inSlope: 0 1094 | outSlope: 0 1095 | tangentMode: 0 1096 | m_PreInfinity: 2 1097 | m_PostInfinity: 2 1098 | m_RotationOrder: 4 1099 | minCurve: 1100 | serializedVersion: 2 1101 | m_Curve: 1102 | - time: 0 1103 | value: 0 1104 | inSlope: 0 1105 | outSlope: 0 1106 | tangentMode: 0 1107 | - time: 1 1108 | value: 0 1109 | inSlope: 0 1110 | outSlope: 0 1111 | tangentMode: 0 1112 | m_PreInfinity: 2 1113 | m_PostInfinity: 2 1114 | m_RotationOrder: 4 1115 | minMaxState: 0 1116 | inWorldSpace: 0 1117 | randomizePerFrame: 0 1118 | ExternalForcesModule: 1119 | enabled: 0 1120 | multiplier: 1 1121 | ClampVelocityModule: 1122 | enabled: 0 1123 | x: 1124 | scalar: 1 1125 | maxCurve: 1126 | serializedVersion: 2 1127 | m_Curve: 1128 | - time: 0 1129 | value: 1 1130 | inSlope: 0 1131 | outSlope: 0 1132 | tangentMode: 0 1133 | - time: 1 1134 | value: 1 1135 | inSlope: 0 1136 | outSlope: 0 1137 | tangentMode: 0 1138 | m_PreInfinity: 2 1139 | m_PostInfinity: 2 1140 | m_RotationOrder: 4 1141 | minCurve: 1142 | serializedVersion: 2 1143 | m_Curve: 1144 | - time: 0 1145 | value: 0 1146 | inSlope: 0 1147 | outSlope: 0 1148 | tangentMode: 0 1149 | - time: 1 1150 | value: 0 1151 | inSlope: 0 1152 | outSlope: 0 1153 | tangentMode: 0 1154 | m_PreInfinity: 2 1155 | m_PostInfinity: 2 1156 | m_RotationOrder: 4 1157 | minMaxState: 0 1158 | y: 1159 | scalar: 1 1160 | maxCurve: 1161 | serializedVersion: 2 1162 | m_Curve: 1163 | - time: 0 1164 | value: 1 1165 | inSlope: 0 1166 | outSlope: 0 1167 | tangentMode: 0 1168 | - time: 1 1169 | value: 1 1170 | inSlope: 0 1171 | outSlope: 0 1172 | tangentMode: 0 1173 | m_PreInfinity: 2 1174 | m_PostInfinity: 2 1175 | m_RotationOrder: 4 1176 | minCurve: 1177 | serializedVersion: 2 1178 | m_Curve: 1179 | - time: 0 1180 | value: 0 1181 | inSlope: 0 1182 | outSlope: 0 1183 | tangentMode: 0 1184 | - time: 1 1185 | value: 0 1186 | inSlope: 0 1187 | outSlope: 0 1188 | tangentMode: 0 1189 | m_PreInfinity: 2 1190 | m_PostInfinity: 2 1191 | m_RotationOrder: 4 1192 | minMaxState: 0 1193 | z: 1194 | scalar: 1 1195 | maxCurve: 1196 | serializedVersion: 2 1197 | m_Curve: 1198 | - time: 0 1199 | value: 1 1200 | inSlope: 0 1201 | outSlope: 0 1202 | tangentMode: 0 1203 | - time: 1 1204 | value: 1 1205 | inSlope: 0 1206 | outSlope: 0 1207 | tangentMode: 0 1208 | m_PreInfinity: 2 1209 | m_PostInfinity: 2 1210 | m_RotationOrder: 4 1211 | minCurve: 1212 | serializedVersion: 2 1213 | m_Curve: 1214 | - time: 0 1215 | value: 0 1216 | inSlope: 0 1217 | outSlope: 0 1218 | tangentMode: 0 1219 | - time: 1 1220 | value: 0 1221 | inSlope: 0 1222 | outSlope: 0 1223 | tangentMode: 0 1224 | m_PreInfinity: 2 1225 | m_PostInfinity: 2 1226 | m_RotationOrder: 4 1227 | minMaxState: 0 1228 | magnitude: 1229 | scalar: 1 1230 | maxCurve: 1231 | serializedVersion: 2 1232 | m_Curve: 1233 | - time: 0 1234 | value: 1 1235 | inSlope: 0 1236 | outSlope: 0 1237 | tangentMode: 0 1238 | - time: 1 1239 | value: 1 1240 | inSlope: 0 1241 | outSlope: 0 1242 | tangentMode: 0 1243 | m_PreInfinity: 2 1244 | m_PostInfinity: 2 1245 | m_RotationOrder: 4 1246 | minCurve: 1247 | serializedVersion: 2 1248 | m_Curve: 1249 | - time: 0 1250 | value: 0 1251 | inSlope: 0 1252 | outSlope: 0 1253 | tangentMode: 0 1254 | - time: 1 1255 | value: 0 1256 | inSlope: 0 1257 | outSlope: 0 1258 | tangentMode: 0 1259 | m_PreInfinity: 2 1260 | m_PostInfinity: 2 1261 | m_RotationOrder: 4 1262 | minMaxState: 0 1263 | separateAxis: 0 1264 | inWorldSpace: 0 1265 | dampen: 1 1266 | SizeBySpeedModule: 1267 | enabled: 0 1268 | curve: 1269 | scalar: 1 1270 | maxCurve: 1271 | serializedVersion: 2 1272 | m_Curve: 1273 | - time: 0 1274 | value: 1 1275 | inSlope: 0 1276 | outSlope: 0 1277 | tangentMode: 0 1278 | - time: 1 1279 | value: 1 1280 | inSlope: 0 1281 | outSlope: 0 1282 | tangentMode: 0 1283 | m_PreInfinity: 2 1284 | m_PostInfinity: 2 1285 | m_RotationOrder: 4 1286 | minCurve: 1287 | serializedVersion: 2 1288 | m_Curve: 1289 | - time: 0 1290 | value: 0 1291 | inSlope: 0 1292 | outSlope: 0 1293 | tangentMode: 0 1294 | - time: 1 1295 | value: 0 1296 | inSlope: 0 1297 | outSlope: 0 1298 | tangentMode: 0 1299 | m_PreInfinity: 2 1300 | m_PostInfinity: 2 1301 | m_RotationOrder: 4 1302 | minMaxState: 1 1303 | range: {x: 0, y: 1} 1304 | RotationBySpeedModule: 1305 | enabled: 0 1306 | x: 1307 | scalar: 0 1308 | maxCurve: 1309 | serializedVersion: 2 1310 | m_Curve: 1311 | - time: 0 1312 | value: 1 1313 | inSlope: 0 1314 | outSlope: 0 1315 | tangentMode: 0 1316 | - time: 1 1317 | value: 1 1318 | inSlope: 0 1319 | outSlope: 0 1320 | tangentMode: 0 1321 | m_PreInfinity: 2 1322 | m_PostInfinity: 2 1323 | m_RotationOrder: 4 1324 | minCurve: 1325 | serializedVersion: 2 1326 | m_Curve: 1327 | - time: 0 1328 | value: 0 1329 | inSlope: 0 1330 | outSlope: 0 1331 | tangentMode: 0 1332 | - time: 1 1333 | value: 0 1334 | inSlope: 0 1335 | outSlope: 0 1336 | tangentMode: 0 1337 | m_PreInfinity: 2 1338 | m_PostInfinity: 2 1339 | m_RotationOrder: 4 1340 | minMaxState: 0 1341 | y: 1342 | scalar: 0 1343 | maxCurve: 1344 | serializedVersion: 2 1345 | m_Curve: 1346 | - time: 0 1347 | value: 1 1348 | inSlope: 0 1349 | outSlope: 0 1350 | tangentMode: 0 1351 | - time: 1 1352 | value: 1 1353 | inSlope: 0 1354 | outSlope: 0 1355 | tangentMode: 0 1356 | m_PreInfinity: 2 1357 | m_PostInfinity: 2 1358 | m_RotationOrder: 4 1359 | minCurve: 1360 | serializedVersion: 2 1361 | m_Curve: 1362 | - time: 0 1363 | value: 0 1364 | inSlope: 0 1365 | outSlope: 0 1366 | tangentMode: 0 1367 | - time: 1 1368 | value: 0 1369 | inSlope: 0 1370 | outSlope: 0 1371 | tangentMode: 0 1372 | m_PreInfinity: 2 1373 | m_PostInfinity: 2 1374 | m_RotationOrder: 4 1375 | minMaxState: 0 1376 | curve: 1377 | scalar: 0.7853982 1378 | maxCurve: 1379 | serializedVersion: 2 1380 | m_Curve: 1381 | - time: 0 1382 | value: 1 1383 | inSlope: 0 1384 | outSlope: 0 1385 | tangentMode: 0 1386 | - time: 1 1387 | value: 1 1388 | inSlope: 0 1389 | outSlope: 0 1390 | tangentMode: 0 1391 | m_PreInfinity: 2 1392 | m_PostInfinity: 2 1393 | m_RotationOrder: 4 1394 | minCurve: 1395 | serializedVersion: 2 1396 | m_Curve: 1397 | - time: 0 1398 | value: 0 1399 | inSlope: 0 1400 | outSlope: 0 1401 | tangentMode: 0 1402 | - time: 1 1403 | value: 0 1404 | inSlope: 0 1405 | outSlope: 0 1406 | tangentMode: 0 1407 | m_PreInfinity: 2 1408 | m_PostInfinity: 2 1409 | m_RotationOrder: 4 1410 | minMaxState: 0 1411 | separateAxes: 0 1412 | range: {x: 0, y: 1} 1413 | ColorBySpeedModule: 1414 | enabled: 0 1415 | gradient: 1416 | maxGradient: 1417 | key0: 1418 | serializedVersion: 2 1419 | rgba: 4294967295 1420 | key1: 1421 | serializedVersion: 2 1422 | rgba: 4294967295 1423 | key2: 1424 | serializedVersion: 2 1425 | rgba: 0 1426 | key3: 1427 | serializedVersion: 2 1428 | rgba: 0 1429 | key4: 1430 | serializedVersion: 2 1431 | rgba: 0 1432 | key5: 1433 | serializedVersion: 2 1434 | rgba: 0 1435 | key6: 1436 | serializedVersion: 2 1437 | rgba: 0 1438 | key7: 1439 | serializedVersion: 2 1440 | rgba: 0 1441 | ctime0: 0 1442 | ctime1: 65535 1443 | ctime2: 0 1444 | ctime3: 0 1445 | ctime4: 0 1446 | ctime5: 0 1447 | ctime6: 0 1448 | ctime7: 0 1449 | atime0: 0 1450 | atime1: 65535 1451 | atime2: 0 1452 | atime3: 0 1453 | atime4: 0 1454 | atime5: 0 1455 | atime6: 0 1456 | atime7: 0 1457 | m_NumColorKeys: 2 1458 | m_NumAlphaKeys: 2 1459 | minGradient: 1460 | key0: 1461 | serializedVersion: 2 1462 | rgba: 4294967295 1463 | key1: 1464 | serializedVersion: 2 1465 | rgba: 4294967295 1466 | key2: 1467 | serializedVersion: 2 1468 | rgba: 0 1469 | key3: 1470 | serializedVersion: 2 1471 | rgba: 0 1472 | key4: 1473 | serializedVersion: 2 1474 | rgba: 0 1475 | key5: 1476 | serializedVersion: 2 1477 | rgba: 0 1478 | key6: 1479 | serializedVersion: 2 1480 | rgba: 0 1481 | key7: 1482 | serializedVersion: 2 1483 | rgba: 0 1484 | ctime0: 0 1485 | ctime1: 65535 1486 | ctime2: 0 1487 | ctime3: 0 1488 | ctime4: 0 1489 | ctime5: 0 1490 | ctime6: 0 1491 | ctime7: 0 1492 | atime0: 0 1493 | atime1: 65535 1494 | atime2: 0 1495 | atime3: 0 1496 | atime4: 0 1497 | atime5: 0 1498 | atime6: 0 1499 | atime7: 0 1500 | m_NumColorKeys: 2 1501 | m_NumAlphaKeys: 2 1502 | minColor: 1503 | serializedVersion: 2 1504 | rgba: 4294967295 1505 | maxColor: 1506 | serializedVersion: 2 1507 | rgba: 4294967295 1508 | minMaxState: 1 1509 | range: {x: 0, y: 1} 1510 | CollisionModule: 1511 | enabled: 0 1512 | serializedVersion: 2 1513 | type: 0 1514 | collisionMode: 0 1515 | plane0: {fileID: 0} 1516 | plane1: {fileID: 0} 1517 | plane2: {fileID: 0} 1518 | plane3: {fileID: 0} 1519 | plane4: {fileID: 0} 1520 | plane5: {fileID: 0} 1521 | m_Dampen: 1522 | scalar: 0 1523 | maxCurve: 1524 | serializedVersion: 2 1525 | m_Curve: 1526 | - time: 0 1527 | value: 1 1528 | inSlope: 0 1529 | outSlope: 0 1530 | tangentMode: 0 1531 | - time: 1 1532 | value: 1 1533 | inSlope: 0 1534 | outSlope: 0 1535 | tangentMode: 0 1536 | m_PreInfinity: 2 1537 | m_PostInfinity: 2 1538 | m_RotationOrder: 4 1539 | minCurve: 1540 | serializedVersion: 2 1541 | m_Curve: 1542 | - time: 0 1543 | value: 0 1544 | inSlope: 0 1545 | outSlope: 0 1546 | tangentMode: 0 1547 | - time: 1 1548 | value: 0 1549 | inSlope: 0 1550 | outSlope: 0 1551 | tangentMode: 0 1552 | m_PreInfinity: 2 1553 | m_PostInfinity: 2 1554 | m_RotationOrder: 4 1555 | minMaxState: 0 1556 | m_Bounce: 1557 | scalar: 1 1558 | maxCurve: 1559 | serializedVersion: 2 1560 | m_Curve: 1561 | - time: 0 1562 | value: 1 1563 | inSlope: 0 1564 | outSlope: 0 1565 | tangentMode: 0 1566 | - time: 1 1567 | value: 1 1568 | inSlope: 0 1569 | outSlope: 0 1570 | tangentMode: 0 1571 | m_PreInfinity: 2 1572 | m_PostInfinity: 2 1573 | m_RotationOrder: 4 1574 | minCurve: 1575 | serializedVersion: 2 1576 | m_Curve: 1577 | - time: 0 1578 | value: 0 1579 | inSlope: 0 1580 | outSlope: 0 1581 | tangentMode: 0 1582 | - time: 1 1583 | value: 0 1584 | inSlope: 0 1585 | outSlope: 0 1586 | tangentMode: 0 1587 | m_PreInfinity: 2 1588 | m_PostInfinity: 2 1589 | m_RotationOrder: 4 1590 | minMaxState: 0 1591 | m_EnergyLossOnCollision: 1592 | scalar: 0 1593 | maxCurve: 1594 | serializedVersion: 2 1595 | m_Curve: 1596 | - time: 0 1597 | value: 1 1598 | inSlope: 0 1599 | outSlope: 0 1600 | tangentMode: 0 1601 | - time: 1 1602 | value: 1 1603 | inSlope: 0 1604 | outSlope: 0 1605 | tangentMode: 0 1606 | m_PreInfinity: 2 1607 | m_PostInfinity: 2 1608 | m_RotationOrder: 4 1609 | minCurve: 1610 | serializedVersion: 2 1611 | m_Curve: 1612 | - time: 0 1613 | value: 0 1614 | inSlope: 0 1615 | outSlope: 0 1616 | tangentMode: 0 1617 | - time: 1 1618 | value: 0 1619 | inSlope: 0 1620 | outSlope: 0 1621 | tangentMode: 0 1622 | m_PreInfinity: 2 1623 | m_PostInfinity: 2 1624 | m_RotationOrder: 4 1625 | minMaxState: 0 1626 | minKillSpeed: 0 1627 | radiusScale: 1 1628 | collidesWith: 1629 | serializedVersion: 2 1630 | m_Bits: 4294967295 1631 | maxCollisionShapes: 256 1632 | quality: 0 1633 | voxelSize: 0.5 1634 | collisionMessages: 0 1635 | collidesWithDynamic: 1 1636 | interiorCollisions: 1 1637 | SubModule: 1638 | enabled: 0 1639 | subEmitterBirth: {fileID: 0} 1640 | subEmitterBirth1: {fileID: 0} 1641 | subEmitterCollision: {fileID: 0} 1642 | subEmitterCollision1: {fileID: 0} 1643 | subEmitterDeath: {fileID: 0} 1644 | subEmitterDeath1: {fileID: 0} 1645 | --- !u!4 &35008359 1646 | Transform: 1647 | m_ObjectHideFlags: 0 1648 | m_PrefabParentObject: {fileID: 0} 1649 | m_PrefabInternal: {fileID: 0} 1650 | m_GameObject: {fileID: 35008356} 1651 | m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068} 1652 | m_LocalPosition: {x: 0, y: -6.29, z: 1.47} 1653 | m_LocalScale: {x: 1, y: 1, z: 1} 1654 | m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0} 1655 | m_Children: [] 1656 | m_Father: {fileID: 0} 1657 | m_RootOrder: 4 1658 | --- !u!1 &363784303 1659 | GameObject: 1660 | m_ObjectHideFlags: 0 1661 | m_PrefabParentObject: {fileID: 0} 1662 | m_PrefabInternal: {fileID: 0} 1663 | serializedVersion: 4 1664 | m_Component: 1665 | - 4: {fileID: 363784304} 1666 | m_Layer: 0 1667 | m_Name: FishSchool 1668 | m_TagString: Untagged 1669 | m_Icon: {fileID: 0} 1670 | m_NavMeshLayer: 0 1671 | m_StaticEditorFlags: 0 1672 | m_IsActive: 1 1673 | --- !u!4 &363784304 1674 | Transform: 1675 | m_ObjectHideFlags: 0 1676 | m_PrefabParentObject: {fileID: 0} 1677 | m_PrefabInternal: {fileID: 0} 1678 | m_GameObject: {fileID: 363784303} 1679 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1680 | m_LocalPosition: {x: 0, y: 0, z: 0} 1681 | m_LocalScale: {x: 1, y: 1, z: 1} 1682 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1683 | m_Children: [] 1684 | m_Father: {fileID: 0} 1685 | m_RootOrder: 3 1686 | --- !u!1 &501522006 1687 | GameObject: 1688 | m_ObjectHideFlags: 0 1689 | m_PrefabParentObject: {fileID: 0} 1690 | m_PrefabInternal: {fileID: 0} 1691 | serializedVersion: 4 1692 | m_Component: 1693 | - 4: {fileID: 501522008} 1694 | - 108: {fileID: 501522007} 1695 | m_Layer: 0 1696 | m_Name: Directional Light 1697 | m_TagString: Untagged 1698 | m_Icon: {fileID: 0} 1699 | m_NavMeshLayer: 0 1700 | m_StaticEditorFlags: 0 1701 | m_IsActive: 1 1702 | --- !u!108 &501522007 1703 | Light: 1704 | m_ObjectHideFlags: 0 1705 | m_PrefabParentObject: {fileID: 0} 1706 | m_PrefabInternal: {fileID: 0} 1707 | m_GameObject: {fileID: 501522006} 1708 | m_Enabled: 1 1709 | serializedVersion: 6 1710 | m_Type: 1 1711 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 1712 | m_Intensity: 1 1713 | m_Range: 10 1714 | m_SpotAngle: 30 1715 | m_CookieSize: 10 1716 | m_Shadows: 1717 | m_Type: 2 1718 | m_Resolution: -1 1719 | m_Strength: 1 1720 | m_Bias: 0.05 1721 | m_NormalBias: 0.4 1722 | m_NearPlane: 0.2 1723 | m_Cookie: {fileID: 0} 1724 | m_DrawHalo: 0 1725 | m_Flare: {fileID: 0} 1726 | m_RenderMode: 0 1727 | m_CullingMask: 1728 | serializedVersion: 2 1729 | m_Bits: 4294967295 1730 | m_Lightmapping: 4 1731 | m_BounceIntensity: 1 1732 | m_ShadowRadius: 0 1733 | m_ShadowAngle: 0 1734 | m_AreaSize: {x: 1, y: 1} 1735 | --- !u!4 &501522008 1736 | Transform: 1737 | m_ObjectHideFlags: 0 1738 | m_PrefabParentObject: {fileID: 0} 1739 | m_PrefabInternal: {fileID: 0} 1740 | m_GameObject: {fileID: 501522006} 1741 | m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.109381676, w: 0.87542605} 1742 | m_LocalPosition: {x: 0, y: 3, z: 0} 1743 | m_LocalScale: {x: 1, y: 1, z: 1} 1744 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 1745 | m_Children: [] 1746 | m_Father: {fileID: 0} 1747 | m_RootOrder: 1 1748 | --- !u!1 &740401685 stripped 1749 | GameObject: 1750 | m_PrefabParentObject: {fileID: 177666, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1751 | m_PrefabInternal: {fileID: 1586193339} 1752 | --- !u!114 &740401691 1753 | MonoBehaviour: 1754 | m_ObjectHideFlags: 0 1755 | m_PrefabParentObject: {fileID: 0} 1756 | m_PrefabInternal: {fileID: 0} 1757 | m_GameObject: {fileID: 740401685} 1758 | m_Enabled: 1 1759 | m_EditorHideFlags: 0 1760 | m_Script: {fileID: 11500000, guid: fb9f55fa811d4db45beff3f395d30b6e, type: 3} 1761 | m_Name: 1762 | m_EditorClassIdentifier: 1763 | underwaterLevel: 7 1764 | --- !u!1 &1291967800 1765 | GameObject: 1766 | m_ObjectHideFlags: 0 1767 | m_PrefabParentObject: {fileID: 0} 1768 | m_PrefabInternal: {fileID: 0} 1769 | serializedVersion: 4 1770 | m_Component: 1771 | - 4: {fileID: 1291967802} 1772 | - 114: {fileID: 1291967801} 1773 | m_Layer: 0 1774 | m_Name: FlockController 1775 | m_TagString: Untagged 1776 | m_Icon: {fileID: 0} 1777 | m_NavMeshLayer: 0 1778 | m_StaticEditorFlags: 0 1779 | m_IsActive: 1 1780 | --- !u!114 &1291967801 1781 | MonoBehaviour: 1782 | m_ObjectHideFlags: 0 1783 | m_PrefabParentObject: {fileID: 0} 1784 | m_PrefabInternal: {fileID: 0} 1785 | m_GameObject: {fileID: 1291967800} 1786 | m_Enabled: 1 1787 | m_EditorHideFlags: 0 1788 | m_Script: {fileID: 11500000, guid: 7122a4edda0aa49e6b6046ff5f64c235, type: 3} 1789 | m_Name: 1790 | m_EditorClassIdentifier: 1791 | defaultFish: {fileID: 100004, guid: a33cec81cdbd4364794d5e2fe538452e, type: 2} 1792 | fishPrefabs: 1793 | - {fileID: 100026, guid: c3de410571f09694eb066f617b536b8f, type: 2} 1794 | - {fileID: 100014, guid: 1afcf7d7abc5e12489297243fe3a467d, type: 2} 1795 | - {fileID: 100000, guid: 42e66223db75de843a65a24bff0e003c, type: 2} 1796 | - {fileID: 100010, guid: 5255a74286c2c6c4e9270fa63240ecac, type: 2} 1797 | - {fileID: 100006, guid: 6e236de787236a940a836b8008b69dd4, type: 2} 1798 | - {fileID: 100028, guid: a74ed1990ef183d4191afee5d003ae18, type: 2} 1799 | fishSchool: {fileID: 363784303} 1800 | --- !u!4 &1291967802 1801 | Transform: 1802 | m_ObjectHideFlags: 0 1803 | m_PrefabParentObject: {fileID: 0} 1804 | m_PrefabInternal: {fileID: 0} 1805 | m_GameObject: {fileID: 1291967800} 1806 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1807 | m_LocalPosition: {x: 0, y: 0, z: 0} 1808 | m_LocalScale: {x: 1, y: 1, z: 1} 1809 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1810 | m_Children: [] 1811 | m_Father: {fileID: 0} 1812 | m_RootOrder: 2 1813 | --- !u!1001 &1586193339 1814 | Prefab: 1815 | m_ObjectHideFlags: 0 1816 | serializedVersion: 2 1817 | m_Modification: 1818 | m_TransformParent: {fileID: 0} 1819 | m_Modifications: 1820 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1821 | propertyPath: m_LocalPosition.x 1822 | value: 0 1823 | objectReference: {fileID: 0} 1824 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1825 | propertyPath: m_LocalPosition.y 1826 | value: 1 1827 | objectReference: {fileID: 0} 1828 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1829 | propertyPath: m_LocalPosition.z 1830 | value: -10 1831 | objectReference: {fileID: 0} 1832 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1833 | propertyPath: m_LocalRotation.x 1834 | value: 0 1835 | objectReference: {fileID: 0} 1836 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1837 | propertyPath: m_LocalRotation.y 1838 | value: 0 1839 | objectReference: {fileID: 0} 1840 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1841 | propertyPath: m_LocalRotation.z 1842 | value: 0 1843 | objectReference: {fileID: 0} 1844 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1845 | propertyPath: m_LocalRotation.w 1846 | value: 1 1847 | objectReference: {fileID: 0} 1848 | - target: {fileID: 450492, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1849 | propertyPath: m_RootOrder 1850 | value: 0 1851 | objectReference: {fileID: 0} 1852 | m_RemovedComponents: [] 1853 | m_ParentPrefab: {fileID: 100100000, guid: b299ee33b6d314dc8b3f476554d9dd43, type: 2} 1854 | m_IsPrefabParent: 0 1855 | -------------------------------------------------------------------------------- /Assets/_Scenes/Tank.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dcd698b5af24147ba9fdcbd12308eb72 3 | timeCreated: 1468361803 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_SolverIterationCount: 6 13 | m_QueriesHitTriggers: 1 14 | m_EnableAdaptiveForce: 0 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/_Scenes/Tank.unity 10 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | m_DefaultBehaviorMode: 0 12 | m_SpritePackerMode: 2 13 | m_SpritePackerPaddingPower: 1 14 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 15 | m_ProjectGenerationRootNamespace: 16 | -------------------------------------------------------------------------------- /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 | serializedVersion: 5 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_LegacyDeferred: 14 | m_Mode: 1 15 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 16 | m_AlwaysIncludedShaders: 17 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 18 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 19 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 20 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 21 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 22 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 23 | m_PreloadedShaders: [] 24 | m_ShaderSettings: 25 | useScreenSpaceShadows: 1 26 | m_BuildTargetShaderSettings: [] 27 | m_LightmapStripping: 0 28 | m_FogStripping: 0 29 | m_LightmapKeepPlain: 1 30 | m_LightmapKeepDirCombined: 1 31 | m_LightmapKeepDirSeparate: 1 32 | m_LightmapKeepDynamicPlain: 1 33 | m_LightmapKeepDynamicDirCombined: 1 34 | m_LightmapKeepDynamicDirSeparate: 1 35 | m_FogKeepLinear: 1 36 | m_FogKeepExp: 1 37 | m_FogKeepExp2: 1 38 | -------------------------------------------------------------------------------- /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 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshAreas: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | -------------------------------------------------------------------------------- /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 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 26 | -------------------------------------------------------------------------------- /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: 8 7 | AndroidProfiler: 0 8 | defaultScreenOrientation: 4 9 | targetDevice: 2 10 | useOnDemandResources: 0 11 | accelerometerFrequency: 60 12 | companyName: DefaultCompany 13 | productName: Fish 14 | defaultCursor: {fileID: 0} 15 | cursorHotspot: {x: 0, y: 0} 16 | m_ShowUnitySplashScreen: 1 17 | m_VirtualRealitySplashScreen: {fileID: 0} 18 | defaultScreenWidth: 1024 19 | defaultScreenHeight: 768 20 | defaultScreenWidthWeb: 960 21 | defaultScreenHeightWeb: 600 22 | m_RenderingPath: 1 23 | m_MobileRenderingPath: 1 24 | m_ActiveColorSpace: 0 25 | m_MTRendering: 1 26 | m_MobileMTRendering: 0 27 | m_Stereoscopic3D: 0 28 | iosShowActivityIndicatorOnLoading: -1 29 | androidShowActivityIndicatorOnLoading: -1 30 | iosAppInBackgroundBehavior: 0 31 | displayResolutionDialog: 1 32 | iosAllowHTTPDownload: 1 33 | allowedAutorotateToPortrait: 1 34 | allowedAutorotateToPortraitUpsideDown: 1 35 | allowedAutorotateToLandscapeRight: 1 36 | allowedAutorotateToLandscapeLeft: 1 37 | useOSAutorotation: 1 38 | use32BitDisplayBuffer: 1 39 | disableDepthAndStencilBuffers: 0 40 | defaultIsFullScreen: 1 41 | defaultIsNativeResolution: 1 42 | runInBackground: 0 43 | captureSingleScreen: 0 44 | Override IPod Music: 0 45 | Prepare IOS For Recording: 0 46 | submitAnalytics: 1 47 | usePlayerLog: 1 48 | bakeCollisionMeshes: 0 49 | forceSingleInstance: 0 50 | resizableWindow: 0 51 | useMacAppStoreValidation: 0 52 | gpuSkinning: 0 53 | xboxPIXTextureCapture: 0 54 | xboxEnableAvatar: 0 55 | xboxEnableKinect: 0 56 | xboxEnableKinectAutoTracking: 0 57 | xboxEnableFitness: 0 58 | visibleInBackground: 0 59 | allowFullscreenSwitch: 1 60 | macFullscreenMode: 2 61 | d3d9FullscreenMode: 1 62 | d3d11FullscreenMode: 1 63 | xboxSpeechDB: 0 64 | xboxEnableHeadOrientation: 0 65 | xboxEnableGuest: 0 66 | xboxEnablePIXSampling: 0 67 | n3dsDisableStereoscopicView: 0 68 | n3dsEnableSharedListOpt: 1 69 | n3dsEnableVSync: 0 70 | uiUse16BitDepthBuffer: 0 71 | ignoreAlphaClear: 0 72 | xboxOneResolution: 0 73 | ps3SplashScreen: {fileID: 0} 74 | videoMemoryForVertexBuffers: 0 75 | psp2PowerMode: 0 76 | psp2AcquireBGM: 1 77 | wiiUTVResolution: 0 78 | wiiUGamePadMSAA: 1 79 | wiiUSupportsNunchuk: 0 80 | wiiUSupportsClassicController: 0 81 | wiiUSupportsBalanceBoard: 0 82 | wiiUSupportsMotionPlus: 0 83 | wiiUSupportsProController: 0 84 | wiiUAllowScreenCapture: 1 85 | wiiUControllerCount: 0 86 | m_SupportedAspectRatios: 87 | 4:3: 1 88 | 5:4: 1 89 | 16:10: 1 90 | 16:9: 1 91 | Others: 1 92 | bundleIdentifier: com.Company.ProductName 93 | bundleVersion: 1.0 94 | preloadedAssets: [] 95 | metroEnableIndependentInputSource: 0 96 | metroEnableLowLatencyPresentationAPI: 0 97 | xboxOneDisableKinectGpuReservation: 0 98 | virtualRealitySupported: 0 99 | productGUID: 31293bd220f064966b40795d4de36f56 100 | AndroidBundleVersionCode: 1 101 | AndroidMinSdkVersion: 9 102 | AndroidPreferredInstallLocation: 1 103 | aotOptions: 104 | apiCompatibilityLevel: 2 105 | stripEngineCode: 1 106 | iPhoneStrippingLevel: 0 107 | iPhoneScriptCallOptimization: 0 108 | iPhoneBuildNumber: 0 109 | ForceInternetPermission: 0 110 | ForceSDCardPermission: 0 111 | CreateWallpaper: 0 112 | APKExpansionFiles: 0 113 | preloadShaders: 0 114 | StripUnusedMeshComponents: 0 115 | VertexChannelCompressionMask: 116 | serializedVersion: 2 117 | m_Bits: 238 118 | iPhoneSdkVersion: 988 119 | iPhoneTargetOSVersion: 22 120 | tvOSSdkVersion: 0 121 | tvOSTargetOSVersion: 900 122 | uIPrerenderedIcon: 0 123 | uIRequiresPersistentWiFi: 0 124 | uIRequiresFullScreen: 1 125 | uIStatusBarHidden: 1 126 | uIExitOnSuspend: 0 127 | uIStatusBarStyle: 0 128 | iPhoneSplashScreen: {fileID: 0} 129 | iPhoneHighResSplashScreen: {fileID: 0} 130 | iPhoneTallHighResSplashScreen: {fileID: 0} 131 | iPhone47inSplashScreen: {fileID: 0} 132 | iPhone55inPortraitSplashScreen: {fileID: 0} 133 | iPhone55inLandscapeSplashScreen: {fileID: 0} 134 | iPadPortraitSplashScreen: {fileID: 0} 135 | iPadHighResPortraitSplashScreen: {fileID: 0} 136 | iPadLandscapeSplashScreen: {fileID: 0} 137 | iPadHighResLandscapeSplashScreen: {fileID: 0} 138 | appleTVSplashScreen: {fileID: 0} 139 | tvOSSmallIconLayers: [] 140 | tvOSLargeIconLayers: [] 141 | tvOSTopShelfImageLayers: [] 142 | iOSLaunchScreenType: 0 143 | iOSLaunchScreenPortrait: {fileID: 0} 144 | iOSLaunchScreenLandscape: {fileID: 0} 145 | iOSLaunchScreenBackgroundColor: 146 | serializedVersion: 2 147 | rgba: 0 148 | iOSLaunchScreenFillPct: 100 149 | iOSLaunchScreenSize: 100 150 | iOSLaunchScreenCustomXibPath: 151 | iOSLaunchScreeniPadType: 0 152 | iOSLaunchScreeniPadImage: {fileID: 0} 153 | iOSLaunchScreeniPadBackgroundColor: 154 | serializedVersion: 2 155 | rgba: 0 156 | iOSLaunchScreeniPadFillPct: 100 157 | iOSLaunchScreeniPadSize: 100 158 | iOSLaunchScreeniPadCustomXibPath: 159 | iOSDeviceRequirements: [] 160 | AndroidTargetDevice: 0 161 | AndroidSplashScreenScale: 0 162 | androidSplashScreen: {fileID: 0} 163 | AndroidKeystoreName: 164 | AndroidKeyaliasName: 165 | AndroidTVCompatibility: 1 166 | AndroidIsGame: 1 167 | androidEnableBanner: 1 168 | m_AndroidBanners: 169 | - width: 320 170 | height: 180 171 | banner: {fileID: 0} 172 | androidGamepadSupportLevel: 0 173 | resolutionDialogBanner: {fileID: 0} 174 | m_BuildTargetIcons: 175 | - m_BuildTarget: 176 | m_Icons: 177 | - serializedVersion: 2 178 | m_Icon: {fileID: 0} 179 | m_Width: 128 180 | m_Height: 128 181 | m_BuildTargetBatching: [] 182 | m_BuildTargetGraphicsAPIs: [] 183 | webPlayerTemplate: APPLICATION:Default 184 | m_TemplateCustomTags: {} 185 | wiiUTitleID: 0005000011000000 186 | wiiUGroupID: 00010000 187 | wiiUCommonSaveSize: 4096 188 | wiiUAccountSaveSize: 2048 189 | wiiUOlvAccessKey: 0 190 | wiiUTinCode: 0 191 | wiiUJoinGameId: 0 192 | wiiUJoinGameModeMask: 0000000000000000 193 | wiiUCommonBossSize: 0 194 | wiiUAccountBossSize: 0 195 | wiiUAddOnUniqueIDs: [] 196 | wiiUMainThreadStackSize: 3072 197 | wiiULoaderThreadStackSize: 1024 198 | wiiUSystemHeapSize: 128 199 | wiiUTVStartupScreen: {fileID: 0} 200 | wiiUGamePadStartupScreen: {fileID: 0} 201 | wiiUDrcBufferDisabled: 0 202 | wiiUProfilerLibPath: 203 | actionOnDotNetUnhandledException: 1 204 | enableInternalProfiler: 0 205 | logObjCUncaughtExceptions: 1 206 | enableCrashReportAPI: 0 207 | locationUsageDescription: 208 | XboxTitleId: 209 | XboxImageXexPath: 210 | XboxSpaPath: 211 | XboxGenerateSpa: 0 212 | XboxDeployKinectResources: 0 213 | XboxSplashScreen: {fileID: 0} 214 | xboxEnableSpeech: 0 215 | xboxAdditionalTitleMemorySize: 0 216 | xboxDeployKinectHeadOrientation: 0 217 | xboxDeployKinectHeadPosition: 0 218 | ps3TitleConfigPath: 219 | ps3DLCConfigPath: 220 | ps3ThumbnailPath: 221 | ps3BackgroundPath: 222 | ps3SoundPath: 223 | ps3NPAgeRating: 12 224 | ps3TrophyCommId: 225 | ps3NpCommunicationPassphrase: 226 | ps3TrophyPackagePath: 227 | ps3BootCheckMaxSaveGameSizeKB: 128 228 | ps3TrophyCommSig: 229 | ps3SaveGameSlots: 1 230 | ps3TrialMode: 0 231 | ps3VideoMemoryForAudio: 0 232 | ps3EnableVerboseMemoryStats: 0 233 | ps3UseSPUForUmbra: 0 234 | ps3EnableMoveSupport: 1 235 | ps3DisableDolbyEncoding: 0 236 | ps4NPAgeRating: 12 237 | ps4NPTitleSecret: 238 | ps4NPTrophyPackPath: 239 | ps4ParentalLevel: 1 240 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 241 | ps4Category: 0 242 | ps4MasterVersion: 01.00 243 | ps4AppVersion: 01.00 244 | ps4AppType: 0 245 | ps4ParamSfxPath: 246 | ps4VideoOutPixelFormat: 0 247 | ps4VideoOutResolution: 4 248 | ps4PronunciationXMLPath: 249 | ps4PronunciationSIGPath: 250 | ps4BackgroundImagePath: 251 | ps4StartupImagePath: 252 | ps4SaveDataImagePath: 253 | ps4SdkOverride: 254 | ps4BGMPath: 255 | ps4ShareFilePath: 256 | ps4ShareOverlayImagePath: 257 | ps4PrivacyGuardImagePath: 258 | ps4NPtitleDatPath: 259 | ps4RemotePlayKeyAssignment: -1 260 | ps4RemotePlayKeyMappingDir: 261 | ps4EnterButtonAssignment: 1 262 | ps4ApplicationParam1: 0 263 | ps4ApplicationParam2: 0 264 | ps4ApplicationParam3: 0 265 | ps4ApplicationParam4: 0 266 | ps4DownloadDataSize: 0 267 | ps4GarlicHeapSize: 2048 268 | ps4Passcode: mWqBlQ9wQj99nsQzldVI5ZuGXbEWRK5R 269 | ps4UseDebugIl2cppLibs: 0 270 | ps4pnSessions: 1 271 | ps4pnPresence: 1 272 | ps4pnFriends: 1 273 | ps4pnGameCustomData: 1 274 | playerPrefsSupport: 0 275 | ps4ReprojectionSupport: 0 276 | ps4UseAudio3dBackend: 0 277 | ps4SocialScreenEnabled: 0 278 | ps4Audio3dVirtualSpeakerCount: 14 279 | ps4attribCpuUsage: 0 280 | ps4PatchPkgPath: 281 | ps4PatchLatestPkgPath: 282 | ps4PatchChangeinfoPath: 283 | ps4attribUserManagement: 0 284 | ps4attribMoveSupport: 0 285 | ps4attrib3DSupport: 0 286 | ps4attribShareSupport: 0 287 | ps4IncludedModules: [] 288 | monoEnv: 289 | psp2Splashimage: {fileID: 0} 290 | psp2NPTrophyPackPath: 291 | psp2NPSupportGBMorGJP: 0 292 | psp2NPAgeRating: 12 293 | psp2NPTitleDatPath: 294 | psp2NPCommsID: 295 | psp2NPCommunicationsID: 296 | psp2NPCommsPassphrase: 297 | psp2NPCommsSig: 298 | psp2ParamSfxPath: 299 | psp2ManualPath: 300 | psp2LiveAreaGatePath: 301 | psp2LiveAreaBackroundPath: 302 | psp2LiveAreaPath: 303 | psp2LiveAreaTrialPath: 304 | psp2PatchChangeInfoPath: 305 | psp2PatchOriginalPackage: 306 | psp2PackagePassword: hRXdCdG5nG5azdNMK66MuCV6GXi5xr84 307 | psp2KeystoneFile: 308 | psp2MemoryExpansionMode: 0 309 | psp2DRMType: 0 310 | psp2StorageType: 0 311 | psp2MediaCapacity: 0 312 | psp2DLCConfigPath: 313 | psp2ThumbnailPath: 314 | psp2BackgroundPath: 315 | psp2SoundPath: 316 | psp2TrophyCommId: 317 | psp2TrophyPackagePath: 318 | psp2PackagedResourcesPath: 319 | psp2SaveDataQuota: 10240 320 | psp2ParentalLevel: 1 321 | psp2ShortTitle: Not Set 322 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 323 | psp2Category: 0 324 | psp2MasterVersion: 01.00 325 | psp2AppVersion: 01.00 326 | psp2TVBootMode: 0 327 | psp2EnterButtonAssignment: 2 328 | psp2TVDisableEmu: 0 329 | psp2AllowTwitterDialog: 1 330 | psp2Upgradable: 0 331 | psp2HealthWarning: 0 332 | psp2UseLibLocation: 0 333 | psp2InfoBarOnStartup: 0 334 | psp2InfoBarColor: 0 335 | psp2UseDebugIl2cppLibs: 0 336 | psmSplashimage: {fileID: 0} 337 | spritePackerPolicy: 338 | scriptingDefineSymbols: {} 339 | metroPackageName: Fish 340 | metroPackageVersion: 341 | metroCertificatePath: 342 | metroCertificatePassword: 343 | metroCertificateSubject: 344 | metroCertificateIssuer: 345 | metroCertificateNotAfter: 0000000000000000 346 | metroApplicationDescription: Fish 347 | wsaImages: {} 348 | metroTileShortName: 349 | metroCommandLineArgsFile: 350 | metroTileShowName: 0 351 | metroMediumTileShowName: 0 352 | metroLargeTileShowName: 0 353 | metroWideTileShowName: 0 354 | metroDefaultTileSize: 1 355 | metroTileForegroundText: 1 356 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 357 | metroSplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, 358 | a: 1} 359 | metroSplashScreenUseBackgroundColor: 1 360 | platformCapabilities: {} 361 | metroFTAName: 362 | metroFTAFileTypes: [] 363 | metroProtocolName: 364 | metroCompilationOverrides: 1 365 | blackberryDeviceAddress: 366 | blackberryDevicePassword: 367 | blackberryTokenPath: 368 | blackberryTokenExires: 369 | blackberryTokenAuthor: 370 | blackberryTokenAuthorId: 371 | blackberryCskPassword: 372 | blackberrySaveLogPath: 373 | blackberrySharedPermissions: 0 374 | blackberryCameraPermissions: 0 375 | blackberryGPSPermissions: 0 376 | blackberryDeviceIDPermissions: 0 377 | blackberryMicrophonePermissions: 0 378 | blackberryGamepadSupport: 0 379 | blackberryBuildId: 0 380 | blackberryLandscapeSplashScreen: {fileID: 0} 381 | blackberryPortraitSplashScreen: {fileID: 0} 382 | blackberrySquareSplashScreen: {fileID: 0} 383 | tizenProductDescription: 384 | tizenProductURL: 385 | tizenSigningProfileName: 386 | tizenGPSPermissions: 0 387 | tizenMicrophonePermissions: 0 388 | n3dsUseExtSaveData: 0 389 | n3dsCompressStaticMem: 1 390 | n3dsExtSaveDataNumber: 0x12345 391 | n3dsStackSize: 131072 392 | n3dsTargetPlatform: 2 393 | n3dsRegion: 7 394 | n3dsMediaSize: 0 395 | n3dsLogoStyle: 3 396 | n3dsTitle: GameName 397 | n3dsProductCode: 398 | n3dsApplicationId: 0xFF3FF 399 | stvDeviceAddress: 400 | stvProductDescription: 401 | stvProductAuthor: 402 | stvProductAuthorEmail: 403 | stvProductLink: 404 | stvProductCategory: 0 405 | XboxOneProductId: 406 | XboxOneUpdateKey: 407 | XboxOneSandboxId: 408 | XboxOneContentId: 409 | XboxOneTitleId: 410 | XboxOneSCId: 411 | XboxOneGameOsOverridePath: 412 | XboxOnePackagingOverridePath: 413 | XboxOneAppManifestOverridePath: 414 | XboxOnePackageEncryption: 0 415 | XboxOnePackageUpdateGranularity: 2 416 | XboxOneDescription: 417 | XboxOneIsContentPackage: 0 418 | XboxOneEnableGPUVariability: 0 419 | XboxOneSockets: {} 420 | XboxOneSplashScreen: {fileID: 0} 421 | XboxOneAllowedProductIds: [] 422 | XboxOnePersistentLocalStorageSize: 0 423 | intPropertyNames: 424 | - Standalone::ScriptingBackend 425 | - WebGL::ScriptingBackend 426 | - WebGL::audioCompressionFormat 427 | - WebGL::exceptionSupport 428 | - WebGL::memorySize 429 | - WebPlayer::ScriptingBackend 430 | - iOS::Architecture 431 | - iOS::EnableIncrementalBuildSupportForIl2cpp 432 | - iOS::ScriptingBackend 433 | Standalone::ScriptingBackend: 0 434 | WebGL::ScriptingBackend: 1 435 | WebGL::audioCompressionFormat: 4 436 | WebGL::exceptionSupport: 1 437 | WebGL::memorySize: 256 438 | WebPlayer::ScriptingBackend: 0 439 | iOS::Architecture: 2 440 | iOS::EnableIncrementalBuildSupportForIl2cpp: 1 441 | iOS::ScriptingBackend: 1 442 | boolPropertyNames: 443 | - WebGL::analyzeBuildSize 444 | - WebGL::dataCaching 445 | - WebGL::useEmbeddedResources 446 | - XboxOne::enus 447 | WebGL::analyzeBuildSize: 0 448 | WebGL::dataCaching: 0 449 | WebGL::useEmbeddedResources: 0 450 | XboxOne::enus: 1 451 | stringPropertyNames: 452 | - WebGL::emscriptenArgs 453 | - WebGL::template 454 | - additionalIl2CppArgs::additionalIl2CppArgs 455 | WebGL::emscriptenArgs: 456 | WebGL::template: APPLICATION:Default 457 | additionalIl2CppArgs::additionalIl2CppArgs: 458 | cloudProjectId: 459 | projectName: 460 | organizationId: 461 | cloudEnabled: 0 462 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.3.5f1 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /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: 5 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 | shadowNearPlaneOffset: 2 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | blendWeights: 1 21 | textureQuality: 1 22 | anisotropicTextures: 0 23 | antiAliasing: 0 24 | softParticles: 0 25 | softVegetation: 0 26 | realtimeReflectionProbes: 0 27 | billboardsFaceCameraPosition: 0 28 | vSyncCount: 0 29 | lodBias: 0.3 30 | maximumLODLevel: 0 31 | particleRaycastBudget: 4 32 | asyncUploadTimeSlice: 2 33 | asyncUploadBufferSize: 4 34 | excludedTargetPlatforms: [] 35 | - serializedVersion: 2 36 | name: Fast 37 | pixelLightCount: 0 38 | shadows: 0 39 | shadowResolution: 0 40 | shadowProjection: 1 41 | shadowCascades: 1 42 | shadowDistance: 20 43 | shadowNearPlaneOffset: 2 44 | shadowCascade2Split: 0.33333334 45 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 46 | blendWeights: 2 47 | textureQuality: 0 48 | anisotropicTextures: 0 49 | antiAliasing: 0 50 | softParticles: 0 51 | softVegetation: 0 52 | realtimeReflectionProbes: 0 53 | billboardsFaceCameraPosition: 0 54 | vSyncCount: 0 55 | lodBias: 0.4 56 | maximumLODLevel: 0 57 | particleRaycastBudget: 16 58 | asyncUploadTimeSlice: 2 59 | asyncUploadBufferSize: 4 60 | excludedTargetPlatforms: [] 61 | - serializedVersion: 2 62 | name: Simple 63 | pixelLightCount: 1 64 | shadows: 1 65 | shadowResolution: 0 66 | shadowProjection: 1 67 | shadowCascades: 1 68 | shadowDistance: 20 69 | shadowNearPlaneOffset: 2 70 | shadowCascade2Split: 0.33333334 71 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 72 | blendWeights: 2 73 | textureQuality: 0 74 | anisotropicTextures: 1 75 | antiAliasing: 0 76 | softParticles: 0 77 | softVegetation: 0 78 | realtimeReflectionProbes: 0 79 | billboardsFaceCameraPosition: 0 80 | vSyncCount: 0 81 | lodBias: 0.7 82 | maximumLODLevel: 0 83 | particleRaycastBudget: 64 84 | asyncUploadTimeSlice: 2 85 | asyncUploadBufferSize: 4 86 | excludedTargetPlatforms: [] 87 | - serializedVersion: 2 88 | name: Good 89 | pixelLightCount: 2 90 | shadows: 2 91 | shadowResolution: 1 92 | shadowProjection: 1 93 | shadowCascades: 2 94 | shadowDistance: 40 95 | shadowNearPlaneOffset: 2 96 | shadowCascade2Split: 0.33333334 97 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 98 | blendWeights: 2 99 | textureQuality: 0 100 | anisotropicTextures: 1 101 | antiAliasing: 0 102 | softParticles: 0 103 | softVegetation: 1 104 | realtimeReflectionProbes: 1 105 | billboardsFaceCameraPosition: 1 106 | vSyncCount: 1 107 | lodBias: 1 108 | maximumLODLevel: 0 109 | particleRaycastBudget: 256 110 | asyncUploadTimeSlice: 2 111 | asyncUploadBufferSize: 4 112 | excludedTargetPlatforms: [] 113 | - serializedVersion: 2 114 | name: Beautiful 115 | pixelLightCount: 3 116 | shadows: 2 117 | shadowResolution: 2 118 | shadowProjection: 1 119 | shadowCascades: 2 120 | shadowDistance: 70 121 | shadowNearPlaneOffset: 2 122 | shadowCascade2Split: 0.33333334 123 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 124 | blendWeights: 4 125 | textureQuality: 0 126 | anisotropicTextures: 2 127 | antiAliasing: 2 128 | softParticles: 1 129 | softVegetation: 1 130 | realtimeReflectionProbes: 1 131 | billboardsFaceCameraPosition: 1 132 | vSyncCount: 1 133 | lodBias: 1.5 134 | maximumLODLevel: 0 135 | particleRaycastBudget: 1024 136 | asyncUploadTimeSlice: 2 137 | asyncUploadBufferSize: 4 138 | excludedTargetPlatforms: [] 139 | - serializedVersion: 2 140 | name: Fantastic 141 | pixelLightCount: 4 142 | shadows: 2 143 | shadowResolution: 2 144 | shadowProjection: 1 145 | shadowCascades: 4 146 | shadowDistance: 150 147 | shadowNearPlaneOffset: 2 148 | shadowCascade2Split: 0.33333334 149 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 150 | blendWeights: 4 151 | textureQuality: 0 152 | anisotropicTextures: 2 153 | antiAliasing: 2 154 | softParticles: 1 155 | softVegetation: 1 156 | realtimeReflectionProbes: 1 157 | billboardsFaceCameraPosition: 1 158 | vSyncCount: 1 159 | lodBias: 2 160 | maximumLODLevel: 0 161 | particleRaycastBudget: 4096 162 | asyncUploadTimeSlice: 2 163 | asyncUploadBufferSize: 4 164 | excludedTargetPlatforms: [] 165 | m_PerPlatformDefaultQuality: 166 | Android: 2 167 | BlackBerry: 2 168 | GLES Emulation: 5 169 | Nintendo 3DS: 5 170 | PS3: 5 171 | PS4: 5 172 | PSM: 5 173 | PSP2: 2 174 | Samsung TV: 2 175 | Standalone: 5 176 | Tizen: 2 177 | WP8: 5 178 | Web: 5 179 | WebGL: 3 180 | WiiU: 5 181 | Windows Store Apps: 5 182 | XBOX360: 5 183 | XboxOne: 5 184 | iPhone: 2 185 | tvOS: 5 186 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!292 &1 4 | UnityAdsSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_InitializeOnStartup: 1 8 | m_TestMode: 0 9 | m_EnabledPlatforms: 4294967295 10 | m_IosGameId: 11 | m_AndroidGameId: 12 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | UnityPurchasingSettings: 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | UnityAnalyticsSettings: 10 | m_Enabled: 0 11 | m_InitializeOnStartup: 1 12 | m_TestMode: 0 13 | m_TestEventUrl: 14 | m_TestConfigUrl: 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FishFlocker 2 | An implementation of the flocking algorithm in Unity. 3 | 4 | **Important** The Colorful Sea-Fish pack is **not** included in this repository as it is not free. If you'd like to use this, buy that pack or just replace the game objects with any you would like to use instead, even primative shapes work fine (although they will have no animation obviously). 5 | 6 | ## Credits 7 | 8 | * Code based mostly on YouTube tutorial "[Flocking Fish in Unity 5: Creating Schooling behaviour with simple AI.](https://www.youtube.com/watch?v=eMpI1eCsIyM)" by [Holistic3d](https://www.youtube.com/channel/UCp_SOgsRYdLfIEWLjM62ZJg) 9 | 10 | * [Bubble texture](http://opengameart.org/content/transparent-bubble) by [aloknarula](http://opengameart.org/users/aloknarula) via [OpenGameArt](http://opengameart.org/) 11 | 12 | * [Colorful Sea-Fish Pack](https://www.assetstore.unity3d.com/en/#!/content/12389) by [Sou Chen Ki](https://www.assetstore.unity3d.com/en/#!/search/page=1/sortby=popularity/query=publisher:1796) (Not Included in repository) 13 | 14 | 15 | 16 | 17 | --------------------------------------------------------------------------------