mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Using the "event" keyword DOESN'T require the use of EventArgs derived classes as part of the method signature. Events provide a (standard) layer of safety by preventing the nulling or complete reassignment. It restricts external class interaction with the event to subscription with the += operator and unsubscription with the -= operator. This prevents unrelated objects from accidentally unsubscribing other objects from the event. The null check is still required though. For people who followed the examples, worked with the original events and only used += to subscribe to events, this change shouldn't affect client code at all.
spine-csharp
The spine-csharp runtime provides functionality to load and manipulate Spine skeletal animation data using C# (C Sharp). It does not perform rendering but can be extended to enable Spine animations for other C#-based projects.
Setup
- Download the Spine Runtimes source using git or by downloading it as a zip.
- Open the
spine-csharp.slnVisual C# 2010 Express project file.
Alternatively, the contents of the spine-csharp/src directory can be copied into your project.