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