removed old SFX call, returned basic player HP

This commit is contained in:
AlexMamontow 2021-09-13 11:38:00 +03:00
parent dd7f32ba38
commit c7c1ce1e37
4 changed files with 12 additions and 407 deletions

View File

@ -20338,7 +20338,6 @@ MonoBehaviour:
nextTileMoveTime: 0.5 nextTileMoveTime: 0.5
moveDistance: 1 moveDistance: 1
moveVFX: {fileID: 2040783568} moveVFX: {fileID: 2040783568}
_ac: {fileID: 1503763738}
--- !u!114 &1503763734 --- !u!114 &1503763734
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -24719,7 +24718,6 @@ MonoBehaviour:
nextTileMoveTime: 0.5 nextTileMoveTime: 0.5
moveDistance: 1 moveDistance: 1
moveVFX: {fileID: 1307683756} moveVFX: {fileID: 1307683756}
_ac: {fileID: 1801060035}
--- !u!114 &1801060024 --- !u!114 &1801060024
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -24787,7 +24785,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 5182c2cb5eef6d849b560f764c4a0ed6, type: 3} m_Script: {fileID: 11500000, guid: 5182c2cb5eef6d849b560f764c4a0ed6, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
startHealth: 10 startHealth: 310
currentHealth: 0 currentHealth: 0
playerImpactVFX: {fileID: 2957420090356197408, guid: 5d1244f7b80cadd428a70173a01ce889, playerImpactVFX: {fileID: 2957420090356197408, guid: 5d1244f7b80cadd428a70173a01ce889,
type: 3} type: 3}

View File

@ -14,8 +14,6 @@ public class TileMovement : MonoBehaviour
public ParticleSystem moveVFX; public ParticleSystem moveVFX;
[SerializeField] private AudioController _ac;
private Vector3 _moveDir; private Vector3 _moveDir;
private PlayerState _playerState; private PlayerState _playerState;
@ -97,7 +95,6 @@ public class TileMovement : MonoBehaviour
_playerState.currentTile.canMove = true; _playerState.currentTile.canMove = true;
moveVFX.Play(); moveVFX.Play();
_ac.PlayJumpSound();
} }
private bool IsMoveCondition() private bool IsMoveCondition()

File diff suppressed because one or more lines are too long

View File

@ -127,7 +127,7 @@ PlayerSettings:
16:10: 1 16:10: 1
16:9: 1 16:9: 1
Others: 1 Others: 1
bundleVersion: 0.25 bundleVersion: 0.27
preloadedAssets: [] preloadedAssets: []
metroInputSource: 0 metroInputSource: 0
wsaTransparentSwapchain: 0 wsaTransparentSwapchain: 0