Skip to content

Instantly share code, notes, and snippets.

@dykarohora
Created March 20, 2017 07:18
Show Gist options
  • Select an option

  • Save dykarohora/46df124d0cb3d7bb2f234f3afd8f2703 to your computer and use it in GitHub Desktop.

Select an option

Save dykarohora/46df124d0cb3d7bb2f234f3afd8f2703 to your computer and use it in GitHub Desktop.
using UnityEngine;
public class TransformController : MonoBehaviour {
[HideInInspector]
public GameObject target;
#region Position
public static float distanceScale = 2f;
#endregion
#region Rotation
public static float rotationSpeed = 150.0f;
#endregion
#region Scale
public static float scaleMagnification = 20.0f;
public static float scaleLowerLimit = 0.05f;
#endregion
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment