Assembly Definition Added, Namespacees and Classes Renamed

This commit is contained in:
Syntriax 2022-11-14 13:01:16 +03:00
parent 6a24ac4148
commit a6e6babce9
5 changed files with 15 additions and 5 deletions

View File

@ -1,6 +1,6 @@
using System;
namespace Syntriax.Modules.State
namespace Syntriax.Modules.ToggleState
{
public interface IToggleState
{

View File

@ -0,0 +1,3 @@
{
"name": "Syntriax.Modules.ToggleState"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: efa9a9bc94c60c74684aafb7428fbf61
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,8 +1,8 @@
using System;
namespace Syntriax.Modules.State
namespace Syntriax.Modules.ToggleState
{
public class MemberToggleState : IToggleState
public class ToggleStateMember : IToggleState
{
private bool _toggled = true;
public bool Toggled

View File

@ -1,9 +1,9 @@
using System;
using UnityEngine;
namespace Syntriax.Modules.State
namespace Syntriax.Modules.ToggleState
{
public class ToggleState : MonoBehaviour, IToggleState
public class ToggleStateMonobehaviour : MonoBehaviour, IToggleState
{
private bool _toggled = true;
public bool Toggled