-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cullable settings and better defaults
- Loading branch information
Showing
4 changed files
with
82 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using UnityEngine; | ||
|
||
namespace Winch.Data.POI.Dock; | ||
|
||
[Serializable] | ||
public class DockCullable | ||
{ | ||
/// <summary> | ||
/// Culling group type | ||
/// </summary> | ||
[SerializeField] | ||
public CullingGroupType cullingGroupType = CullingGroupType.STATIC_LONG_RANGE; | ||
|
||
/// <summary> | ||
/// Offset of this cullable | ||
/// </summary> | ||
[SerializeField] | ||
public Vector3 center = Vector3.zero; | ||
|
||
/// <summary> | ||
/// Radius of the cullable | ||
/// </summary> | ||
[SerializeField] | ||
public float radius = 5f; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters