123456789101112131415161718192021222324252627 |
- using System;
- using Unity.Mathematics;
- using UnityEngine;
- namespace GameLogic.Combat.Hero.HeroGPU
- {
- public class HeroGPUMono : MonoBehaviour
- {
-
- // public string monoName;
- public Material Material;
- public Mesh Mesh;
- public Transform rootTrans;
- public float4x4 animtionState= float4x4.identity;
-
- private void OnEnable()
- {
- HeroGPURenderManager.Instance.AddHeroGpuRender(this);
- }
- private void OnDisable()
- {
- HeroGPURenderManager.Instance.RemoveHeroGpuRender(this);
- }
- }
- }
|