2025-08-22 22:37:04 +08:00
|
|
|
|
using HK;
|
|
|
|
|
using HK.FUJIFILM;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
using ZGame;
|
|
|
|
|
|
|
|
|
|
public class PetIDCard_Fixed : Model_Fixed
|
|
|
|
|
{
|
2025-08-27 01:05:19 +08:00
|
|
|
|
protected override void ProduceDesign_CopyDesignItemAssetEvent(object sender, GameEventArgs e)
|
2025-08-22 22:37:04 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-27 01:05:19 +08:00
|
|
|
|
protected override void MugActualModel_Fixed_GenPhotoEvent(object sender, GameEventArgs e)
|
2025-08-22 22:37:04 +08:00
|
|
|
|
{
|
|
|
|
|
var args = e as MugActualModel_Fixed_GenPhotoEventArgs;
|
|
|
|
|
var loadGameObject = GameObject.Instantiate(args.go, designParent);
|
|
|
|
|
loadGameObject.transform.localPosition = args.go.transform.localPosition;
|
|
|
|
|
var image = loadGameObject.GetComponent<Image>();
|
|
|
|
|
loadGameObject.AddComponent<HK.UpdateTransform>().SetData(args.go.transform);
|
|
|
|
|
loadGameObject.SetActive(true);
|
|
|
|
|
}
|
|
|
|
|
}
|