浏览代码

Removed personal namespace

/main
Ciro Continisio 4 年前
当前提交
d2082480
共有 20 个文件被更改,包括 23 次插入31 次删除
  1. 2
      UOP1_Project/Assets/Scripts/StateMachine/Core/IStateComponent.cs
  2. 2
      UOP1_Project/Assets/Scripts/StateMachine/Core/State.cs
  3. 2
      UOP1_Project/Assets/Scripts/StateMachine/Core/StateAction.cs
  4. 2
      UOP1_Project/Assets/Scripts/StateMachine/Core/StateCondition.cs
  5. 2
      UOP1_Project/Assets/Scripts/StateMachine/Core/StateMachine.cs
  6. 2
      UOP1_Project/Assets/Scripts/StateMachine/Core/StateTransition.cs
  7. 2
      UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateActionSO.cs
  8. 2
      UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateConditionSO.cs
  9. 2
      UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateSO.cs
  10. 2
      UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateTransitionSO.cs
  11. 2
      UOP1_Project/Assets/Scripts/StateMachine/UOP1.StateMachine.asmdef
  12. 4
      UOP1_Project/Assets/Scripts/StateMachineTest/ChaseActionSO.cs
  13. 4
      UOP1_Project/Assets/Scripts/StateMachineTest/CloseToTargetConditionSO.cs
  14. 4
      UOP1_Project/Assets/Scripts/StateMachineTest/EatActionSO.cs
  15. 4
      UOP1_Project/Assets/Scripts/StateMachineTest/HungerActionSO.cs
  16. 4
      UOP1_Project/Assets/Scripts/StateMachineTest/HungerConditionSO.cs
  17. 4
      UOP1_Project/Assets/Scripts/StateMachineTest/TimerConditionSO.cs
  18. 8
      UOP1_Project/Assets/Scripts/Characters/MovementModifiers.meta
  19. 0
      /UOP1_Project/Assets/Scripts/StateMachine/UOP1.StateMachine.asmdef.meta
  20. 0
      /UOP1_Project/Assets/Scripts/StateMachine/UOP1.StateMachine.asmdef

2
UOP1_Project/Assets/Scripts/StateMachine/Core/IStateComponent.cs


namespace DeivSky.StateMachine
namespace UOP1.StateMachine
{
interface IStateComponent
{

2
UOP1_Project/Assets/Scripts/StateMachine/Core/State.cs


namespace DeivSky.StateMachine
namespace UOP1.StateMachine
{
public class State
{

2
UOP1_Project/Assets/Scripts/StateMachine/Core/StateAction.cs


namespace DeivSky.StateMachine
namespace UOP1.StateMachine
{
/// <summary>
/// An object representing an action.

2
UOP1_Project/Assets/Scripts/StateMachine/Core/StateCondition.cs


namespace DeivSky.StateMachine
namespace UOP1.StateMachine
{
/// <summary>
/// Class that represents a conditional statement.

2
UOP1_Project/Assets/Scripts/StateMachine/Core/StateMachine.cs


using System.Collections.Generic;
using UnityEngine;
namespace DeivSky.StateMachine
namespace UOP1.StateMachine
{
public class StateMachine : MonoBehaviour
{

2
UOP1_Project/Assets/Scripts/StateMachine/Core/StateTransition.cs


namespace DeivSky.StateMachine
namespace UOP1.StateMachine
{
public class StateTransition : IStateComponent
{

2
UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateActionSO.cs


using System.Collections.Generic;
using UnityEngine;
namespace DeivSky.StateMachine.ScriptableObjects
namespace UOP1.StateMachine.ScriptableObjects
{
public abstract class StateActionSO : ScriptableObject
{

2
UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateConditionSO.cs


using System.Collections.Generic;
using UnityEngine;
namespace DeivSky.StateMachine.ScriptableObjects
namespace UOP1.StateMachine.ScriptableObjects
{
public abstract class StateConditionSO : ScriptableObject
{

2
UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateSO.cs


using System.Collections.Generic;
using UnityEngine;
namespace DeivSky.StateMachine.ScriptableObjects
namespace UOP1.StateMachine.ScriptableObjects
{
[CreateAssetMenu(fileName = "New State", menuName = "State Machines/State")]
public class StateSO : ScriptableObject

2
UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/StateTransitionSO.cs


using System.Collections.Generic;
using UnityEngine;
namespace DeivSky.StateMachine.ScriptableObjects
namespace UOP1.StateMachine.ScriptableObjects
{
[CreateAssetMenu(fileName = "New Transition", menuName = "State Machines/Transition")]
public class StateTransitionSO : ScriptableObject

2
UOP1_Project/Assets/Scripts/StateMachine/UOP1.StateMachine.asmdef


{
"name": "DeivSky.StateMachine",
"name": "UOP1.StateMachine",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],

4
UOP1_Project/Assets/Scripts/StateMachineTest/ChaseActionSO.cs


using System;
using DeivSky.StateMachine;
using DeivSky.StateMachine.ScriptableObjects;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
using UnityEngine;
[CreateAssetMenu(fileName = "Chase", menuName = "State Machines/Tests/Actions/Chase")]

4
UOP1_Project/Assets/Scripts/StateMachineTest/CloseToTargetConditionSO.cs


using System;
using DeivSky.StateMachine;
using DeivSky.StateMachine.ScriptableObjects;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
using UnityEngine;
[CreateAssetMenu(fileName = "CloseToTarget", menuName = "State Machines/Tests/Conditions/Close To Target")]

4
UOP1_Project/Assets/Scripts/StateMachineTest/EatActionSO.cs


using DeivSky.StateMachine;
using DeivSky.StateMachine.ScriptableObjects;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
using UnityEngine;
[CreateAssetMenu(fileName = "Eat", menuName = "State Machines/Tests/Actions/Eat")]

4
UOP1_Project/Assets/Scripts/StateMachineTest/HungerActionSO.cs


using DeivSky.StateMachine;
using DeivSky.StateMachine.ScriptableObjects;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
using UnityEngine;
[CreateAssetMenu(fileName = "EnableHunger", menuName = "State Machines/Tests/Actions/Enable Hunger")]

4
UOP1_Project/Assets/Scripts/StateMachineTest/HungerConditionSO.cs


using DeivSky.StateMachine;
using DeivSky.StateMachine.ScriptableObjects;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
using UnityEngine;
[CreateAssetMenu(fileName = "IsHungry", menuName = "State Machines/Tests/Conditions/IsHungry")]

4
UOP1_Project/Assets/Scripts/StateMachineTest/TimerConditionSO.cs


using DeivSky.StateMachine;
using DeivSky.StateMachine.ScriptableObjects;
using UOP1.StateMachine;
using UOP1.StateMachine.ScriptableObjects;
using UnityEngine;
[CreateAssetMenu(fileName = "Timer", menuName = "State Machines/Tests/Conditions/Timer")]

8
UOP1_Project/Assets/Scripts/Characters/MovementModifiers.meta


fileFormatVersion: 2
guid: 0c2ca5875abd6634993342de5c275d35
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

/UOP1_Project/Assets/Scripts/StateMachine/DeivSky.StateMachine.asmdef.meta → /UOP1_Project/Assets/Scripts/StateMachine/UOP1.StateMachine.asmdef.meta

/UOP1_Project/Assets/Scripts/StateMachine/DeivSky.StateMachine.asmdef → /UOP1_Project/Assets/Scripts/StateMachine/UOP1.StateMachine.asmdef

正在加载...
取消
保存