Skip to content

Commit 8aff478

Browse files
committed
Refactor Infantry prefab and update outline logic
Replaced the Infantry prefab with a new version featuring a particle system for glow effects and removed the outline logic from Outline.cs. Updated several material and prefab files to adjust sun direction and object positions, and made related changes to vehicle and projectile prefabs for consistency.
1 parent aaa545a commit 8aff478

File tree

17 files changed

+32513
-18719
lines changed

17 files changed

+32513
-18719
lines changed

Red Strike/Assets/InputController/Outline/Scripts/Outline.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -411,20 +411,5 @@ void UpdateMaterialProperties()
411411
outlineFillMaterial.SetFloat("_ZTest", fillZTest);
412412
outlineFillMaterial.SetFloat("_OutlineWidth", currentOutlineWidth);
413413
}
414-
415-
public void On()
416-
{
417-
this.enabled = true;
418-
}
419-
420-
public void Off()
421-
{
422-
this.enabled = false;
423-
}
424-
425-
public bool IsOutlineEnabled()
426-
{
427-
return this.enabled && isInitialized;
428-
}
429414
}
430415
}

Red Strike/Assets/PlanetAtmosphereSystem/AtmosphereMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Material:
4747
- _GunesYonu: {r: -0.91, g: 0.4, b: 3.24, a: 0}
4848
- _RenkUzak: {r: 0, g: 0.10166844, b: 2.152374, a: 1}
4949
- _RenkYakin: {r: 0, g: 5.670685, b: 8, a: 1}
50-
- _SunDirection: {r: -0.11735151, g: -0.6928927, b: 0.7114272, a: 0}
50+
- _SunDirection: {r: -0.052779347, g: -0.8819741, b: 0.46833348, a: 0}
5151
m_BuildTextureStacks: []
5252
m_AllowLocking: 1
5353
--- !u!114 &1522106816477559216

Red Strike/Assets/PlanetAtmosphereSystem/CloudMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Material:
4343
m_Colors:
4444
- _Color: {r: 0, g: 3.8274493, b: 5.992155, a: 1}
4545
- _GunesYonu: {r: -1, g: 0, b: 0, a: 0}
46-
- _SunDirection: {r: -0.11735151, g: -0.6928927, b: 0.7114272, a: 0}
46+
- _SunDirection: {r: -0.052779347, g: -0.8819741, b: 0.46833348, a: 0}
4747
m_BuildTextureStacks: []
4848
m_AllowLocking: 1
4949
--- !u!114 &8499732345945835446

Red Strike/Assets/PlanetAtmosphereSystem/FogMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ Material:
5454
- _QueueControl: 0
5555
- _QueueOffset: 0
5656
m_Colors:
57-
- _SunDirection: {r: -0.11735151, g: -0.6928927, b: 0.7114272, a: 0}
57+
- _SunDirection: {r: -0.052779347, g: -0.8819741, b: 0.46833348, a: 0}
5858
m_BuildTextureStacks: []
5959
m_AllowLocking: 1

Red Strike/Assets/Resources/BasicTankShell.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5011,7 +5011,7 @@ Transform:
50115011
m_GameObject: {fileID: 5858476706136754781}
50125012
serializedVersion: 2
50135013
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
5014-
m_LocalPosition: {x: 0.5944042, y: 1.88, z: -48.763}
5014+
m_LocalPosition: {x: 0, y: 1.88, z: 0}
50155015
m_LocalScale: {x: 8, y: 8, z: 8}
50165016
m_ConstrainProportionsScale: 1
50175017
m_Children:
@@ -5054,7 +5054,9 @@ MonoBehaviour:
50545054
m_Name:
50555055
m_EditorClassIdentifier:
50565056
ammunitionData: {fileID: 11400000, guid: 5ef71d70c67b5bc4d964f8e71bd005ea, type: 2}
5057-
ownerVehicle: {fileID: 0}
5057+
_OwnerTeamId: -1
5058+
_OwnerVehicleId:
5059+
Raw: 0
50585060
explosionEffectPrefab: {fileID: 100006, guid: 2e7e92bc7175b744ea40878dedfa79e4, type: 3}
50595061
--- !u!54 &124524468962142996
50605062
Rigidbody:

0 commit comments

Comments
 (0)