SHARE
TWEET

Untitled

a guest Jun 26th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- 作者表示
  2. print("> pioTestScript by Pio")
  3. print("> ver 2019-06-14 debug #001")
  4. --- 2019-04-17 #001 新規作成
  5.  
  6. SDEBUG = 1  --- デバッグモード 1以上
  7.  
  8. _VA = vci.assets
  9. _VM = vci.me
  10. _DATE = vci.me.Time
  11. _CLOCK = os.clock
  12. _MSG = vci.message
  13. _VS = vci.state
  14.  
  15. ---[SubItemの所有権]アイテムにCollider(Trigger)が接触したときに呼ばれる。
  16. ---@param item string @SubItem名
  17. ---@param hit string @Collider名
  18. function onTriggerEnter(item, hit)
  19.     if (SDEBUG > 0) then print ("M : TriggerEnter ; "..item.." > "..hit) end
  20. end
  21.  
  22. ---[SubItemの所有権]アイテムにCollider(not Trigger)が接触したときに呼ばれる。
  23. ---@param item string @SubItem名
  24. ---@param hit string @Collider名
  25. function onCollisionEnter(item, hit)
  26.     if (SDEBUG > 0) then print ("M : CollisionEnter ; "..item.." > "..hit) end
  27.     _VA._ALL_PlayAudioFromIndex(1)
  28. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top