Insanely huge initial commit

This commit is contained in:
2026-02-21 16:40:15 -08:00
parent 2ba1c94b88
commit ee9aee0a1b
33825 changed files with 5213498 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using System.Collections;
using System.Collections.Generic;
using MoreMountains.Feedbacks;
using UnityEngine;
namespace MoreMountains.Feel
{
public class FeelCardsUIStackButton : MonoBehaviour
{
/// the MMFeedback to play when pressing the stack button
public MMFeedbacks StackFeedback;
/// a list of feedbacks that should prevent the button from working if any of them is still playing
public List<MMFeedbacks> BlockerFeedbacks;
public virtual void Stack()
{
bool blocked = false;
foreach (MMFeedbacks feedbacks in BlockerFeedbacks)
{
if (feedbacks.IsPlaying)
{
blocked = true;
}
}
if (blocked)
{
return;
}
StackFeedback?.PlayFeedbacks();
this.gameObject.SetActive(false);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c17806bb2fe50e149aa8b52db844e7ce
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: