浏览代码

Create method on NPC script to change state to walk (For lose cutscene wip)

/main
Amel 3 年前
当前提交
11ccdf9f
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
      UOP1_Project/Assets/Scripts/Characters/NPC.cs

5
UOP1_Project/Assets/Scripts/Characters/NPC.cs


{
public NPCState npcState; //This is checked by conditions in the StateMachine
public GameObject[] talkingTo;
public void SwitchToWalkState()
{
npcState = NPCState.Walk;
}
}
正在加载...
取消
保存