using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Runtime.InteropServices; //添加如下命名空间 需要是用 DllImport
//引用内存映射文件命名空间
using System.IO.MemoryMappedFiles;
using System.Security.Principal;
using UnityEngine.Networking;
using UnityEngine.UI;
using Spine.Unity;
using Spine;
public class NewBehaviourScript : MonoBehaviour
{
public SpriteRenderer visorSprite;
SkeletonAnimation skeletonAnimation;
Material sourceMaterial;
SkeletonAnimation playerAnim;
GameObject m_obj2;
SkeletonDataAsset playerData;
GameObject player;
//Skin customSkin;
//Skeleton skeleton;
// Start is called before the first frame update
void Start()
{
//SkeletonDataAsset skeletonDa