Skip to content
Snippets Groups Projects
Commit f4c92389 authored by Raylouis's avatar Raylouis
Browse files

[FIX] revert buff

parent 354a85d3
Branches
Tags
No related merge requests found
...@@ -553,6 +553,9 @@ PrefabInstance: ...@@ -553,6 +553,9 @@ PrefabInstance:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 61658b50bcfbe8640ac586f05f6340c4, type: 3} - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 61658b50bcfbe8640ac586f05f6340c4, type: 3}
insertIndex: -1 insertIndex: -1
addedObject: {fileID: 4935392479995179265} addedObject: {fileID: 4935392479995179265}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 61658b50bcfbe8640ac586f05f6340c4, type: 3}
insertIndex: -1
addedObject: {fileID: 6282763913751042799}
m_SourcePrefab: {fileID: 100100000, guid: 61658b50bcfbe8640ac586f05f6340c4, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 61658b50bcfbe8640ac586f05f6340c4, type: 3}
--- !u!4 &6220440759874809753 stripped --- !u!4 &6220440759874809753 stripped
Transform: Transform:
...@@ -706,3 +709,17 @@ Animator: ...@@ -706,3 +709,17 @@ Animator:
m_AllowConstantClipSamplingOptimization: 1 m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0 m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0 m_WriteDefaultValuesOnDisable: 0
--- !u!114 &6282763913751042799
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6708288964639503651}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0e48b3f76a0d9be4f96e3346abc74bf8, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 4
safeDistance: 5
...@@ -98,8 +98,7 @@ namespace Nightmare ...@@ -98,8 +98,7 @@ namespace Nightmare
{ {
for (int i = 0; i < petCount; i++) for (int i = 0; i < petCount; i++)
{ {
GameObject instantiatedItem = Instantiate(pet, enemyInstance.transform); Instantiate(pet, enemyInstance.transform);
instantiatedItem.transform.SetParent(enemyInstance.transform);
} }
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment