diff --git a/Assets/2_NewHelicopter/DustEffects/Dust.prefab b/Assets/2_NewHelicopter/DustEffects/Dust.prefab index e174080..7592045 100644 --- a/Assets/2_NewHelicopter/DustEffects/Dust.prefab +++ b/Assets/2_NewHelicopter/DustEffects/Dust.prefab @@ -25,7 +25,7 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 121626} - m_LocalRotation: {x: 0.70710677, y: -0, z: -0, w: 0.7071068} + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} m_LocalPosition: {x: 0, y: 0, z: -0.78000003} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] @@ -865,7 +865,7 @@ ParticleSystem: rateOverTime: serializedVersion: 2 minMaxState: 0 - scalar: 10 + scalar: 30 minScalar: 10 maxCurve: serializedVersion: 2 diff --git a/Assets/2_NewHelicopter/FreeRide.unity b/Assets/2_NewHelicopter/FreeRide.unity index 7892b92..2cd4170 100644 --- a/Assets/2_NewHelicopter/FreeRide.unity +++ b/Assets/2_NewHelicopter/FreeRide.unity @@ -167,14 +167,14 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 11482524, guid: c58830211c8af3a4eaf180ce9b4b8a21, type: 3} - propertyPath: PlayerCamera - value: - objectReference: {fileID: 1805356199} - target: {fileID: 11482524, guid: c58830211c8af3a4eaf180ce9b4b8a21, type: 3} propertyPath: PlayerTarget value: objectReference: {fileID: 1072598091} + - target: {fileID: 11482524, guid: c58830211c8af3a4eaf180ce9b4b8a21, type: 3} + propertyPath: PlayerCamera + value: + objectReference: {fileID: 1805356199} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: c58830211c8af3a4eaf180ce9b4b8a21, type: 3} --- !u!1001 &6262868 @@ -20360,6 +20360,10 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 19895798, guid: 925a67e4c2809914e9baecbf3e65469c, type: 3} + propertyPath: EmissionModule.rateOverTime.scalar + value: 30 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 925a67e4c2809914e9baecbf3e65469c, type: 3} --- !u!1001 &7214277571439519321 diff --git a/Assets/2_NewHelicopter/_RadarSystem/RadarSystem.prefab b/Assets/2_NewHelicopter/_RadarSystem/RadarSystem.prefab index f94825e..a3138c7 100644 Binary files a/Assets/2_NewHelicopter/_RadarSystem/RadarSystem.prefab and b/Assets/2_NewHelicopter/_RadarSystem/RadarSystem.prefab differ diff --git a/Assets/2_NewHelicopter/_RadarSystem/Scripts/RadarSystem.cs b/Assets/2_NewHelicopter/_RadarSystem/Scripts/RadarSystem.cs index b5348fb..5b6dd9e 100644 --- a/Assets/2_NewHelicopter/_RadarSystem/Scripts/RadarSystem.cs +++ b/Assets/2_NewHelicopter/_RadarSystem/Scripts/RadarSystem.cs @@ -10,6 +10,9 @@ public class RadarSystem : MonoBehaviour public Transform PlayerTarget; public Transform PlayerCamera; + [Header("View")] + public CanvasScaler RadarCanvas; + public float ScaleFactor = 3f; [Header("")] public float RadarDistance; @@ -35,6 +38,8 @@ private void Awake() runtime = this; if (!PlayerCamera) PlayerCamera = Camera.main.transform; + + RadarCanvas.scaleFactor = ScaleFactor; } private void FixedUpdate() { diff --git a/Assets/2_NewHelicopter/_UIView/Params_UIController.prefab b/Assets/2_NewHelicopter/_UIView/Params_UIController.prefab index f65fc91..e6beb5b 100644 --- a/Assets/2_NewHelicopter/_UIView/Params_UIController.prefab +++ b/Assets/2_NewHelicopter/_UIView/Params_UIController.prefab @@ -343,6 +343,7 @@ GameObject: - component: {fileID: 22453142} - component: {fileID: 22213438} - component: {fileID: 11438832} + - component: {fileID: 921570324} m_Layer: 5 m_Name: LeftPart m_TagString: Untagged @@ -406,6 +407,21 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 +--- !u!114 &921570324 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 133724} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -900027084, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 1, b: 0.25517225, a: 0.32156864} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 --- !u!1 &136654 GameObject: m_ObjectHideFlags: 0 @@ -417,6 +433,7 @@ GameObject: - component: {fileID: 22467304} - component: {fileID: 22232338} - component: {fileID: 11436210} + - component: {fileID: 875616877} m_Layer: 5 m_Name: FrontAngle m_TagString: Untagged @@ -481,6 +498,21 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 +--- !u!114 &875616877 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 136654} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -900027084, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 1, b: 0.25517225, a: 0.32156864} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 --- !u!1 &144578 GameObject: m_ObjectHideFlags: 0 @@ -980,6 +1012,7 @@ GameObject: - component: {fileID: 22459778} - component: {fileID: 22281060} - component: {fileID: 11484300} + - component: {fileID: 175417041} m_Layer: 5 m_Name: RightPart m_TagString: Untagged @@ -1043,6 +1076,21 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 +--- !u!114 &175417041 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 188568} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -900027084, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 1, b: 0.25517225, a: 0.32156864} + m_EffectDistance: {x: 1, y: -1} + m_UseGraphicAlpha: 1 --- !u!1 &189378 GameObject: m_ObjectHideFlags: 0 @@ -1056,7 +1104,7 @@ GameObject: - component: {fileID: 11488314} - component: {fileID: 7214277571532940115} m_Layer: 5 - m_Name: PC_UIController + m_Name: Params_UIController m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/README.md b/README.md index 3ade486..b8fe2cf 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,17 @@ [![AssetStore](https://img.shields.io/badge/-AssetStore-lightgrey.svg)](https://assetstore.unity.com/publishers/14506) ![GitHub followers](https://img.shields.io/github/followers/suncube.svg?label=Folow&style=social) -[![Promo](/ReadmeSource/preview1.gif)](https://youtu.be/OLRNz2fY18Q) +### Version 1.6 +[![Promo](/ReadmeSource/preview4.gif)](https://youtu.be/rSJo0wo1zOU) + + - added universal RadarSystem + - added flight HUD + - added temp DustFX(animated ground dust of working propeller) + + + ### Version 1.5 +[![Promo](/ReadmeSource/preview1.gif)](https://youtu.be/OLRNz2fY18Q) - implement Unity's system inputs - added mobile joystick @@ -28,4 +37,3 @@ External resources links: [Helicopter models](https://assetstore.unity.com/packages/3d/vehicles/air/low-poly-helicopters-pack-free-121151) [Virtual Joystick](https://assetstore.unity.com/packages/tools/input-management/simple-input-system-113033) - diff --git a/ReadmeSource/preview4.gif b/ReadmeSource/preview4.gif new file mode 100644 index 0000000..28f1897 Binary files /dev/null and b/ReadmeSource/preview4.gif differ