17 lines
312 B
C#
17 lines
312 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class enemy : Role
|
|
{
|
|
public override void Start()
|
|
{
|
|
base.Start();
|
|
if (camp == Camp.Enemy)
|
|
{
|
|
//开始移动
|
|
Navigation.MoveToNextWaypoint(this.gameObject);
|
|
}
|
|
}
|
|
}
|