From 3ae3d3e0d00933c29b687a81f8e1888eee279fb8 Mon Sep 17 00:00:00 2001 From: Pasha Bibko <156938226+PashaBibko@users.noreply.github.com> Date: Tue, 25 Nov 2025 14:55:33 +0000 Subject: [PATCH] Updated Visual Style --- Assets/Materials/RedMat.mat | 10 ++++++++-- Assets/Prefabs/Enemy.prefab | 12 ++++++++++-- Assets/Scenes/SampleScene.unity | 6 +++--- Assets/Scripts/EnemyController.cs | 2 +- Assets/Scripts/PlayerController.cs | 2 +- 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/Assets/Materials/RedMat.mat b/Assets/Materials/RedMat.mat index 2aacc60..35388d6 100644 --- a/Assets/Materials/RedMat.mat +++ b/Assets/Materials/RedMat.mat @@ -8,7 +8,7 @@ Material: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: RedMat - m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} + m_Shader: {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 m_ValidKeywords: [] @@ -47,6 +47,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MainBump: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -79,6 +83,7 @@ Material: - _Mode: 0 - _OcclusionStrength: 1 - _Parallax: 0.02 + - _Shininess: 0.2 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 - _SrcBlend: 1 @@ -91,8 +96,9 @@ Material: - _UseUIAlphaClip: 0 - _ZWrite: 1 m_Colors: - - _Color: {r: 1, g: 0, b: 0, a: 1} + - _Color: {r: 0, g: 0, b: 0, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _Flip: {r: 1, g: 1, b: 1, a: 1} - _RendererColor: {r: 1, g: 1, b: 1, a: 1} + - _Specular: {r: 0, g: 0, b: 0, a: 0} m_BuildTextureStacks: [] diff --git a/Assets/Prefabs/Enemy.prefab b/Assets/Prefabs/Enemy.prefab index 5692935..fd90696 100644 --- a/Assets/Prefabs/Enemy.prefab +++ b/Assets/Prefabs/Enemy.prefab @@ -27,7 +27,7 @@ Transform: serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.2, y: 0.2, z: 0.2} + m_LocalScale: {x: 0.4, y: 0.4, z: 0.4} m_ConstrainProportionsScale: 1 m_Children: - {fileID: 1739635715747709762} @@ -45,6 +45,14 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 8a4502a12b7f15246aa7b9cc2d30a862, type: 3} m_Name: m_EditorClassIdentifier: + m_OrbitalPosition: + m_AttachedRing: 0 + m_DistanceFromCentre: 0 + m_DistanceAlongRadius: 0 + m_ObjectRadius: 0 + m_IsAttachedToRings: 0 + m_Behaviour: {fileID: 0} + m_SpinSpeed: 0 --- !u!1 &4804673878835712602 GameObject: m_ObjectHideFlags: 0 @@ -127,4 +135,4 @@ MeshFilter: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4804673878835712602} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 71e3dad..757a997 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -354,7 +354,7 @@ MonoBehaviour: volumeTrigger: {fileID: 519420032} volumeLayer: serializedVersion: 2 - m_Bits: 4294967295 + m_Bits: 23 stopNaNPropagation: 1 finalBlitToCameraTarget: 0 antialiasingMode: 3 @@ -560,11 +560,11 @@ MonoBehaviour: m_Calls: [] m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 35 + m_FontSize: 50 m_FontStyle: 0 m_BestFit: 0 m_MinSize: 3 - m_MaxSize: 40 + m_MaxSize: 50 m_Alignment: 4 m_AlignByGeometry: 0 m_RichText: 1 diff --git a/Assets/Scripts/EnemyController.cs b/Assets/Scripts/EnemyController.cs index d5d31ef..152fd54 100644 --- a/Assets/Scripts/EnemyController.cs +++ b/Assets/Scripts/EnemyController.cs @@ -7,7 +7,7 @@ public class EnemyController : OrbitalPositionBehaviour transform.position = new Vector3(0, 0, -200f); m_OrbitalPosition.m_DistanceAlongRadius = Random.Range(0f, Mathf.PI * 2f); - m_OrbitalPosition.m_ObjectRadius = 0.2f; + m_OrbitalPosition.m_ObjectRadius = 0.1f; m_OrbitalPosition.m_SpinSpeed = 0.7f; } diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 2af9785..1c43ee5 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -22,7 +22,7 @@ public class PlayerController : OrbitalPositionBehaviour GlobalOrbitalPositionManager.SetPlayer(m_OrbitalPosition); - m_OrbitalPosition.m_ObjectRadius = 0.2f; + m_OrbitalPosition.m_ObjectRadius = 0.1f; m_OrbitalPosition.m_SpinSpeed = 0.2f; }