Commit Graph

303 Commits

Author SHA1 Message Date
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
Adam Ramberg
0a057e0c64 Refactor DynamicAtoms 2019-04-12 09:41:53 +02:00
Adam Ramberg
29a3207d9d Move editor specific code into logger 2019-04-12 09:17:47 +02:00
Adam Ramberg
1468fd2771 Merge branch 'canary' into action-event 2019-04-11 16:00:02 +02:00
Adam Ramberg
eb5f6ef23d Remove unneccessary util funcs (use extensions) 2019-04-11 15:59:42 +02:00
Adam Ramberg
863ecb479a Merge branch 'canary' into action-event 2019-04-11 14:57:22 +02:00
Adam Ramberg
4c9d626933 Added Some with param 2019-04-11 14:56:57 +02:00
Adam Ramberg
8905bf8b8c Merge PR 2019-04-11 14:48:08 +02:00
Adam Ramberg
d551947c13 Test using action for game events 2019-04-11 13:52:13 +02:00
Gustavo Guimaraes
e6174b5397 Scriptable object IList (#34)
* Updated README

* ScriptableObjectList now implements IList

* Made ScriptableObjectList field a List again

* Fixed problems related to changing IList to List

* Update Source/Base/ScriptableObjectList.cs

Co-Authored-By: mutmedia <gustavo.ceci95@gmail.com>
2019-04-11 13:14:53 +02:00
Adam Ramberg
c6ed830713 Null check on disable in event listener 2019-04-11 10:11:13 +02:00
Adam Ramberg
4e5644b539 Break out the contributing part of the README 2019-04-11 09:44:07 +02:00
Adam Ramberg
564d3dc9b7 Forgotten meta files 2019-04-11 09:43:13 +02:00