Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     firstTime      = true;
     animeControler = GetComponent <AdvancedSpriteSheetAnimation>();
     animeControler.Activate("GBThrow");
     whichAnimationIsRunning = AnimationMode.Shoot;
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     rd          = GetComponent <Rigidbody2D>();
     rd.velocity = new Vector2(-1, 0);
     assa        = GetComponent <AdvancedSpriteSheetAnimation>();
     assa.Activate("existing");
 }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     rd                      = GetComponent <Rigidbody2D>();
     animeControler          = GetComponent <AdvancedSpriteSheetAnimation>();
     whichAnimationIsRunning = AnimationMode.Stand;
     sr                      = GetComponent <SpriteRenderer>();
 }
Пример #4
0
 // Start is called before the first frame update
 void Start()
 {
     assa = GetComponent <AdvancedSpriteSheetAnimation>();
 }
Пример #5
0
 // Start is called before the first frame update
 void Start()
 {
     rd             = GetComponent <Rigidbody2D>();
     animeControler = GetComponent <AdvancedSpriteSheetAnimation>();
 }