기술 자료

Unity Engine

Unity Engine

animateOnlyIfVisible

When turned on, Unity might stop animating if it thinks that the results of the animation won't be visible to the user.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
경고
Deprecated. Use cullingType instead
public bool animateOnlyIfVisible { get; set; }

Remarks

This could save you some performance if you have things animating outside of the viewport, whose animation is only important when the user can actually see the thing that is being animated.