Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 void Awake()
 {
     self  = this;
     selfT = transform;
     selfC = GetComponent <Camera> ();
 }