minotos 평타

This commit is contained in:
Ino 2025-05-24 03:58:37 +09:00
parent 921479fee6
commit f34f4907dd
7 changed files with 68927 additions and 112 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,7 @@ GameObject:
- component: {fileID: 8021888228437686570}
- component: {fileID: 3392373663720083392}
- component: {fileID: 8240083998892309707}
- component: {fileID: 1951451889044521928}
m_Layer: 0
m_Name: Minotos_Attack
m_TagString: Untagged
@ -31,8 +32,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 6111964216152731759}
- {fileID: 3157712936850762676}
- {fileID: 7036399254501852904}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3392373663720083392
@ -71,9 +71,25 @@ BoxCollider:
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 2, y: 2, z: 5}
m_Size: {x: 4, y: 2, z: 4}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1001 &2415706691124548282
--- !u!111 &1951451889044521928
Animation:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1175524540571020502}
m_Enabled: 1
serializedVersion: 3
m_Animation: {fileID: 7400000, guid: a1288af9d0454ee40bd33cce7cbc78f2, type: 2}
m_Animations:
- {fileID: 7400000, guid: a1288af9d0454ee40bd33cce7cbc78f2, type: 2}
m_WrapMode: 0
m_PlayAutomatically: 1
m_AnimatePhysics: 0
m_CullingType: 0
--- !u!1001 &7778398902885973990
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@ -109,17 +125,17 @@ PrefabInstance:
- target: {fileID: 744258597443500302, guid: 04efde2ee04091a4db3ad0e044ede182,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 744258597443500302, guid: 04efde2ee04091a4db3ad0e044ede182,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 744258597443500302, guid: 04efde2ee04091a4db3ad0e044ede182,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 744258597443500302, guid: 04efde2ee04091a4db3ad0e044ede182,
type: 3}
@ -141,83 +157,9 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 04efde2ee04091a4db3ad0e044ede182, type: 3}
--- !u!4 &3157712936850762676 stripped
--- !u!4 &7036399254501852904 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 744258597443500302, guid: 04efde2ee04091a4db3ad0e044ede182,
type: 3}
m_PrefabInstance: {fileID: 2415706691124548282}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &6311930630236613943
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8021888228437686570}
m_Modifications:
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalRotation.w
value: -0.00000004371139
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalRotation.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7144120407574256781, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
propertyPath: m_Name
value: FX_Bloodclaw
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bcb44ed878601234bb60041a0a8f4e7a, type: 3}
--- !u!4 &6111964216152731759 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 237129908496080216, guid: bcb44ed878601234bb60041a0a8f4e7a,
type: 3}
m_PrefabInstance: {fileID: 6311930630236613943}
m_PrefabInstance: {fileID: 7778398902885973990}
m_PrefabAsset: {fileID: 0}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e603669dec375f448af957bb846d404b
guid: 8c0f6511f59fe6a49b3a35bfb357cacd
PrefabImporter:
externalObjects: {}
userData:

View File

@ -0,0 +1,113 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Minotos_attackCollider
serializedVersion: 7
m_Legacy: 1
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves:
- serializedVersion: 2
curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 7
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Center.z
path:
classID: 65
script: {fileID: 0}
flags: 0
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings: []
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 1
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves:
- serializedVersion: 2
curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 7
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Center.z
path:
classID: 65
script: {fileID: 0}
flags: 0
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a1288af9d0454ee40bd33cce7cbc78f2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -126,7 +126,14 @@ public class Actor : MyCoroutine
m_NavMeshAgent = GetComponent<NavMeshAgent>();
m_BoxCollider = GetComponent<BoxCollider>();
m_animation = GetComponent<Animator>();
arr_Renderer = GetComponentsInChildren<Renderer>();
Renderer[] allRenderers = GetComponentsInChildren<Renderer>(true); // true면 비활성화 포함
List<Renderer> filteredRenderers = new List<Renderer>();
foreach (var r in allRenderers)
if (!(r is ParticleSystemRenderer))
filteredRenderers.Add(r);
arr_Renderer = filteredRenderers.ToArray();
arr_Effects = GetComponentsInChildren<TurnOff_GO>(true);
m_AfterImage = GetComponent<AfterImageBase>();
if (!DSUtil.CheckNull(m_AfterImage)) m_AfterImage.enabled = false;

View File

@ -1,8 +1,10 @@
using System;
using System.Collections;
using UnityEngine;
public class Boss_Minotos : BossMobActor
{
public GameObject[] gos_attackeffect;
[Header("스킬1 쿨타임")]
public float Skill1CoolTime = 15f;
[Header("스킬1 데미지")]
@ -21,6 +23,7 @@ public class Boss_Minotos : BossMobActor
public override void Set(bool isEnemy, Actor owner, ServerData sdata, int _id, bool _stop, bool _ui = false)
{
base.Set(isEnemy, owner, sdata, _id, _stop, _ui);
DSUtil.InActivateGameObjects(gos_attackeffect);
CoolTime_Skill1 = 1f;
CoolTime_Skill2 = 2f;
@ -66,4 +69,19 @@ public class Boss_Minotos : BossMobActor
protected override float Get_Skill1Dmg() { return Skill1Dmg; }
protected override Vector3 Get_Skill1Pos() { return Get_Center_position(); }
public override void Play_Attack(int _attack, float _as, Action actsuccess = null)
{
base.Play_Attack(_attack, _as, Show_AttackEffect);
}
public void Show_AttackEffect()
{
gos_attackeffect[0].SetActive(false);
gos_attackeffect[0].SetActive(true);
CoroutineMgr.Ins.Set_Coroutine(() =>
{
gos_attackeffect[1].SetActive(false);
gos_attackeffect[1].SetActive(true);
}, Time.deltaTime * 2f);
}
}