浏览代码

Add RequireComponent attribute for required components on the

FadePlaneOnBoundaryChange component.
/1.5-preview
Tim Mowrer 6 年前
当前提交
7413540f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      Assets/Scripts/UX/FadePlaneOnBoundaryChange.cs

2
Assets/Scripts/UX/FadePlaneOnBoundaryChange.cs


using UnityEngine;
using UnityEngine.XR.ARFoundation;
[RequireComponent(typeof(ARPlane))]
[RequireComponent(typeof(Animator))]
public class FadePlaneOnBoundaryChange : MonoBehaviour
{
const string k_FadeOffAnim = "FadeOff";

正在加载...
取消
保存