Exemplo n.º 1
0
 /// 初始化渲染器
 private void InitializeRenderers()
 {
     _renderers     = new Renderer[20];
     _rendererCount = 0;
     UIUtility.GetComponentsInChildren <Renderer>(this.gameObject, _renderers, ref _rendererCount);
 }