示例#1
0
	// Use this for initialization
	void Start () {
        cameraMoveControl = new CameraMoveControl();

        actorMoveControl = new ActorMoveControl();
        actorMoveControl.Init();

        gunShakeControl = new GunShakeControl();
        gunShakeControl.Init();

        aimHeadUIControl = new AimHeadUIControl();
        aimHeadUIControl.Init();

        Global.Instance.BackGrondAudio.GetComponent<AudioSource>().volume = 0.5f;
	}
示例#2
0
 void Awake()
 {
     instace     = this;
     CenterPoint = viewObj.transform.position;
 }