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; }
// Use this for initialization void Start() { cmdDisplayer = GameObject.FindGameObjectWithTag(Tags.cmdRsver).GetComponent <Text>(); client = GameObject.FindGameObjectWithTag(Tags.systemController).GetComponent <SystemControl> ().netClient; }