Neodroid
0.2.0
Machine Learning Environment Prototyping Tool
Example.cs
Go to the documentation of this file.
1
using
System
.Collections.Generic;
2
using
UnityEngine
;
3
4
namespace
droid
.Runtime.Utilities.ScriptableObjects.SerialisableDictionary {
8
[CreateAssetMenu(fileName =
"Example Asset"
,
9
menuName = ScriptableObjectMenuPath._ScriptableObjectMenuPath +
"Example Asset"
,
10
order = 1)]
11
public
class
Example
: ScriptableObject {
14
[SerializeField]
15
GameObjectFloatDictionary
_game_object_float_store =
16
GameObjectFloatDictionary
.New<
GameObjectFloatDictionary
>();
17
20
[SerializeField]
21
StringIntDictionary
_string_integer_store =
StringIntDictionary
.New<
StringIntDictionary
>();
22
25
Dictionary<string, int> StringIntegers {
get
{
return
this._string_integer_store.
_Dict
; } }
26
29
Dictionary<GameObject, float> Screenshots {
get
{
return
this._game_object_float_store.
_Dict
; } }
30
}
31
}
System
droid
droid.Runtime.Utilities.ScriptableObjects.SerialisableDictionary.SerializableDictionary._Dict
Dictionary< TK, TV > _Dict
Definition:
SerializableDictionary.cs:6
droid.Runtime.Utilities.ScriptableObjects.SerialisableDictionary.Example
Definition:
Example.cs:11
droid.Runtime.Utilities.ScriptableObjects.SerialisableDictionary.GameObjectFloatDictionary
Definition:
SerializableDictionaryImplementations.cs:7
droid.Runtime.Utilities.ScriptableObjects.SerialisableDictionary.StringIntDictionary
Definition:
SerializableDictionaryImplementations.cs:5
UnityEngine
Runtime
Utilities
ScriptableObjects
SerialisableDictionary
Example.cs
Generated by
1.8.13