基于unity+animer的抽卡池池化机制
发布时间
阅读量:
阅读量

将主摄像机的Rotation参数中X轴设定为90度,使其镜头方向与Panel完全对准

using UnityEngine;
using UnityEngine.AI;
public class Test_Card : MonoBehaviour {
public Camera cam;//主摄像机
public int hitDistance = 1000;
/// <summary>
/// 抽奖卡牌 实体
/// </summary>
public Transform card1;
/// <summary>
/// 抽奖卡牌 实体
全部评论 (0)
还没有任何评论哟~
