void Awake() { movementScript = GetComponent <MovementInterface> (); snappingScript = GetComponent <SnapToCollision> (); lookAtScript = GetComponent <LookAtCamera> (); runningScript = GetComponent <Input_ModifySpeed> (); spriteAnimationHandlerScript = GetComponent <SpriteAnimationHandler> (); }
public void Start() { Animations = new SpriteAnimationHandler(this); Renderer = transform.GetComponent <SpriteRenderer>(); }