Exemplo n.º 1
0
 void Awake()
 {
     physic             = GetComponent <SlugPhysics>();
     knife              = GetComponent <AreaOfEffectProjectile>();
     bottomBodyAnimator = bottomBody.GetComponent <Animator>();
     col       = GetComponent <Collider2D>();
     timeUtils = GetComponent <TimeUtils>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     ZRotationStepInitial = new Vector3(0, 0, -350 * Time.deltaTime);
     explosionWave        = GetComponent <AreaOfEffectProjectile>();
 }