AderKI 897f910d37 Main Changes, List below ...
1) Refactor Project Architecture
2) Add Assets
3) Change Prefabs
4) Change Input Method (now using PlayerInput Component)
5) Add Weapon Prefab & Simple Script with Shooting()
6) Add Menu Scene & two btn functions: QuitGame() & PlayGame()
2024-11-02 02:36:03 +03:00

13 lines
301 B
C#

using UnityEngine;
public class TestGraph : MonoBehaviour
{
[SerializeField] private AnimationCurve _curve;
// Update is called once per frame
void Update()
{
Keyframe keyframe = new Keyframe(Time.time, transform.position.x, 0,0,0,0);
_curve.AddKey(keyframe);
}
}