// 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; }
void Awake() { instace = this; CenterPoint = viewObj.transform.position; }