Initial Commit

This commit is contained in:
2025-07-04 20:33:06 +03:00
commit 8f09347ae0
9219 changed files with 2447903 additions and 0 deletions
@@ -0,0 +1,34 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
namespace Meta.WitAi.Data.ValueReferences
{
using UnityEngine;
[System.Serializable]
public class StringReference<T> : IStringReference where T : ScriptableObject, IStringReference
{
[SerializeField] private string stringValue;
[SerializeField] private T stringObject;
public string Value
{
get => stringObject ? stringObject.Value : stringValue;
set
{
stringObject = null;
stringValue = value;
}
}
}
public interface IStringReference
{
string Value { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d93d804b221245ecada6cf7bdf41d751
timeCreated: 1680299563