wiki.sine.space | sinespace

Difference between revisions of "Scripting/SAttachmentHelper"

From wiki.sine.space
Jump to: navigation, search
(Blanked the page)
 
Line 1: Line 1:
=Properties=
 
{{ScriptFunction|bool|Enabled|[get, set]|Returns true if the Attachment Helper Enabled.|5= Space.Host.ExecutingObject.AttachmentHelper.Enabled = false|6=<pre>--clicking this object will Enable/Disable it's Attachment Helper component
 
thisGameObject = Space.Host.ExecutingObject
 
attachmenthelper = thisGameObject.AttachmentHelper
 
  
 
OnClick = function()
 
attachmenthelper.Enabled =  not attachmenthelper.Enabled
 
end
 
 
 
thisGameObject.AddClickable()
 
thisGameObject.Clickable.OnClick(OnClick)</pre>)
 
}}
 
 
{{Scripting Navbox}}
 

Latest revision as of 05:05, 19 September 2022