2024-12-08 02:52:59 +08:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
2024-12-08 04:55:59 +08:00
|
|
|
|
public class enemy : Role
|
2024-12-08 02:52:59 +08:00
|
|
|
|
{
|
|
|
|
|
public override void Start()
|
|
|
|
|
{
|
|
|
|
|
base.Start();
|
2024-12-08 04:55:59 +08:00
|
|
|
|
if (camp == Camp.Enemy)
|
|
|
|
|
{
|
2024-12-09 18:01:59 +08:00
|
|
|
|
//<2F><>ʼ<EFBFBD>ƶ<EFBFBD>
|
2024-12-08 04:55:59 +08:00
|
|
|
|
Navigation.MoveToNextWaypoint(this.gameObject);
|
|
|
|
|
}
|
2024-12-08 02:52:59 +08:00
|
|
|
|
}
|
|
|
|
|
}
|