InteractController - HoldColor/HoldColor GitHub Wiki
InteractController
该类为 游戏对象:互动范围 的预设体预设类。应挂载至 [prefab]Interact/
。
Properties
- private
linerenderer
- 线渲染器对象
- public
InteractArea
- 绘制对象
- public
InteractCollider
- 触发器对象
- private
ColliderComponent
- 触发器组件对象
- private
_interactRadius
- 互动范围 半径
- private
_interactAreaCount
- 互动范围 绘制精度
- private
_interactAreaWidth
- 互动范围 线段宽度
- private
_interactAreaColor
- 互动范围 线段颜色
- public
InteractRadius
_interactRadius
属性接口
- public
InteractAreaWidth
_interactAreaWidth
属性接口
- public
InteractAreaColor
_interactAreaColor
属性接口
Methods
**private** void Draw(int Count, float Radius)
- 绘制函数