FiE-Game/Assets/Scripts/Fie/Scene/FieSceneBase.cs

21 lines
433 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using System;
namespace Fie.Scene
{
[FieSceneLink(FieConstValues.DefinedScenes.UNDEFINED, FieSceneType.UNDEFINED)]
public abstract class FieSceneBase
{
public FieSceneLink GetSceneLinkInfo()
{
FieSceneLink fieSceneLink = (FieSceneLink)Attribute.GetCustomAttribute(GetType(), typeof(FieSceneLink));
if (fieSceneLink != null)
{
return fieSceneLink;
}
return null;
}
public abstract void StartUp();
}
}