-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassu_lua_1_1_exposed_mono_behaviour.html
274 lines (262 loc) · 30.5 KB
/
classu_lua_1_1_exposed_mono_behaviour.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>uLua: uLua.ExposedMonoBehaviour Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="uLua2-160x160-Light.png"/></td>
<td id="projectalign">
<div id="projectname">uLua<span id="projectnumber"> v2.2.0</span>
</div>
<div id="projectbrief">A Lua Modding Framework for Unity.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classu_lua_1_1_exposed_mono_behaviour.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classu_lua_1_1_exposed_mono_behaviour-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">uLua.ExposedMonoBehaviour Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>MonoBehaviour script exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. You should use this class as a base for your <a class="el" href="classu_lua_1_1_a_p_i.html" title="This script sets up the API framework to your Unity scene.">API</a> game objects.
<a href="classu_lua_1_1_exposed_mono_behaviour.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6b11afe66f5bbc05a95292c2d7a28d86"><td class="memItemLeft" align="right" valign="top"><a id="a6b11afe66f5bbc05a95292c2d7a28d86" name="a6b11afe66f5bbc05a95292c2d7a28d86"></a>
<a class="el" href="namespaceu_lua.html#adb212deb696a0839cdd04ea9eec4d5f4">ExposeOn</a> </td><td class="memItemRight" valign="bottom"><b>ExposeOn</b> = ExposeOn.Start</td></tr>
<tr class="memdesc:a6b11afe66f5bbc05a95292c2d7a28d86"><td class="mdescLeft"> </td><td class="mdescRight">Indicates when this object will be exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>.<br /></td></tr>
<tr class="separator:a6b11afe66f5bbc05a95292c2d7a28d86"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0d465619d2637165bb8f2b46c5655150"><td class="memItemLeft" align="right" valign="top"><a id="a0d465619d2637165bb8f2b46c5655150" name="a0d465619d2637165bb8f2b46c5655150"></a>
bool </td><td class="memItemRight" valign="bottom"><b>EnableObjectScript</b> = false</td></tr>
<tr class="memdesc:a0d465619d2637165bb8f2b46c5655150"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether to execute a resource script for this object after it is exposed.<br /></td></tr>
<tr class="separator:a0d465619d2637165bb8f2b46c5655150"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a76769e4253ab5bef443dafbb71eee99b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_exposed_mono_behaviour.html#a76769e4253ab5bef443dafbb71eee99b">Awake</a> ()</td></tr>
<tr class="memdesc:a76769e4253ab5bef443dafbb71eee99b"><td class="mdescLeft"> </td><td class="mdescRight">Exposes the game object to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> if ExposeOn is set to 'Awake'. <a href="classu_lua_1_1_exposed_mono_behaviour.html#a76769e4253ab5bef443dafbb71eee99b">More...</a><br /></td></tr>
<tr class="separator:a76769e4253ab5bef443dafbb71eee99b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81c110fb30bdfb8170934ec49ed8085c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_exposed_mono_behaviour.html#a81c110fb30bdfb8170934ec49ed8085c">OnExpose</a> ()</td></tr>
<tr class="memdesc:a81c110fb30bdfb8170934ec49ed8085c"><td class="mdescLeft"> </td><td class="mdescRight">Scriptable method called when an object is exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. <a href="classu_lua_1_1_exposed_mono_behaviour.html#a81c110fb30bdfb8170934ec49ed8085c">More...</a><br /></td></tr>
<tr class="separator:a81c110fb30bdfb8170934ec49ed8085c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83a0836c5fdc604aa665c92af3e67da3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_exposed_mono_behaviour.html#a83a0836c5fdc604aa665c92af3e67da3">Start</a> ()</td></tr>
<tr class="memdesc:a83a0836c5fdc604aa665c92af3e67da3"><td class="mdescLeft"> </td><td class="mdescRight">Exposes the game object to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> if ExposeOn is set to 'Start'. <a href="classu_lua_1_1_exposed_mono_behaviour.html#a83a0836c5fdc604aa665c92af3e67da3">More...</a><br /></td></tr>
<tr class="separator:a83a0836c5fdc604aa665c92af3e67da3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classu_lua_1_1_lua_mono_behaviour"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classu_lua_1_1_lua_mono_behaviour')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classu_lua_1_1_lua_mono_behaviour.html">uLua.LuaMonoBehaviour</a></td></tr>
<tr class="memitem:a45395ceb9d86fe9b13489a1441af6dac inherit pro_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a45395ceb9d86fe9b13489a1441af6dac">OnDestroy</a> ()</td></tr>
<tr class="memdesc:a45395ceb9d86fe9b13489a1441af6dac inherit pro_methods_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Invokes the OnExit callback and removes the object from <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. <a href="classu_lua_1_1_lua_mono_behaviour.html#a45395ceb9d86fe9b13489a1441af6dac">More...</a><br /></td></tr>
<tr class="separator:a45395ceb9d86fe9b13489a1441af6dac inherit pro_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_methods_classu_lua_1_1_lua_mono_behaviour"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classu_lua_1_1_lua_mono_behaviour')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classu_lua_1_1_lua_mono_behaviour.html">uLua.LuaMonoBehaviour</a></td></tr>
<tr class="memitem:a14c289a707a80490eb155d0deded7c48 inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a14c289a707a80490eb155d0deded7c48">Expose</a> ()</td></tr>
<tr class="memdesc:a14c289a707a80490eb155d0deded7c48 inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Used to raise a flag when an object is exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. <a href="classu_lua_1_1_lua_mono_behaviour.html#a14c289a707a80490eb155d0deded7c48">More...</a><br /></td></tr>
<tr class="separator:a14c289a707a80490eb155d0deded7c48 inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa874da2a777e09784bb9f9446eb160ff inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#aa874da2a777e09784bb9f9446eb160ff">InvokeLua</a> (string FunctionName, params object[] args)</td></tr>
<tr class="memdesc:aa874da2a777e09784bb9f9446eb160ff inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Invokes a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> callback function. <a href="classu_lua_1_1_lua_mono_behaviour.html#aa874da2a777e09784bb9f9446eb160ff">More...</a><br /></td></tr>
<tr class="separator:aa874da2a777e09784bb9f9446eb160ff inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3f028daf9f38d9e13d8fc3aafbe6c628 inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a3f028daf9f38d9e13d8fc3aafbe6c628">Register</a> (string FunctionName, string Code="", string args="")</td></tr>
<tr class="memdesc:a3f028daf9f38d9e13d8fc3aafbe6c628 inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Registers a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> callback function. This method is available in <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. <a href="classu_lua_1_1_lua_mono_behaviour.html#a3f028daf9f38d9e13d8fc3aafbe6c628">More...</a><br /></td></tr>
<tr class="separator:a3f028daf9f38d9e13d8fc3aafbe6c628 inherit pub_methods_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header properties_classu_lua_1_1_lua_mono_behaviour"><td colspan="2" onclick="javascript:toggleInherit('properties_classu_lua_1_1_lua_mono_behaviour')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="classu_lua_1_1_lua_mono_behaviour.html">uLua.LuaMonoBehaviour</a></td></tr>
<tr class="memitem:a6642f068a9c0446b414489f9a8ce1733 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">DynValue </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a6642f068a9c0446b414489f9a8ce1733">this[DynValue Key]</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6642f068a9c0446b414489f9a8ce1733 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> value indexed by the DynValue Key. <a href="classu_lua_1_1_lua_mono_behaviour.html#a6642f068a9c0446b414489f9a8ce1733">More...</a><br /></td></tr>
<tr class="separator:a6642f068a9c0446b414489f9a8ce1733 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a291d159032e91a0f42d41342c99e803a inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">DynValue </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a291d159032e91a0f42d41342c99e803a">this[string Key]</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a291d159032e91a0f42d41342c99e803a inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> value indexed by the string key. <a href="classu_lua_1_1_lua_mono_behaviour.html#a291d159032e91a0f42d41342c99e803a">More...</a><br /></td></tr>
<tr class="separator:a291d159032e91a0f42d41342c99e803a inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6bdf5476d043616df482defa708a31f3 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html">LuaMonoBehaviour</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a6bdf5476d043616df482defa708a31f3">Context</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6bdf5476d043616df482defa708a31f3 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Used to access/set the context of an object. <a href="classu_lua_1_1_lua_mono_behaviour.html#a6bdf5476d043616df482defa708a31f3">More...</a><br /></td></tr>
<tr class="separator:a6bdf5476d043616df482defa708a31f3 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afe9514a1edfb41600b0375f59f047349 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#afe9514a1edfb41600b0375f59f047349">Handle</a><code> [get]</code></td></tr>
<tr class="memdesc:afe9514a1edfb41600b0375f59f047349 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Used to access the unique Handle of a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> object. <a href="classu_lua_1_1_lua_mono_behaviour.html#afe9514a1edfb41600b0375f59f047349">More...</a><br /></td></tr>
<tr class="separator:afe9514a1edfb41600b0375f59f047349 inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d99975f1061889e20d526c44724510d inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a2d99975f1061889e20d526c44724510d">IsExposed</a><code> [get]</code></td></tr>
<tr class="memdesc:a2d99975f1061889e20d526c44724510d inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Used to track if an object has been exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. <a href="classu_lua_1_1_lua_mono_behaviour.html#a2d99975f1061889e20d526c44724510d">More...</a><br /></td></tr>
<tr class="separator:a2d99975f1061889e20d526c44724510d inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0bfb80e2c7d342e14fbbb0e8a4a1239a inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html#a0bfb80e2c7d342e14fbbb0e8a4a1239a">Name</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a0bfb80e2c7d342e14fbbb0e8a4a1239a inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="mdescLeft"> </td><td class="mdescRight">Used to access/set the name of an object. <a href="classu_lua_1_1_lua_mono_behaviour.html#a0bfb80e2c7d342e14fbbb0e8a4a1239a">More...</a><br /></td></tr>
<tr class="separator:a0bfb80e2c7d342e14fbbb0e8a4a1239a inherit properties_classu_lua_1_1_lua_mono_behaviour"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header properties_interfaceu_lua_1_1_i_lua_object"><td colspan="2" onclick="javascript:toggleInherit('properties_interfaceu_lua_1_1_i_lua_object')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="interfaceu_lua_1_1_i_lua_object.html">uLua.ILuaObject</a></td></tr>
<tr class="memitem:ac0c5c30cdb923639aed02486408c1161 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memItemLeft" align="right" valign="top">DynValue </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceu_lua_1_1_i_lua_object.html#ac0c5c30cdb923639aed02486408c1161">this[DynValue Key]</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ac0c5c30cdb923639aed02486408c1161 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> value indexed by the DynValue Key. <a href="interfaceu_lua_1_1_i_lua_object.html#ac0c5c30cdb923639aed02486408c1161">More...</a><br /></td></tr>
<tr class="separator:ac0c5c30cdb923639aed02486408c1161 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46c4a4b996ffcf9f5ffff9cf51cce106 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memItemLeft" align="right" valign="top">DynValue </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceu_lua_1_1_i_lua_object.html#a46c4a4b996ffcf9f5ffff9cf51cce106">this[string Key]</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a46c4a4b996ffcf9f5ffff9cf51cce106 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> value indexed by the string key. <a href="interfaceu_lua_1_1_i_lua_object.html#a46c4a4b996ffcf9f5ffff9cf51cce106">More...</a><br /></td></tr>
<tr class="separator:a46c4a4b996ffcf9f5ffff9cf51cce106 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a349d3496c30ed5d84cd78b6372b00c4e inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classu_lua_1_1_lua_mono_behaviour.html">LuaMonoBehaviour</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceu_lua_1_1_i_lua_object.html#a349d3496c30ed5d84cd78b6372b00c4e">Context</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a349d3496c30ed5d84cd78b6372b00c4e inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="mdescLeft"> </td><td class="mdescRight">Used to access/set the context of an object. <a href="interfaceu_lua_1_1_i_lua_object.html#a349d3496c30ed5d84cd78b6372b00c4e">More...</a><br /></td></tr>
<tr class="separator:a349d3496c30ed5d84cd78b6372b00c4e inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e5249ea5f331fa06390530a9c9bef7c inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceu_lua_1_1_i_lua_object.html#a1e5249ea5f331fa06390530a9c9bef7c">Handle</a><code> [get]</code></td></tr>
<tr class="memdesc:a1e5249ea5f331fa06390530a9c9bef7c inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="mdescLeft"> </td><td class="mdescRight">Used to access the unique Handle of a <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> object. <a href="interfaceu_lua_1_1_i_lua_object.html#a1e5249ea5f331fa06390530a9c9bef7c">More...</a><br /></td></tr>
<tr class="separator:a1e5249ea5f331fa06390530a9c9bef7c inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a9734aa0093d761e2dca67d18347167 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceu_lua_1_1_i_lua_object.html#a0a9734aa0093d761e2dca67d18347167">IsExposed</a><code> [get]</code></td></tr>
<tr class="memdesc:a0a9734aa0093d761e2dca67d18347167 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="mdescLeft"> </td><td class="mdescRight">Used to track if an object has been exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. <a href="interfaceu_lua_1_1_i_lua_object.html#a0a9734aa0093d761e2dca67d18347167">More...</a><br /></td></tr>
<tr class="separator:a0a9734aa0093d761e2dca67d18347167 inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b7d3bed0c2ffa340c12908939eec6ce inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceu_lua_1_1_i_lua_object.html#a6b7d3bed0c2ffa340c12908939eec6ce">Name</a><code> [get]</code></td></tr>
<tr class="memdesc:a6b7d3bed0c2ffa340c12908939eec6ce inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="mdescLeft"> </td><td class="mdescRight">Used to access the name of an object. <a href="interfaceu_lua_1_1_i_lua_object.html#a6b7d3bed0c2ffa340c12908939eec6ce">More...</a><br /></td></tr>
<tr class="separator:a6b7d3bed0c2ffa340c12908939eec6ce inherit properties_interfaceu_lua_1_1_i_lua_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >MonoBehaviour script exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. You should use this class as a base for your <a class="el" href="classu_lua_1_1_a_p_i.html" title="This script sets up the API framework to your Unity scene.">API</a> game objects.</p>
<p >Instances of this class are automatically exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. All public members of derived classes will also be exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>. Inherits <a class="el" href="classu_lua_1_1_lua_mono_behaviour.html" title="MonoBehaviour script which establishes a Lua object framework. For internal use.">LuaMonoBehaviour</a>. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a76769e4253ab5bef443dafbb71eee99b" name="a76769e4253ab5bef443dafbb71eee99b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76769e4253ab5bef443dafbb71eee99b">◆ </a></span>Awake()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void uLua.ExposedMonoBehaviour.Awake </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Exposes the game object to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> if ExposeOn is set to 'Awake'.</p>
<p >The Context object must be set prior to this method being called. Objects will not be exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> if <code>ExposeOn</code> is set to None. If the object is exposed here, this method will also invoke an OnLoad callback and execute a resource script for the object if <code>EnableObjectScript</code> is set to true. This method is called by Unity Engine during game object initialisation. </p>
</div>
</div>
<a id="a81c110fb30bdfb8170934ec49ed8085c" name="a81c110fb30bdfb8170934ec49ed8085c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81c110fb30bdfb8170934ec49ed8085c">◆ </a></span>OnExpose()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void uLua.ExposedMonoBehaviour.OnExpose </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Scriptable method called when an object is exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a>.</p>
<p >Executes the object <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> script and invokes <code>OnLoad</code> by default. </p>
</div>
</div>
<a id="a83a0836c5fdc604aa665c92af3e67da3" name="a83a0836c5fdc604aa665c92af3e67da3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83a0836c5fdc604aa665c92af3e67da3">◆ </a></span>Start()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void uLua.ExposedMonoBehaviour.Start </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Exposes the game object to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> if ExposeOn is set to 'Start'.</p>
<p >The Context object must be set prior to this method being called. Objects will not be exposed to <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> if <code>ExposeOn</code> is set to None. If the object is exposed here, this method will also invoke an OnLoad callback and execute a resource script for the object if <code>EnableObjectScript</code> is set to true. Resource scripts are only executed for objects which are globals in <a class="el" href="classu_lua_1_1_lua.html" title="Wrapper class which streamlines use of the MoonSharp Lua context.">Lua</a> (i.e. Context is set to null). This method is called by Unity Engine during game object initialisation. </p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceu_lua.html">uLua</a></li><li class="navelem"><a class="el" href="classu_lua_1_1_exposed_mono_behaviour.html">ExposedMonoBehaviour</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
</ul>
</div>
</body>
</html>