ai前存档
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
public class Eff_long_AniEvent : MonoBehaviour
|
||||
{
|
||||
int num = 0;
|
||||
public void OnEnable()
|
||||
{
|
||||
num = 0;
|
||||
|
||||
}
|
||||
public void StartSwim()
|
||||
{
|
||||
if (num == 4)
|
||||
if (num >= 4)
|
||||
{
|
||||
//transform.parent.parent.gameObject.SetActive(false);
|
||||
//Destroy( transform.parent.parent.gameObject);
|
||||
|
||||
Reference in New Issue
Block a user