-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from znyb/master
Some modifications to make UnitySerializedDictionary more easy to use, Fix #2
- Loading branch information
Showing
13 changed files
with
1,754 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,53 @@ | ||
using System; | ||
using UnityEngine; | ||
|
||
/// <summary> Common UDictionary wrappers </summary> | ||
namespace UnityEngine.Collections.Generic | ||
{ | ||
/// <summary> Common UDictionary wrappers </summary> | ||
|
||
// --------------------------------------------- String... --------------------------------------------- // | ||
// --------------------------------------------- String... --------------------------------------------- // | ||
|
||
[Serializable] | ||
public class UDictionaryStringString : UDictionary<string, string> { } | ||
[Serializable] | ||
public class UDictionaryStringString : UDictionary<string, string> { } | ||
|
||
[Serializable] | ||
public class UDictionaryStringInt : UDictionary<string, int> { } | ||
[Serializable] | ||
public class UDictionaryStringInt : UDictionary<string, int> { } | ||
|
||
[Serializable] | ||
public class UDictionaryStringBool : UDictionary<string, bool> { } | ||
[Serializable] | ||
public class UDictionaryStringBool : UDictionary<string, bool> { } | ||
|
||
[Serializable] | ||
public class UDictionaryStringFloat : UDictionary<string, float> { } | ||
[Serializable] | ||
public class UDictionaryStringFloat : UDictionary<string, float> { } | ||
|
||
[Serializable] | ||
public class UDictionaryStringDouble : UDictionary<string, double> { } | ||
[Serializable] | ||
public class UDictionaryStringDouble : UDictionary<string, double> { } | ||
|
||
[Serializable] | ||
public class UDictionaryStringColor : UDictionary<string, Color> { } | ||
[Serializable] | ||
public class UDictionaryStringColor : UDictionary<string, Color> { } | ||
|
||
[Serializable] | ||
public class UDictionaryStringObject : UDictionary<string, GameObject> { } | ||
[Serializable] | ||
public class UDictionaryStringObject : UDictionary<string, GameObject> { } | ||
|
||
// --------------------------------------------- Int... --------------------------------------------- // | ||
// --------------------------------------------- Int... --------------------------------------------- // | ||
|
||
[Serializable] | ||
public class UDictionaryIntInt : UDictionary<int, int> { } | ||
[Serializable] | ||
public class UDictionaryIntInt : UDictionary<int, int> { } | ||
|
||
[Serializable] | ||
public class UDictionaryIntBool : UDictionary<int, bool> { } | ||
[Serializable] | ||
public class UDictionaryIntBool : UDictionary<int, bool> { } | ||
|
||
[Serializable] | ||
public class UDictionaryIntString : UDictionary<int, string> { } | ||
[Serializable] | ||
public class UDictionaryIntString : UDictionary<int, string> { } | ||
|
||
[Serializable] | ||
public class UDictionaryIntFloat : UDictionary<int, float> { } | ||
[Serializable] | ||
public class UDictionaryIntFloat : UDictionary<int, float> { } | ||
|
||
[Serializable] | ||
public class UDictionaryIntDouble : UDictionary<int, double> { } | ||
[Serializable] | ||
public class UDictionaryIntDouble : UDictionary<int, double> { } | ||
|
||
[Serializable] | ||
public class UDictionaryIntColor : UDictionary<int, Color> { } | ||
[Serializable] | ||
public class UDictionaryIntColor : UDictionary<int, Color> { } | ||
|
||
[Serializable] | ||
public class UDictionaryIntObject : UDictionary<int, GameObject> { } | ||
[Serializable] | ||
public class UDictionaryIntObject : UDictionary<int, GameObject> { } | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.