更改文件架构
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using BITKit;
|
||||
using BITKit.StateMachine;
|
||||
namespace BITKit.StateMachine.Tests
|
||||
{
|
||||
public interface ITestState : IState { }
|
||||
[System.Serializable]
|
||||
public class TestState : ITestState
|
||||
{
|
||||
public void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void OnStateEnter(IState old)
|
||||
{
|
||||
}
|
||||
|
||||
public void OnStateExit(IState old, IState newState)
|
||||
{
|
||||
}
|
||||
|
||||
public void OnStateUpdate()
|
||||
{
|
||||
}
|
||||
}
|
||||
[System.Serializable]
|
||||
public class TestState1 : TestState { }
|
||||
[System.Serializable]
|
||||
public class TestState2 : TestState { }
|
||||
[System.Serializable]
|
||||
public class TestState3 : TestState { }
|
||||
[System.Serializable]
|
||||
public class TestMonoStateMachine : MonoStateMachine<ITestState>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c82bd284d724df344b3c6dcd823bb04d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user