Disabled Saves, moved Folders adn renamed Data files, and added a state machine to the cookie puzzle

This commit is contained in:
2025-11-25 16:02:55 +01:00
parent 57be1a941c
commit c5736f836a
113 changed files with 1414 additions and 25 deletions

View File

@@ -0,0 +1,42 @@
using System;
using System.Diagnostics;
using Pixelplacement;
using Pixelplacement.TweenSystem;
using UnityEngine;
public class WolterStateMachine : MonoBehaviour
{
public Spline jumpSpline;
public Transform wolterGameObject;
public float jumpDuration;
public float jumpDelay;
private Animator animator;
private TweenBase jumpTween;
private void Awake()
{
animator = GetComponentInChildren<Animator>();
}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
jumpTween = Tween.Spline(jumpSpline, wolterGameObject, 1, 0, false, jumpDuration, jumpDelay, Tween.EaseInOut, Tween.LoopType.None, HandleJumpStarted, HandleJumpFinished);
}
void HandleJumpStarted()
{
}
void HandleJumpFinished()
{
if (animator != null)
{
animator.SetBool("Landed", true);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 47b7b0e9f0b06ad45b7e92c25226d21e