|
@@ -169,7 +169,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.mesh_resource",
|
|
name = "data.mesh_resource",
|
|
|
label = "Scene",
|
|
label = "Scene",
|
|
|
resource_type = OBJECT_TYPE_MESH,
|
|
resource_type = OBJECT_TYPE_MESH,
|
|
@@ -187,7 +187,7 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
},
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.material",
|
|
name = "data.material",
|
|
|
resource_type = OBJECT_TYPE_MATERIAL,
|
|
resource_type = OBJECT_TYPE_MATERIAL,
|
|
|
deffault = "core/components/noop",
|
|
deffault = "core/components/noop",
|
|
@@ -224,7 +224,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.sprite_resource",
|
|
name = "data.sprite_resource",
|
|
|
label = "Sprite",
|
|
label = "Sprite",
|
|
|
resource_type = OBJECT_TYPE_SPRITE,
|
|
resource_type = OBJECT_TYPE_SPRITE,
|
|
@@ -232,7 +232,7 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
},
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.material",
|
|
name = "data.material",
|
|
|
resource_type = OBJECT_TYPE_MATERIAL,
|
|
resource_type = OBJECT_TYPE_MATERIAL,
|
|
|
deffault = "core/components/noop",
|
|
deffault = "core/components/noop",
|
|
@@ -415,7 +415,7 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
},
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.scene",
|
|
name = "data.scene",
|
|
|
resource_type = OBJECT_TYPE_MESH,
|
|
resource_type = OBJECT_TYPE_MESH,
|
|
|
deffault = "core/components/noop",
|
|
deffault = "core/components/noop",
|
|
@@ -489,7 +489,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "_global_physics_config",
|
|
name = "_global_physics_config",
|
|
|
deffault = "global",
|
|
deffault = "global",
|
|
|
resource_type = "physics_config",
|
|
resource_type = "physics_config",
|
|
@@ -580,7 +580,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.script_resource",
|
|
name = "data.script_resource",
|
|
|
label = "Script",
|
|
label = "Script",
|
|
|
resource_type = "lua",
|
|
resource_type = "lua",
|
|
@@ -605,7 +605,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.state_machine_resource",
|
|
name = "data.state_machine_resource",
|
|
|
label = "State Machine",
|
|
label = "State Machine",
|
|
|
resource_type = OBJECT_TYPE_STATE_MACHINE,
|
|
resource_type = OBJECT_TYPE_STATE_MACHINE,
|
|
@@ -640,7 +640,7 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
},
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "name",
|
|
name = "name",
|
|
|
resource_type = OBJECT_TYPE_SOUND,
|
|
resource_type = OBJECT_TYPE_SOUND,
|
|
|
deffault = ""
|
|
deffault = ""
|
|
@@ -743,7 +743,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "_global_physics_config",
|
|
name = "_global_physics_config",
|
|
|
deffault = "global",
|
|
deffault = "global",
|
|
|
resource_type = "physics_config",
|
|
resource_type = "physics_config",
|
|
@@ -802,7 +802,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "data.skydome_map",
|
|
name = "data.skydome_map",
|
|
|
label = "Skydome Map",
|
|
label = "Skydome Map",
|
|
|
resource_type = OBJECT_TYPE_TEXTURE,
|
|
resource_type = OBJECT_TYPE_TEXTURE,
|
|
@@ -919,7 +919,7 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
},
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "prefab",
|
|
name = "prefab",
|
|
|
resource_type = OBJECT_TYPE_UNIT,
|
|
resource_type = OBJECT_TYPE_UNIT,
|
|
|
deffault = null,
|
|
deffault = null,
|
|
@@ -963,7 +963,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "name",
|
|
name = "name",
|
|
|
resource_type = OBJECT_TYPE_MESH_ANIMATION,
|
|
resource_type = OBJECT_TYPE_MESH_ANIMATION,
|
|
|
},
|
|
},
|
|
@@ -991,7 +991,7 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
},
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.GUID,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_REFERENCE,
|
|
|
object_type = StringId64(OBJECT_TYPE_STATE_MACHINE_NODE),
|
|
object_type = StringId64(OBJECT_TYPE_STATE_MACHINE_NODE),
|
|
|
name = "to",
|
|
name = "to",
|
|
|
},
|
|
},
|
|
@@ -1050,7 +1050,7 @@ public static void create_object_types(Database database)
|
|
|
{
|
|
{
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.GUID,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_REFERENCE,
|
|
|
object_type = StringId64(OBJECT_TYPE_STATE_MACHINE_NODE),
|
|
object_type = StringId64(OBJECT_TYPE_STATE_MACHINE_NODE),
|
|
|
name = "initial_state",
|
|
name = "initial_state",
|
|
|
},
|
|
},
|
|
@@ -1115,7 +1115,7 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
},
|
|
|
PropertyDefinition()
|
|
PropertyDefinition()
|
|
|
{
|
|
{
|
|
|
- type = PropertyType.OBJECT_REFERENCE,
|
|
|
|
|
|
|
+ type = PropertyType.OBJECT_NAME,
|
|
|
name = "skydome_unit",
|
|
name = "skydome_unit",
|
|
|
resource_type = OBJECT_TYPE_UNIT,
|
|
resource_type = OBJECT_TYPE_UNIT,
|
|
|
deffault = "core/units/skydome/skydome",
|
|
deffault = "core/units/skydome/skydome",
|