Menu基本完成

This commit is contained in:
SoulliesOfficial
2025-06-14 14:42:49 -04:00
parent b9e6a9ab25
commit b19469976a
52 changed files with 1380 additions and 363 deletions

View File

@@ -0,0 +1,53 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ichni.Story
{
public class StoryBlockSave
{
public string blockName;
public Vector2 position;
public StoryBlockState state;
public StoryBlockSave(string blockName, Vector2 position, StoryBlockState state)
{
this.blockName = blockName;
this.state = state;
this.position = position;
}
}
public class TutorialBlockSave : StoryBlockSave
{
public TutorialBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state)
{
}
}
public class DialogBlockSave : StoryBlockSave
{
public DialogBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state)
{
}
}
public class SongBlockSave : StoryBlockSave
{
public SongBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state)
{
}
}
public class BlockConnectorSave
{
public string startBlockName;
public string endBlockName;
public BlockConnectorSave(string startBlockName, string endBlockName)
{
this.startBlockName = startBlockName;
this.endBlockName = endBlockName;
}
}
}