Exemplo n.º 1
0
 static VariablesToSave()
 {
     VariablesToSave._randomNumber = UnityEngine.Random.Range(10, 200);
     DelegateSupport.RegisterFunctionType <VariablesToSave, string>();
     DelegateSupport.RegisterFunctionType <VariablesToSave, bool>();
     DelegateSupport.RegisterFunctionType <VariablesToSave, int>();
 }
Exemplo n.º 2
0
 static StoreMaterials()
 {
     DelegateSupport.RegisterFunctionType <Texture2D, int>();
     DelegateSupport.RegisterFunctionType <StoreMaterials, List <MaterialProperty> >();
     DelegateSupport.RegisterFunctionType <MaterialProperty, MaterialProperty.PropertyType>();
     DelegateSupport.RegisterFunctionType <MaterialProperty, string>();
     DelegateSupport.RegisterFunctionType <StoredValue, MaterialProperty>();
     DelegateSupport.RegisterFunctionType <StoredValue, object>();
 }
Exemplo n.º 3
0
 static StoreMaterials()
 {
     StoreMaterials.cache = new Index <string, List <StoreMaterials.MaterialProperty> >();
     DelegateSupport.RegisterFunctionType <Texture2D, int>();
     DelegateSupport.RegisterFunctionType <StoreMaterials, List <StoreMaterials.MaterialProperty> >();
     DelegateSupport.RegisterFunctionType <StoreMaterials.MaterialProperty, StoreMaterials.MaterialProperty.PropertyType>();
     DelegateSupport.RegisterFunctionType <StoreMaterials.MaterialProperty, string>();
     DelegateSupport.RegisterFunctionType <StoreMaterials.StoredValue, StoreMaterials.MaterialProperty>();
     DelegateSupport.RegisterFunctionType <StoreMaterials.StoredValue, object>();
 }
Exemplo n.º 4
0
 static RadicalRoutineHelper()
 {
     DelegateSupport.RegisterFunctionType <RadicalRoutineHelper, string>();
     DelegateSupport.RegisterFunctionType <RadicalRoutineHelper, bool>();
     DelegateSupport.RegisterFunctionType <RadicalRoutineHelper, Transform>();
 }
Exemplo n.º 5
0
 static VariablesToSave()
 {
     DelegateSupport.RegisterFunctionType <VariablesToSave, string>();
     DelegateSupport.RegisterFunctionType <VariablesToSave, bool>();
     DelegateSupport.RegisterFunctionType <VariablesToSave, int>();
 }
Exemplo n.º 6
0
 static CreateChildSphere()
 {
     DelegateSupport.RegisterFunctionType <CreateChildSphere, string>();
     DelegateSupport.RegisterFunctionType <CreateChildSphere, bool>();
     DelegateSupport.RegisterFunctionType <CreateChildSphere, Transform>();
 }