static VariablesToSave() { VariablesToSave._randomNumber = UnityEngine.Random.Range(10, 200); DelegateSupport.RegisterFunctionType <VariablesToSave, string>(); DelegateSupport.RegisterFunctionType <VariablesToSave, bool>(); DelegateSupport.RegisterFunctionType <VariablesToSave, int>(); }
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>(); }
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>(); }
static RadicalRoutineHelper() { DelegateSupport.RegisterFunctionType <RadicalRoutineHelper, string>(); DelegateSupport.RegisterFunctionType <RadicalRoutineHelper, bool>(); DelegateSupport.RegisterFunctionType <RadicalRoutineHelper, Transform>(); }
static VariablesToSave() { DelegateSupport.RegisterFunctionType <VariablesToSave, string>(); DelegateSupport.RegisterFunctionType <VariablesToSave, bool>(); DelegateSupport.RegisterFunctionType <VariablesToSave, int>(); }
static CreateChildSphere() { DelegateSupport.RegisterFunctionType <CreateChildSphere, string>(); DelegateSupport.RegisterFunctionType <CreateChildSphere, bool>(); DelegateSupport.RegisterFunctionType <CreateChildSphere, Transform>(); }