1234567891011121314151617181920212223242526272829 |
- 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;
- public Color edgecolor;
- public float edgeStength;
- public float injuriedStrength;
- private void OnEnable()
- {
- HeroGPURenderManager.Instance.AddHeroGpuRender(this);
- }
- private void OnDisable()
- {
- HeroGPURenderManager.Instance.RemoveHeroGpuRender(this);
- }
- }
- }
|