Skip to content

Instantly share code, notes, and snippets.

View hitarthdoc's full-sized avatar

Hitarth Doctor hitarthdoc

  • Ahmedabad, Gujarat, India
View GitHub Profile
@hitarthdoc
hitarthdoc / Action Types
Last active July 29, 2021 04:41
Action Types for CC Achievements
public enum ActionType
{
Score = 1, // Reach Score
Earned = 2, // Earned Currency C1, C2, etc.
// Also Conditional Where, Level, Achievement, Idle Time(Like Cookies in SB).
// Earn X Gems
// TODO: hitarthdoc
// Problem // Earn X Gems by completing levels
// Problem // Earn X Coins from Achievements
# sleepy flower girl
(◡ ‿ ◡ ✿)
# y u no
ლ(ಠ益ಠლ)
# smiling breasts
(^人^)
# flipping tables
@hitarthdoc
hitarthdoc / MinMaxAttribute.cs
Last active June 11, 2024 11:50 — forked from LotteMakesStuff/MinMaxAttribute.cs
MinMax property drawer for Unity - Add a [MinMax] attribute to a property to draw a useful min/max setting slider.
// NOTE DONT put in an editor folder
using UnityEngine;
public class MinMaxAttribute : PropertyAttribute
{
public float MinLimit = 0;
public float MaxLimit = 1;
public bool ShowEditRange;
public bool ShowDebugValues;