summaryrefslogtreecommitdiff
path: root/Samples/Hello/entities
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-22 18:14:22 +0800
committerchai <chaifix@163.com>2019-01-22 18:14:22 +0800
commit90b11fbb0e4c578bf507370e102d6a5ed30ba31e (patch)
tree4919f9e2f4cc3800c1e0c539860c774a9ae5b95b /Samples/Hello/entities
parent199b08ae8866cf7d876a4de587ff5d18ff191ff0 (diff)
*修改asset格式,可读性
Diffstat (limited to 'Samples/Hello/entities')
-rw-r--r--Samples/Hello/entities/anim.gameobject.asset4
-rw-r--r--Samples/Hello/entities/player.gameobject.asset26
2 files changed, 17 insertions, 13 deletions
diff --git a/Samples/Hello/entities/anim.gameobject.asset b/Samples/Hello/entities/anim.gameobject.asset
index 518579f..484d982 100644
--- a/Samples/Hello/entities/anim.gameobject.asset
+++ b/Samples/Hello/entities/anim.gameobject.asset
@@ -1 +1,3 @@
-type="gameobject", \ No newline at end of file
+{
+ type="gameobject",
+} \ No newline at end of file
diff --git a/Samples/Hello/entities/player.gameobject.asset b/Samples/Hello/entities/player.gameobject.asset
index 03785bc..a0ef6b5 100644
--- a/Samples/Hello/entities/player.gameobject.asset
+++ b/Samples/Hello/entities/player.gameobject.asset
@@ -1,13 +1,15 @@
-type="gameobject",
-components={
- "/scripts/components/fireball.lua",
- "/scripts/components/fly.lua",
- "/scripts/components/move.lua",
-},
-child_gameobjects={
- ["axe keeper"] = {
- components = {
-
- },
+{
+ type="gameobject",
+ components={
+ "/scripts/components/fireball.lua",
+ "/scripts/components/fly.lua",
+ "/scripts/components/move.lua",
+ },
+ child_gameobjects={
+ ["axe keeper"] = {
+ components = {
+
+ },
+ }
}
-}
+} \ No newline at end of file