Scripts/Runtime/Data/Entities/WitDynamicEntitiesData.cs (15 lines of code) (raw):
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
using Facebook.WitAi.Interfaces;
using UnityEngine;
namespace Facebook.WitAi.Data.Entities
{
// TODO: AARON: This needs to get moved out
[CreateAssetMenu(fileName = "DynamicEntityDefinition", menuName = "Wit", order = 0)]
public class WitDynamicEntitiesData : ScriptableObject, IDynamicEntitiesProvider
{
public WitDynamicEntities entities;
public WitDynamicEntities GetDynamicEntities()
{
return entities;
}
}
}