示例#1
0
        protected override void Awake()
        {
            base.Awake();

            _animator     = InstanseObject.GetComponent <Animator>();
            _playingSound = InstanseObject.GetComponent <PlayingSound>();
        }
示例#2
0
        protected override void Awake()
        {
            base.Awake();

            _playingSound  = GetComponent <PlayingSound>();
            _cameraShaking = Camera.main.GetComponent <CameraShaking>();
        }
 protected override void Awake()
 {
     base.Awake();
     _splashingSound = _spray.gameObject.GetComponent <PlayingSound>();
 }
 private void Awake()
 {
     _playingSound = GetComponent <PlayingSound>();
 }