Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Assets.Scripts.CoordinateSystems.Colliders
- {
- public class TrajectoryCollider : CoordinateColliderBase
- {
- #region Interface
- public override void Init()
- {
- base.Init();
- var coordinateSystem = gameObject.GetComponentInParent<CoordinateSystem>();
- SizeProperty.Value = 1 / coordinateSystem.BaseCoordinateToUnitK;
- }
- public override bool CheckViewFrustrum(ViewFrustum viewFrustum)
- {
- return true;
- }
- #endregion
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement