Big script cleanup. Remove the examples from Ropes' external package
This commit is contained in:
24
Assets/Scripts/LevelS/LevelSwitchData.cs
Normal file
24
Assets/Scripts/LevelS/LevelSwitchData.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
/// ScriptableObject holding data for a level switch (scene name, description, icon).
|
||||
/// </summary>
|
||||
[CreateAssetMenu(fileName = "LevelSwitchData", menuName = "Game/Level Switch Data")]
|
||||
public class LevelSwitchData : ScriptableObject
|
||||
{
|
||||
/// <summary>
|
||||
/// The name of the target scene to switch to.
|
||||
/// </summary>
|
||||
public string targetLevelSceneName;
|
||||
|
||||
/// <summary>
|
||||
/// Description of the level switch.
|
||||
/// </summary>
|
||||
[TextArea]
|
||||
public string description;
|
||||
|
||||
/// <summary>
|
||||
/// Icon to display for this level switch.
|
||||
/// </summary>
|
||||
public Sprite mapSprite;
|
||||
}
|
||||
Reference in New Issue
Block a user