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
using UnityEngine; | |
using System.Collections; | |
namespace StandardAssets{ | |
/// <summary> | |
/// Adds a border to the top or the side. | |
/// Add this one to the child camera! | |
/// </summary> | |
[ExecuteInEditMode] |
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
using UnityEngine; | |
using System.Collections; | |
namespace StandardAssets { | |
/// <summary> | |
/// Set the view rect of the Camera to the given Aspect Ratio | |
/// </summary> | |
[ExecuteInEditMode] | |
public class CameraSize : MonoBehaviour { |