void Awake() { mCam = target as ISRTSCamera2D; 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 Awake() { self = this; selfT = transform; selfC = GetComponent <Camera> (); }