Files
SoulliesOfficial 7580c4d87c 大更
2026-03-14 03:13:10 -04:00

22 lines
804 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ichni.RhythmGame
{
public class TemporaryObject : SubstantialObject
{
public static TemporaryObject GenerateElement(string elementName, Guid id, List<string> tags,
bool isFirstGenerated, GameElement parentElement)
{
TemporaryObject tempObj = Instantiate(GameManager.Instance.basePrefabs.emptyObject)
.AddComponent<TemporaryObject>();
tempObj.Initialize(elementName, id, tags, isFirstGenerated, parentElement);
tempObj.themeBundleName = string.Empty;
tempObj.objectName = string.Empty;
Debug.LogError("This TemporaryObject should not exist.");
return tempObj;
}
}
}