mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-04-25 16:15:39 -05:00
fixed hail
This commit is contained in:
parent
52092d9849
commit
10de2ebe01
|
|
@ -43,6 +43,10 @@ public class Hail : NetworkBehaviour
|
|||
|
||||
[ServerRpc(RequireOwnership = false)]
|
||||
private void ScaleShadowServerRPC() {
|
||||
if(ShadTemp == null || hail == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
float y = -m * (hail.transform.position.y - ShadTemp.transform.position.y) + hail.transform.localScale.x;//Find the proper current size
|
||||
ScaleShadowClientRPC(shadowID, y);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,13 +24,13 @@ EditorUserSettings:
|
|||
value: 22424703114646680e0b0227036c7c1f18030a25203b68252320092a
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-6:
|
||||
value: 22424703114646680e0b0227036c7b151b180b6501273035202c1327d1e33136e7a923e7ee2e26
|
||||
value: 22424703114646680e0b0227036c78111b125507233d28242c20137df7ee3d2cfb
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-7:
|
||||
value: 22424703114646680e0b0227036c78111b125507233d28242c20137df7ee3d2cfb
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-8:
|
||||
value: 22424703114646680e0b0227036c78111b125507233d28242c20137df7ee3d2cfb
|
||||
value: 22424703114646680e0b0227036c7b151b180b6501273035202c1327d1e33136e7a923e7ee2e26
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-9:
|
||||
value: 22424703114646680e0b0227036c6f02131b172b282d347e38271427fb
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user