/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/examples/prism-gml.html
29 строк
606 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
<h2>Comments</h2> <pre><code>// This is a comment /* This is a comment on multiple lines */</code></pre> <h2>Functions</h2> <pre><code>variable_instance_set(_inst,_var_name,_start+_change);</code></pre> <h2>Full example</h2> <pre><code>if(instance_exists(_inst) || _inst==global){ if(_delay<=0){ _time+=1; if(_time<_duration){ event_user(0); }else{ if(_inst!=global){ variable_instance_set(_inst,_var_name,_start+_change); }else{ variable_global_set(_var_name,_start+_change); } instance_destroy(); } }else{ _delay-=1; } }else{ instance_destroy(); } </code></pre>