Class AnnotationNode
在场景中控制标注数据的MonoBehaviour。
[DisallowMultipleComponent]
public class AnnotationNode : MonoBehaviour
- 继承
-
AnnotationNode
字段
Info
标注信息。
public AnnotationNode.AnnotationNodeInfo Info
方法
Setup(GameObject, BlockController, AnnotationNodeInfo, LocalTransform)
使用一个GameObject来设置AnnotationNode。GameObject会根据输入的transform被放置在BlockController下。
public static AnnotationNode Setup(GameObject go, BlockController block, AnnotationNode.AnnotationNodeInfo info, LocalTransform transform)
参数
goblockinfotransform
Setup(GameObject, BlockRootController, AnnotationNodeInfo, LocalTransform, Location)
使用一个GameObject来设置AnnotationNode。GameObject会根据输入的transform和location被放置在BlockRootController下。Location必须要有值。
public static AnnotationNode Setup(GameObject go, BlockRootController root, AnnotationNode.AnnotationNodeInfo info, LocalTransform transform, Location location)
参数
gorootinfotransformlocation