using UnityEngine;
using System.Collections;
using System.Linq;
namespace WorldStreamer2
{
///
/// Scene split manager, finds streamer and adds scene.
///
public class SceneSplitManager : MonoBehaviour
{
///
/// The name of the scene.
///
public string sceneName;
///
/// The gizmos color.
///
public Color
color;
///
/// The split position.
///
public Vector3 position;
///
/// The size of split.
///
[HideInInspector]
public Vector3 size = new Vector3(10, 10, 10);
///
/// World Streamer Position
///
[HideInInspector]
public Vector3Int wsPosition = new Vector3Int(10, 10, 10);
void OnDrawGizmosSelected()
{
// Display the explosion radius when selected
Gizmos.color = color;
Gizmos.DrawWireCube(position + size * 0.5f, size);
}
}
}