Example #1
0
 public override void Setup()
 {
     sphereGO       = GameObjectFactory.CreateMeshGO("sphere", UnityUtil.GetSphereMesh(), false);
     sphereMaterial = MaterialF();
     sphereGO.SetMaterial(sphereMaterial);
     sphereMaterial.color = ColorF();
     MaterialUtil.DisableShadows(sphereGO);
 }
Example #2
0
 public override void Setup()
 {
     sphereGO = GameObjectFactory.CreateMeshGO("brush_roi_sphere");
     sphereGO.SetMesh(UnityUtil.GetSphereMesh());
     sphereGO.SetLayer(FPlatform.WidgetOverlayLayer);
 }