Merge Journal, Quest and Dialog systems
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
public class CharacterManager : MonoBehaviour
|
||||
@@ -35,4 +36,9 @@ public class CharacterManager : MonoBehaviour
|
||||
{
|
||||
m_interviewed.Add(name, true);
|
||||
}
|
||||
|
||||
public CharacterData GetCharacterDataByName(string name)
|
||||
{
|
||||
return m_characterDatas.Where(i => i.m_name == name).FirstOrDefault();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user