Example #1
0
 protected override void Start()
 {
     //**Initialisations
     base.Start();
     AudioManager.instance.PlaySound(AudioParams.SoundPoolGroups.ROBOT01, AudioParams.SoundPools.WALKING, gameObject);
     Robot01JetAnim = EnemyTransform.Find("JetRenderer").gameObject.GetComponent <Animator>();
     ChangeState(new Robot01IdleState());
     enemyMovementInfo.spriteOriginalDirection = -1;
     enemyMovementInfo.FacingDirection         = -1;
 }