_
This commit is contained in:
parent
c6ac107a3f
commit
e85c02560c
19
Assets/Scripts/JumpHeightChecker.cs
Normal file
19
Assets/Scripts/JumpHeightChecker.cs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class JumpHeightChecker : MonoBehaviour
|
||||||
|
{
|
||||||
|
Vector3 v;
|
||||||
|
List<float> y_positions = new List<float>();
|
||||||
|
List<float> jump_peaks = new List<float>();
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
v = transform.position;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
11
Assets/Scripts/JumpHeightChecker.cs.meta
Normal file
11
Assets/Scripts/JumpHeightChecker.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8550fb0820e86694f853dc58f861c2b3
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -24,10 +24,10 @@ EditorUserSettings:
|
|||||||
value: 22424703114646680e0b0227036c731500121478623d28393930
|
value: 22424703114646680e0b0227036c731500121478623d28393930
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedScenePath-6:
|
RecentlyUsedScenePath-6:
|
||||||
value: 22424703114646680e0b0227036c6b0502180a232d2468252320092a
|
value: 22424703114646680e0b0227036c73150012147e623d28393930
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedScenePath-7:
|
RecentlyUsedScenePath-7:
|
||||||
value: 22424703114646680e0b0227036c73150012147e623d28393930
|
value: 22424703114646680e0b0227036c6b0502180a232d2468252320092a
|
||||||
flags: 0
|
flags: 0
|
||||||
UnityRemoteCompression:
|
UnityRemoteCompression:
|
||||||
value: 337f73
|
value: 337f73
|
||||||
|
Loading…
Reference in New Issue
Block a user