Firstborn/Assets/RPG Creation Kit/Scripts/Interactive Objects/InteractiveObject.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

30 lines
836 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RPGCreationKit;
namespace RPGCreationKit
{
// What the player can do with objects
public enum InteractiveOptions { Use, Sleep, Exit, Take };
/// <summary>
/// ScriptableObject that allows us to create new Interactive Objects
/// </summary>
[CreateAssetMenu(fileName = "New Interactive Object", menuName = "RPG Creation Kit/Interactive Objects/New Interactive Object", order = 1)]
public class InteractiveObject : ScriptableObject
{
// Base data for the Interactive Objects
public string Name;
public string Action; //Enter, take, read, etc
[TextArea] public string Description;
// Options for this object
public InteractiveOptions[] InteractiveOptions;
}
}