mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-04-25 16:15:39 -05:00
Edited rough graybox plains
-finished top path -finished middle path -nearly finsihed bottom
This commit is contained in:
parent
a47550e85b
commit
c017a00ddb
File diff suppressed because it is too large
Load Diff
|
|
@ -104,7 +104,7 @@ public class PlayerMovement : NetworkBehaviour
|
|||
|
||||
// Don't do movement unless this is the local player controlling it
|
||||
// Otherwise we let the server handle moving us
|
||||
if (!IsLocalPlayer) { return; }
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
|
||||
// Don't lock the cursor multiple times if this isn't the local player
|
||||
// Also don't want to lock the cursor for the king
|
||||
|
|
@ -117,7 +117,7 @@ public class PlayerMovement : NetworkBehaviour
|
|||
{
|
||||
// Don't do movement unless this is the local player controlling it
|
||||
// Otherwise we let the server handle moving us
|
||||
if (!IsLocalPlayer) { return; }
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
|
||||
|
||||
//Controls for camera
|
||||
|
|
|
|||
19
Assets/Scripts/Spin.cs
Normal file
19
Assets/Scripts/Spin.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Spin : MonoBehaviour
|
||||
{
|
||||
Vector3 rotation = new Vector3(0.0f, .75f, 0.0f);
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
this.gameObject.transform.Rotate(rotation);
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Spin.cs.meta
Normal file
11
Assets/Scripts/Spin.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7e25e3b2bf6b56b478a191032b15cf8d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Reference in New Issue
Block a user