test commit

This commit is contained in:
niko
2026-10-11 20:26:48 +02:00
parent 4dbd3c0ab3
commit 6fee00e7ff
2187 changed files with 760371 additions and 2 deletions
@@ -0,0 +1,22 @@
using UnityEngine;
public class TinkyUnleashingSequence : MonoBehaviour
{
public DummyWinky dummyWinky;
public Animator animator;
bool played = false;
public void Play()
{
if (played) return;
played = true;
animator.Play("Unleash", 0, 0);
}
public void WinkyEvent()
{
dummyWinky.Unleash();
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 83fdad43615f9104a981586edd5010f8
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
public class UnleasherButton : MonoBehaviour
{
public TinkyUnleashingSequence sequence;
private void OnTriggerEnter(Collider other)
{
if (other.CompareTag("Player Hand") || other.gameObject.layer == 3)
sequence.Play();
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: c3609886a5a72634cb583a3e3e05e9db