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