void Awake() { mCam = target as ISRTSCamera; baseSetting = EditorPrefs.GetBool("ISRCEBS", false); boundSetting = EditorPrefs.GetBool("ISRCEBOS", false); followSetting = EditorPrefs.GetBool("ISRCEFS", false); mouseSetting = EditorPrefs.GetBool("ISRCEMS", false); keyboardSetting = EditorPrefs.GetBool("ISRCEKS", false); touchSetting = EditorPrefs.GetBool("ISRCETS", false); previewing = EditorPrefs.GetBool("ISRCEPING", false); }
void OnMouseUp() { ISRTSCamera.LockFixedPointForMain(point); }
void OnMouseUp() { ISRTSCamera.FollowForMain(transform); }
void Awake() { self = this; selfT = transform; groundMask = 1 << groundLayer; }
void Start() { miniCamera = miniMap.GetComponent <Camera>(); mainCamera = Camera.main.GetComponent <ISRTSCamera> (); }