Skip to content

Instantly share code, notes, and snippets.

@luttje
luttje / CastableSkill.cs
Last active May 5, 2025 17:08
A copy of the SyncDictionary in Mirror Networking (Unity), except this will update a synced instance when an INotifyPropertyChanged event is raised
using Mirror;
using System;
using System.ComponentModel;
using UnityEngine;
public class CastableSkill : INotifyPropertyChanged
{
public SkillData skillData;
public double nextCastTime;
public uint currentPoints;