예제 #1
0
파일: NPCReport.cs 프로젝트: Impdevil/NSVR
    // Use this for initialization
    public NPCReport()
    {
        NPC_augments = new InventoryScript();

        if (data == null)
        {
            data = new NPCDataPoints();
        }
    }
예제 #2
0
파일: NPCReport.cs 프로젝트: Impdevil/NSVR
    /// <summary>
    /// names are purely random and are not meant to refer to anyone living or dead
    /// </summary>
    public void RandomSetup()
    {
        Name = NameGenerator <string>(false).ToString();
        Debug.Log(Name + Owner.name);

        Age = UnityEngine.Random.Range(18, 90);
        if (data == null)
        {
            data = new NPCDataPoints();
        }
        data = data.GenCredentials(null, this);
    }