shaoxiadiablo/Assets/AGame/Scripts/Game/Entity/EntityPlayer.Effect.cs
2025-05-18 01:04:31 +08:00

62 lines
1.7 KiB
C#

// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2020-09-02
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "EntityMainPlayer" company="Kimch"></copyright>
// <summary></summary>
// ***********************************************************************
using System.Collections;
using UnityEngine;
namespace G
{
partial class EntityPlayer
{
public Transform ef_swordExtreme => scriptEffect.ef_swordExtreme;
public Transform ef_thump => scriptEffect.ef_thump;
public Transform ef_splash => scriptEffect.ef_splash;
/// <summary>
/// 转
/// </summary>
public Transform ef_rotfog => scriptEffect.ef_rotfog;
public Transform ef_super => scriptEffect.ef_super;
/// <summary>
///
/// </summary>
private Transform ef_swing_ex1;
private Transform ef_swing_ex2;
/// <summary>
///
/// </summary>
private Ef_swing1 _scriptSwingEx1;
private Ef_swing1 _scriptSwingEx2;
private Ef_swing1 script_thrust2;
private Ef_thump script_thump;
private Ef_splash script_splash;
private Ef_rotfog script_rotfog;
private void InitEffect()
{
ef_swing_ex1 = transform.Find(nameof(ef_swing_ex1));
ef_swing_ex2 = transform.Find(nameof(ef_swing_ex2));
_scriptSwingEx1 = ef_swing_ex1.GetComponent<Ef_swing1>();
_scriptSwingEx2 = ef_swing_ex2.GetComponent<Ef_swing1>();
script_thrust2 = transform.Find("ef_thrust2").GetComponent<Ef_swing1>();
script_splash = ef_splash.GetComponent<Ef_splash>();
script_rotfog = ef_rotfog.GetComponent<Ef_rotfog>();
script_thump = ef_thump.GetComponent<Ef_thump>();
}
}
}