Commit Graph

164 Commits

Author SHA1 Message Date
Adam Ramberg
0505294360
Merge pull request #46 from soraphis/canary-2019.2
Unity Atoms 2019.2+ support
2019-07-05 09:30:21 +02:00
Soraphis
92612f210f Adding Unity.ugui to the assembly defintion for 2019.2+ support 2019-06-27 11:58:39 +02:00
AdamRamberg
163a216fc1 Remove timer molecule 2019-06-23 22:16:16 +02:00
AdamRamberg
26e2ef7287 Clean up icons postprocessor 2019-06-23 22:09:21 +02:00
AdamRamberg
0049561516 Add attribute ScriptIcon 2019-06-18 23:05:17 +02:00
AdamRamberg
f7a95917b3 Adjustments to icon meta after Generator moving 2019-06-17 23:11:48 +02:00
AdamRamberg
0f20423461 Small style tweaks 2019-06-17 23:11:00 +02:00
Oliver Biwer
72f17db03f Canary/generator fix (#44)
* Moved Generator.cs into Editor folder under AtomsEditor.asmdef

Generator.cs must not be outside of the Editor Assembly Definition because it uses UnityEditor and thus would prevent games from building

* - cleaned up unused imports
- fixed a potential bug in Templating.cs because IndexOf is culture specific
    - at least warnings in Rider are now eliminated
- cleaned up the logic of Templating.cs
    - the while condition had never changed, it contained a redundant true
    - using an early return if the list is null

* Replaced ResolveConditionals in Templating.cs to allow nested IF-blocks
fixed typos
2019-06-17 23:09:42 +02:00
Adam Ramberg
bcdb8f16ea Adjust icons 2019-06-16 23:41:19 +02:00
Adam Ramberg
cb6280a255 WIP Icons 2019-06-16 21:27:24 +02:00
Adam Ramberg
5ba173b89a Use directory seperator char 2019-06-16 15:37:55 +02:00
Adam Ramberg
1a7b772e45 Improvements and added robustness to code generator 2019-06-09 16:47:14 +02:00
Adam Ramberg
3b6579a981 Implement object Equals 2019-06-02 22:51:28 +02:00
Adam Ramberg
e581f656bc Use IEquatable when possible 2019-06-02 19:48:03 +02:00
Adam Ramberg
453d8f0a57 Make all Observable classes internal 2019-05-30 22:19:32 +02:00
Adam Ramberg
6d9584cfb5 Remove Vector2Utils meta 2019-05-30 22:18:19 +02:00
Adam Ramberg
1c9b102f32 Remove unused Vector2Utils 2019-05-30 22:15:55 +02:00
Adam Ramberg
0e896f160c #36 - Variable -> Variables 2019-05-29 18:56:26 +02:00
Adam Ramberg
b33b2b8a72 #36 - Restructuring around what things are 2019-05-29 18:52:27 +02:00
Adam Ramberg
8074ca2139 Remove AtomsLogger.cs 2019-05-27 22:00:00 +02:00
Adam Ramberg
aae323d46a Remove unused folders 2019-05-12 15:59:00 +02:00
Adam Ramberg
eb28390048 Refactor AtomicTags 2019-05-12 15:57:10 +02:00
Adam Ramberg
d82fbe3e92 #36 Remove unused extensions 2019-05-11 23:41:16 +02:00
Adam Ramberg
f464293f7f Use AtomDrawer 2019-05-07 22:52:55 +02:00
Adam Ramberg
b4106d5f5e #42 - Create a default atoms property drawer 2019-05-07 22:37:50 +02:00
Adam Ramberg
6693a27d2d #22 - Trigger events from inspector 2019-05-06 00:03:43 +02:00
Adam Ramberg
a37b2bc3e7 Upgrade to Unity 2019 2019-05-05 00:55:38 +02:00
Adam Ramberg
1cab137cb5 Fix code generator 2019-05-05 00:54:05 +02:00
Adam Ramberg
b203a17c5b Merge branch 'jeffcampbellmakesgames-fix/remove_redundant_code' into canary 2019-05-04 17:10:47 +02:00
Adam Ramberg
37364196d8 Fixes to PR #38 2019-05-04 17:08:26 +02:00
Adam Ramberg
91b20c93ae Scene field fixes 2019-05-04 11:54:20 +02:00
Soraphis
97fcf763eb Fixed the ReferenceDrawer for SceneFields.
Fixed the ReferenceDrawer for any field
2019-05-04 11:49:35 +02:00
Soraphis
ce966e5cad minor changes, more utility 2019-05-04 11:49:35 +02:00
Soraphis
2efc97dcc4 Added SceneFields and UnityAtoms for the new Type 2019-05-04 11:49:35 +02:00
Soraphis
42ef1682c0 Removed event generic parameters from ScriptableObjectReference
- they are not needed and hinder the implementation if a type does not have events
2019-05-04 11:49:35 +02:00
Adam Ramberg
ca6ceaa2b2 GetRootVisualContainer not in 2018.3 2019-04-21 23:35:32 +02:00
Adam Ramberg
d9a505ec2d Added ObserveChangeWithHistory 2019-04-21 13:53:08 +02:00
Soraphis
f6ce403447 small fix for 2019.1 wher UIElements are not experimental anymore 2019-04-16 23:43:15 +02:00
Adam Ramberg
727ae015b3 Adjustments to example scene 2019-04-16 22:33:09 +02:00
Adam Ramberg
7a46365829 Add utils to merge observables 2019-04-16 22:32:38 +02:00
Adam Ramberg
7cb2fd09d6 Make variables, events and lists observable 2019-04-16 22:32:17 +02:00
Adam Ramberg
b1296b5848 Remove meta 2019-04-16 22:31:35 +02:00
Adam Ramberg
7db8fda7e5 Remove first expermimental version of Observer 2019-04-16 22:31:03 +02:00
Jeff Campbell
24eee05851 Removed redundant code
* Removed redundant interfaces IWithValue<T> and IWithOldValue<T> as they and their methods are unused.
* Removed redundant extensions and util classes/methods as they are unused by anything in the library
* Created AssemblyInfo.cs file to contain [assembly] attributes to expose internal types and methods to the UnityAtomsEditor assembly. This makes it easier to keep non-user facing code as internal, but still expose it for Editor usage.
* Removed AtomsLogger as this class does not add any value to the library. Some situations where it was being used in to warn of missing components such as OnButtonClickHook were doing so to warn of a missing component when it was already guaranteed to be there via the [RequireComponent] attribute (situation could never occur where it was not present). In some cases it was being used situationally like an Assert for situations where an NRE or other exception would immediately follow. Replacing these with an Assert accomplishes the same goal of removing these logging checks for non-editor builds while at the same time forcefully throwing an error with a more user-friendly error if a non-descript error would immediately be thrown.
* Where logs were being made previously with AtomsLogger, if not replaced with an Assert or removed entirely they are now being made with a const LogPrefix in new internal static class RuntimeConstants
2019-04-15 23:26:43 +02:00
Adam Ramberg
8f735b771d Add experminetal observer 2019-04-12 16:42:11 +02:00
Adam Ramberg
228cc0974a Add SetFunc method to GameFunctions 2019-04-12 16:41:54 +02:00
Adam Ramberg
593e057ab4 Add Pipe extensions to IList 2019-04-12 16:41:33 +02:00
Adam Ramberg
deea018ce1 Dynamic actions and functions 2019-04-12 10:19:40 +02:00
Adam Ramberg
1cabd33c74 Correct spelling mistake in GameFunction 2019-04-12 10:19:25 +02:00
Adam Ramberg
a98ad5be3b Use C# Func / Action in GameActions / Funcs 2019-04-12 10:09:54 +02:00