mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
27 lines
669 B
C#
27 lines
669 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
using UnityEngine;
|
||
|
|
||
|
|
||
|
namespace HeavenStudio.Games.Scripts_LoveLab
|
||
|
{
|
||
|
public class LoveLabHeartMisc : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField] GameObject heart;
|
||
|
[SerializeField] GameObject completeHeart;
|
||
|
public async void destroyObj()
|
||
|
{
|
||
|
await Task.Delay(100);
|
||
|
Destroy(heart);
|
||
|
}
|
||
|
|
||
|
public void createHeart()
|
||
|
{
|
||
|
Debug.Log("heart");
|
||
|
//LoveLabHearts ch = Instantiate(completeHeart, LoveLab.instance.getHeartHolder()).GetComponent<LoveLabHearts>();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|