summaryrefslogtreecommitdiff
path: root/Samples/Hello/entities/player.gameobject.asset
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/player.gameobject.asset
parent199b08ae8866cf7d876a4de587ff5d18ff191ff0 (diff)
*修改asset格式,可读性
Diffstat (limited to 'Samples/Hello/entities/player.gameobject.asset')
-rw-r--r--Samples/Hello/entities/player.gameobject.asset26
1 files changed, 14 insertions, 12 deletions
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