Major refactor.

Core now formed and contains all useful utility to create custom ui with restrictions.
Many methods was extracted from different classes and moved to core.

Undo is now supported(because unity's undo bug seems to be fixed).

Example now moved into same level separate folder.
This commit is contained in:
TextusGames
2020-05-16 20:15:24 +03:00
parent f47dd5d350
commit eeaadfc569
65 changed files with 138 additions and 86 deletions

View File

@ -0,0 +1,30 @@

public abstract class ApeBase : MammalBase, IApe
{
public string Tag = default;
}
public interface IApe
{
}
public class RedApe : ApeBase
{
}
public class GoldenApe : ApeBase
{
}
public class GreenApe : ApeBase
{
}
public class BlackApe : ApeBase
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 03b5cf869ca49e343ae00efa8baef1c4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,30 @@

public abstract class CatBase : MammalBase, ICat
{
public string Tag = default;
}
public interface ICat
{
}
public class RedCat : CatBase
{
}
public class GoldenCat : CatBase
{
}
public class GreenCat : CatBase
{
}
public class BlackCat : CatBase
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 58428c0f2b16db849ad5d61a465d7cbd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,30 @@

public abstract class DogBase : MammalBase, IDog
{
public string Tag = default;
}
public interface IDog
{
}
public class RedDog : DogBase
{
}
public class GoldenDog : DogBase
{
}
public class GreenDog : DogBase
{
}
public class BlackDog : DogBase
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a5c4ea427575d4745813d1a491196ed6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
public abstract class FishBase : AnimalBase, IFish
{
public string Tag = default;
}
public interface IFish
{
}
public class RedFish : FishBase
{
}
public class GoldenFish : FishBase
{
}
public class GreenFish : FishBase
{
}
public class BlackFish : FishBase
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: de7faf3ac188d5b4fa97a6f504cb5060
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,30 @@

public abstract class InsectBase : AnimalBase, IInsect
{
public string Tag = default;
}
public interface IInsect
{
}
public class RedInsect : InsectBase
{
}
public class GoldenInsect : InsectBase
{
}
public class GreenInsect : InsectBase
{
}
public class BlackInsect : InsectBase
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 198f13bdfb700f5478f48fa2c8b459c0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: