forked from Shardstone/trail-into-darkness
First commit on my server, yey!
This commit is contained in:
25
Assets/Code/Platform/IPlatform.cs
Normal file
25
Assets/Code/Platform/IPlatform.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Nox.Input;
|
||||
using System.Collections;
|
||||
|
||||
namespace Nox.Platform {
|
||||
|
||||
/// <summary>
|
||||
/// Add here your platforms as needed
|
||||
/// </summary>
|
||||
public enum DevicePlatform {
|
||||
Desktop,
|
||||
UnityEditor
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Factory interface for platform selection and initialization
|
||||
/// </summary>
|
||||
public interface IPlatform {
|
||||
PlatformSettings PlatformSettings { get; }
|
||||
IEnumerator Initialize(object applicationData);
|
||||
IInput InitializeInput();
|
||||
void Tick();
|
||||
void Dispose();
|
||||
void OnApplicationQuit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user