29 lines
748 B
C#
29 lines
748 B
C#
using UnityEngine;
|
|
|
|
public class gameplayGalgame : MonoBehaviour
|
|
{
|
|
[Header("enable galgame so")]
|
|
public bool enableGalgame = false;
|
|
public bool enableLyricsSO = true;
|
|
[Header("gal so")]
|
|
public ingame_galgame_so golSO;
|
|
[Header("prefabs")]
|
|
public GameObject galgamePrefab;
|
|
public GameObject where_to_put;
|
|
|
|
private string timeType;
|
|
private string triggerType;
|
|
private string timelineStandard;
|
|
|
|
public void read_gol_so()
|
|
{
|
|
if (golSO != null)
|
|
{
|
|
timeType = golSO.dialogueType.ToString();
|
|
triggerType = golSO.triggerMethod.ToString();
|
|
timelineStandard = golSO.timelineStandard.ToString();
|
|
}
|
|
else Debug.LogWarning("no gol so");
|
|
}
|
|
}
|