Sending Update Transform Through RPC
i have three scripts, i am trying to update the position of sun on client based on where it is in the server, my sun is empty prefab with gametime script which moves its child(foundbyname) but the sun...
View Articleplayer prefs, saving the Rect of a gui position?
ive tried this, saving across server, and i got rpc error Sending RPC failed because 'saveMyCharacterToServer' parameter 44 (UnityEngine.Rect) is not supported. UnityEngine.NetworkView:RPC(String,...
View Articlehow to hit a gui button with raycast
i have an item that when dragged, but then clicked it sends ray and if it hit a collider of a specific tag it does this or that, i want to add gui, if it hit.transform, of gui, to do blahhh not...
View Articlehow to set input mouse position, to a rect of a gui button that also needs to...
var TargetX = inventoryWindow2.x-45;//inventory rectx var TargetY = inventoryWindow2.y-55;//inventory recty GUI.DrawTexture(Rect(TargetX+30,TargetY+30,150,150), inventoryTex, ScaleMode.StretchToFill,...
View ArticleBest solution for knowing when youre falling and for fall damage
This is how i have it scripted, when you leave the ground it ray casts your distance from the ground, and when you land, if you fell from too far it inflicts damage, the problems i am facing and the...
View ArticleSending Update Transform Through RPC
i have three scripts, i am trying to update the position of sun on client based on where it is in the server, my sun is empty prefab with gametime script which moves its child(foundbyname) but the sun...
View Articleplayer prefs, saving the Rect of a gui position?
ive tried this, saving across server, and i got rpc error Sending RPC failed because 'saveMyCharacterToServer' parameter 44 (UnityEngine.Rect) is not supported. UnityEngine.NetworkView:RPC(String,...
View Articlehow to hit a gui button with raycast
i have an item that when dragged, but then clicked it sends ray and if it hit a collider of a specific tag it does this or that, i want to add gui, if it hit.transform, of gui, to do blahhh not...
View Articlehow to set input mouse position, to a rect of a gui button that also needs to...
var TargetX = inventoryWindow2.x-45;//inventory rectx var TargetY = inventoryWindow2.y-55;//inventory recty GUI.DrawTexture(Rect(TargetX+30,TargetY+30,150,150), inventoryTex, ScaleMode.StretchToFill,...
View ArticleBest solution for knowing when youre falling and for fall damage
This is how i have it scripted, when you leave the ground it ray casts your distance from the ground, and when you land, if you fell from too far it inflicts damage, the problems i am facing and the...
View Article
More Pages to Explore .....