Talk:Service:PlayerGui: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer No edit summary |
>GoldenUrg service defined |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
:Container service, I thought? ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 06:05, 29 May 2010 (UTC) | :Container service, I thought? ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 06:05, 29 May 2010 (UTC) | ||
:I'm pretty sure it is a service. There <u>should</u> be one per player. --<span style="color:#550909; border-color:#880909; border-size:1px; background-color:#dddddd;">Blocco</span>|<sup>[[:User:Blocco|Userpage]]-[[:User talk:Blocco|Talkpage]]</sup> 13:06, 29 May 2010 (UTC) | |||
::Let's define: Services are objects returned by Game:GetService(). Objects are things created with Instance.new(). We could make up a new category for things which cannot be accessed by either. But in this case | |||
<pre> | |||
print( Game:GetService("PlayerGui") ) --> nil | |||
print( Instance.new("PlayerGui") ) --> PlayerGui | |||
</pre> | |||
::so it's clearly an object. --[[User:GoldenUrg|GoldenUrg]] 04:00, 30 May 2010 (UTC) |
Latest revision as of 04:00, 30 May 2010
This is an object. --GoldenUrg 03:03, 29 May 2010 (UTC)
- Container service, I thought? ---Mr Doom Bringer 06:05, 29 May 2010 (UTC)
- I'm pretty sure it is a service. There should be one per player. --Blocco|Userpage-Talkpage 13:06, 29 May 2010 (UTC)
- Let's define: Services are objects returned by Game:GetService(). Objects are things created with Instance.new(). We could make up a new category for things which cannot be accessed by either. But in this case
print( Game:GetService("PlayerGui") ) --> nil print( Instance.new("PlayerGui") ) --> PlayerGui
- so it's clearly an object. --GoldenUrg 04:00, 30 May 2010 (UTC)