24 lines
821 B
C#
24 lines
821 B
C#
// <auto-generated> File: CookwareDataAsset.cs
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using UnityEngine;
|
|
|
|
namespace DDD
|
|
{
|
|
[CreateAssetMenu(fileName = "InteractionDataAsset", menuName = "GoogleSheet/InteractionDataAsset")]
|
|
public class InteractionDataAsset : DataAsset<InteractionDataEntry>
|
|
{
|
|
public void InteractionTypeParsing(string unparsedInteractionType)
|
|
{
|
|
var split = unparsedInteractionType.Split('.');
|
|
var interactionType = split[0];
|
|
var interactionSubsystemType = split[1];
|
|
|
|
if (string.IsNullOrWhiteSpace(interactionType) || string.IsNullOrWhiteSpace(interactionSubsystemType))
|
|
{
|
|
Debug.LogError($"{unparsedInteractionType} 파싱 오류");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
} |