Scriptum/Assets/Scripts/REFACTORING/Application/Mission/Mission.cs

36 lines
687 B
C#
Raw Normal View History

2022-12-04 18:42:34 +01:00
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[Serializable]
[CreateAssetMenu(fileName = "New Mission", menuName = "Mission/New Mission")]
public class Mission : ScriptableObject
{
[SerializeField]
public MissionStatusEnum Status = MissionStatusEnum.None;
[SerializeField]
int CurrentStep = 0;
[SerializeField]
public List<MissionStepModel> MissionStepsList;
public void CheckIfComplete()
{
Debug.Log("Checkl if complete");
}
public void Accept()
{
Status = MissionStatusEnum.Accepted;
}
public void Reject()
{
Status = MissionStatusEnum.Rejected;
}
}