From 90e5ee7ee432f558b3c55d79fba1fcb2a8ce502f Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 10 Feb 2021 20:45:46 +0800 Subject: fix issue #38 with a better solution. --- spec/inputs/syntax.mp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'spec/inputs/syntax.mp') diff --git a/spec/inputs/syntax.mp b/spec/inputs/syntax.mp index c8ad96d..f3a0a5c 100644 --- a/spec/inputs/syntax.mp +++ b/spec/inputs/syntax.mp @@ -123,6 +123,21 @@ argon\world().something() argon\somethin"200".world(1,2) +origin + .transform + .root + .gameObject + \Parents! + \Descendants! + \SelectEnable! + \SelectVisible! + \TagEqual "fx" + \Where (x) -> + if x\IsTargeted! + return false + x.name\EndsWith "(Clone)" + \Destroy! + x = -434 x = -hello world one two @@ -163,6 +178,9 @@ something\hello(what) a,b something\hello what something.hello\world a,b something.hello\world(1,2,3) a,b +something + .hello + \world(1,2,3) a,b x = 1232 @@ -295,6 +313,9 @@ a /= func "cool" x.then = "hello" x.while.true = "hello" +x + .while + .true = "hello" -- -- cgit v1.2.3-55-g6feb