TargetController Class¶
Description¶
在场景中控制 Target 的 MonoBehaviour ,在Unity环境下提供功能扩展。
Enums¶
public enum TargetController.ActiveControlStrategy |
GameObject .active的控制策略。 |
MonoBehaviour Messages¶
protected virtual void Start() |
Fields¶
ActiveControl¶
- C#
public TargetController.ActiveControlStrategy ActiveControl
GameObject .active的控制策略。如果你打算自己控制 GameObject .active或是有其它组件在控制 GameObject .active,需要设为 TargetController.ActiveControlStrategy.None 。