Esempio n. 1
0
 void Awake()
 {
     //initial the joystick
     client               = systemController.GetComponent <SystemControl> ().netClient;
     joystick             = GameObject.FindGameObjectWithTag(Tags.joystick).GetComponent <Joystick> ();
     cameraMotionKeyframe = null;
     fps       = Setting.fps;
     moveSpeed = Setting.cameraMotionSpeed;
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     cmdDisplayer = GameObject.FindGameObjectWithTag(Tags.cmdRsver).GetComponent <Text>();
     client       = GameObject.FindGameObjectWithTag(Tags.systemController).GetComponent <SystemControl> ().netClient;
 }