Netcode Bootstrap

This commit is contained in:
Luis Gonzalez
2026-05-31 14:27:52 -07:00
parent 99d8d2d2a9
commit 7fa77ce821
1813 changed files with 2921554 additions and 84 deletions
@@ -0,0 +1,41 @@
#if RUKHANKA_WITH_NETCODE
using Unity.Entities;
using Unity.NetCode;
/////////////////////////////////////////////////////////////////////////////////////////////////////
namespace Rukhanka
{
[GhostComponentVariation(typeof(AnimatorControllerLayerComponent), "Animator Controller Layer")]
[GhostComponent()]
public struct AnimatorControllerLayerVariant
{
[GhostField(SendData = false)]
public BlobAssetReference<ControllerBlob> controller;
[GhostField()]
public int layerIndex;
[GhostField()]
public float weight;
[GhostField()]
public RuntimeAnimatorData rtd;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
[GhostComponentVariation(typeof(AnimatorControllerParameterComponent), "Animator Controller Parameter")]
[GhostComponent()]
public struct AnimatorControllerParameterVariant
{
[GhostField()]
public uint hash;
[GhostField()]
public ControllerParameterType type;
[GhostField()]
public ParameterValue value;
}
}
#endif // RUKHANKA_WITH_NETCODE
@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 5cc3df6923a359e45926a208e4e2fa38
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 298480
packageName: Rukhanka Animation System 2
packageVersion: 2.9.0
assetPath: Packages/com.rukhanka.animation/Rukhanka.Runtime/Netcode/NetcodeGhostComponentVariants.cs
uploadId: 897522