Пример #1
0
    protected virtual void GetComponentsSetup()
    {
        animator       = GetComponentInChildren <Animator>();
        animatorHelper = GetComponentInChildren <AnimatorHelper>();

        soundManager = GetComponentInChildren <ObjectSoundManager>();
    }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     osm = GetComponent <ObjectSoundManager>();
     startingPosition = childTransform.localPosition;
     targetPosition   = targetPointTransform.localPosition;
     nextPosition     = startingPosition;
 }
Пример #3
0
 private void Start()
 {
     osm = GetComponent <ObjectSoundManager>();
 }
Пример #4
0
 private void Start()
 {
     soundManager = GetComponentInChildren <ObjectSoundManager>();
 }